Marci wrote:Got a spare SD card?
hi
I think i've made a bit of progress (if you can call different errors progress!)
I started from a fresh install and it now looks like I have forever and homebridge installed
Code: Select all
pi@raspberrypi:~$ sudo find / -name forever
/root/.npm/registry.npmjs.org/forever
/root/.npm/forever
/usr/local/bin/forever
/usr/local/lib/node_modules/forever
/usr/local/lib/node_modules/forever/bin/forever
/usr/local/lib/node_modules/forever/lib/forever
pi@raspberrypi:~$ sudo find / -name homebridge
/root/.npm/homebridge
/home/pi/homebridge
/home/pi/homebridge/bin/homebridge
/usr/local/lib/node_modules/homebridge
/usr/local/lib/node_modules/homebridge/bin/homebridge
/usr/bin/homebridge
/usr/lib/node_modules/homebridge
/usr/lib/node_modules/homebridge/bin/homebridge
pi@raspberrypi:~$
Then type forever start /usr/local/lib/node_modules/homebridge/bin/homebridge
Code: Select all
pi@raspberrypi:~$ forever start /usr/local/lib/node_modules/homebridge/bin/homebridge
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: /usr/local/lib/node_modules/homebridge/bin/homebridge
pi@raspberrypi:~$
Then running tail -f `ls -t ~/.forever/*.log | grep -v '^d' | head -n1`
Code: Select all
pi@raspberrypi:~$ tail -f `ls -t ~/.forever/*.log | grep -v '^d' | head -n1`
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:32:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
error: Forever detected script exited with code: 1
error: Script restart attempt #7
module.js:339
throw err;
^
Error: Cannot find module '../build/Release/dns_sd_bindings'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:32:22)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
error: Forever detected script exited with code: 1
error: Script restart attempt #8
module.js:339
throw err;
^
This is my config.json
Code: Select all
{
"bridge": {
"name": "Homebridge",
"username": "CC:21:3E:E4:DE:33",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for Domoticz platform.",
"platforms": [
{
"platform": "eDomoticz",
"name": "eDomoticz",
"server": "xxxxx:[email protected]",
"port": "8082",
"ssl": 0,
"roomid": 0
}
],
"accessories": [
]
}
I'd be so grateful if someone could let me know how to fix this
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.