Alas I was using an standard RPI, if that install was for an RPI3, hmm will consider running on rpi3 but didn't want to break the default domoticz install as its live

Moderator: leecollings
pi@raspberrypi:~ $ sudo npm install -g homebridge
pi@raspberrypi:~ $ sudo bash
root@raspberrypi:/home/pi# npm install -g forever
Segmentation fault
root@raspberrypi:/home/pi#
Code: Select all
sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}
sudo rm -rf /var/db/receipts/org.nodejs.*
hash -r
sudo su -c 'echo "deb https://deb.nodesource.com/armv6l-node/ weezy main" >> /etc/apt/sources.list'
sudo curl -sL https://deb.nodesource.com/setup_0.12 | bash -
sudo apt-get install nodejs
sudo apt-get install libavahi-compat-libdnssd-dev
sudo npm install -g homebridge
sudo npm install -g forever
sudo npm install -g homebridge-edomoticz
Nah...still same on Jessie even with that source changesudo curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
Code: Select all
var heat = (that.Type=="Heating" && that.subType=="Zone") ? true : false;
var therm = (that.Type=="Thermostat" && that.subType=="SetPoint") ? true : false;
temp = (heat || therm) ? oneDP(s.SetPoint) : oneDP(s.Temp);
Code: Select all
pi@raspberrypi:~/homebridge$ pm2 start app.js --name HomeBridge
[PM2] Spawning PM2 daemon
[PM2] PM2 Successfully daemonized
[PM2][ERROR] script not found : /home/pi/homebridge/app.js
script not found : /home/pi/homebridge/app.js
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴────────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
Yes you can and you are correct, you need an Apple TV 3 or 4. I am currently using ATV4 but have tested it on a 3. Even works when the ATV goes into standby/sleep mode.Artic1980 wrote:hello you can use Homebridge off the net? I read that if you have an Apple TV connected but you can not get it to work
Users browsing this forum: No registered users and 0 guests