Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
Accessory [Homebridge] Creating new IdentifierCache +31ms
EventedHTTPServer Server listening on port 51826 +229ms
[Domoticz] Initializing device with name Achterdeur...
[Domoticz] Loaded services for Achterdeur
/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Accessory.js:159
throw new Error("Cannot add a bridged Accessory with the same UUID as an
^
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 4df14a6b-862e-43a3-9a65-cec791c7d4fd
at Bridge.Accessory.addBridgedAccessory (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Accessory.js:159:13)
at /home/pi/homebridge/app.js:145:26
at Request._callback (/home/pi/homebridge/platforms/Domoticz.js:129:5)
at Request.self.callback (/home/pi/homebridge/node_modules/request/request.js:373:22)
at Request.emit (events.js:110:17)
at Request.<anonymous> (/home/pi/homebridge/node_modules/request/request.js:1318:14)
at Request.emit (events.js:129:20)
at IncomingMessage.<anonymous> (/home/pi/homebridge/node_modules/request/request.js:1266:12)
at IncomingMessage.emit (events.js:129:20)
at _stream_readable.js:908:16
I cannot manage to boot on startup. Tried both ways described. With PM2 i can get it running manually, with the big advantage that i can close the ssh session. But when i reboot my raspberry, it's not auto starting.
When i do de ps x command after reboot, PM2 is not running. Who can help me?
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] Initializing platform accessory 'Golvlampa'...
[Domoticz] Loaded services for Golvlampa
[Domoticz] Initializing platform accessory 'Jordglob'...
[Domoticz] Loaded services for Jordglob
[Domoticz] Initializing platform accessory 'Marantz'...
[Domoticz] Loaded services for Marantz
Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
Accessory [Homebridge] Creating new IdentifierCache +27ms
EventedHTTPServer Server listening on port 51826 +100ms
/home/pi/homebridge/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: unknown
at Error (native)
at new Advertisement (/home/pi/homebridge/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/home/pi/homebridge/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Advertiser.js:43:30)
at Bridge.Accessory._onListening (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Accessory.js:352:20)
at HAPServer.emit (events.js:104:17)
at HAPServer._onListening (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/HAPServer.js:153:8)
at EventedHTTPServer.emit (events.js:104:17)
at EventedHTTPServer.<anonymous> (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/util/eventedhttp.js:62:10)
at Server.emit (events.js:104:17)
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] Initializing platform accessory 'Golvlampa'...
[Domoticz] Loaded services for Golvlampa
[Domoticz] Initializing platform accessory 'Jordglob'...
[Domoticz] Loaded services for Jordglob
[Domoticz] Initializing platform accessory 'Marantz'...
[Domoticz] Loaded services for Marantz
Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
Accessory [Homebridge] Creating new IdentifierCache +27ms
EventedHTTPServer Server listening on port 51826 +100ms
/home/pi/homebridge/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: unknown
at Error (native)
at new Advertisement (/home/pi/homebridge/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/home/pi/homebridge/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Advertiser.js:43:30)
at Bridge.Accessory._onListening (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Accessory.js:352:20)
at HAPServer.emit (events.js:104:17)
at HAPServer._onListening (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/HAPServer.js:153:8)
at EventedHTTPServer.emit (events.js:104:17)
at EventedHTTPServer.<anonymous> (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/util/eventedhttp.js:62:10)
at Server.emit (events.js:104:17)
I got the same problem here. Everything worked fine but now I got this error. I updated Domotica 3013, could that be a problem?
I think deleting settings will solve the problem but I really like to know how this is happened?
shoulder wrote:
I've reinstalled everything and followed the wiki, but got the same error.
Which settings do you mean?
The settings you made with the app on your smartphone (Insteon+, Eve).
On Iphone go to settings-> Privacy and then Insteon+. Here is a button to reset the settings.
shoulder wrote:
I've reinstalled everything and followed the wiki, but got the same error.
Which settings do you mean?
The settings you made with the app on your smartphone (Insteon+, Eve).
On Iphone go to settings-> Privacy and then Insteon+. Here is a button to reset the settings.
Never got it working with domoticz, but previously with z way (razberry). Giving it a second try!
And deleting the settings. Thanks!
shoulder wrote:
I've reinstalled everything and followed the wiki, but got the same error.
Which settings do you mean?
The settings you made with the app on your smartphone (Insteon+, Eve).
On Iphone go to settings-> Privacy and then Insteon+. Here is a button to reset the settings.
Never got it working with domoticz, but previously with z way (razberry). Giving it a second try!
And deleting the settings. Thanks!
No! After clean install of domoticz image and following the wiki exactly. This is what I get:
Starting HomeBridge server...
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] Initializing device with name Golvlampa...
[Domoticz] Loaded services for Golvlampa
Cannot find secret key, creating One...
/home/pi/homebridge/lib/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: unknown
at Error (native)
at new Advertisement (/home/pi/homebridge/lib/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/home/pi/homebridge/lib/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:64:10)
at Object.startAdvertising (/home/pi/homebridge/lib/HAP-NodeJS/Advertiser.js:7:28)
at Object.publishAccessory (/home/pi/homebridge/lib/HAP-NodeJS/Accessory.js:10:29)
at createHAPServer (/home/pi/homebridge/app.js:167:15)
at /home/pi/homebridge/app.js:92:17
at Request._callback (/home/pi/homebridge/platforms/Domoticz.js:91:6)
at Request.self.callback (/home/pi/homebridge/node_modules/request/request.js:373:22)
at Request.emit (events.js:110:17)
npm ERR! Linux 4.1.6-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
npm ERR! node v0.12.1
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node app.js'.
npm ERR! This is most likely a problem with the homebridge package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node app.js
npm ERR! You can get their info via:
npm ERR! npm owner ls homebridge
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/homebridge/npm-debug.log
does anyone have installed this on a Synology? Homebridge is installed, but Nodejs is not working. (yes, on version 0.10 but we need 0.12) When we want to install 0.12 you need g++ but I can only find an old version (4.3 and you need 4.8 or higher) in ipkg.
does anyone have installed this on a Synology? Homebridge is installed, but Nodejs is not working. (yes, on version 0.10 but we need 0.12) When we want to install 0.12 you need g++ but I can only find an old version (4.3 and you need 4.8 or higher) in ipkg.
Does anyone have a nice solution?
Thanks
I did try it but couldn't get it working. It was some while ago so don't know anymore what didn't work.
However Nodejs 0.12 is part of the Synology packages. You could try that. Please share your results.
does anyone have installed this on a Synology? Homebridge is installed, but Nodejs is not working. (yes, on version 0.10 but we need 0.12) When we want to install 0.12 you need g++ but I can only find an old version (4.3 and you need 4.8 or higher) in ipkg.
Does anyone have a nice solution?
Thanks
I did try it but couldn't get it working. It was some while ago so don't know anymore what didn't work.
However Nodejs 0.12 is part of the Synology packages. You could try that. Please share your results.
It should be possible to somehow use the mdns libs on synology. I also gave up on Syno for now. But I also cannot get it to work on my RPi B+. First I can't get node 0.12.x installed (4.0.0 works) and second installing homebridge still give me the middle finger as well... Still trying to compile for the zillionth time as I write this.....
> [email protected] start /home/pi/homebridge
> DEBUG=* node app.js || true
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Starting HomeBridge server...
_____________________________________________________________________
IMPORTANT: Homebridge is in the middle of some big changes.
Read more about it here:
https://github.com/nfarina/homebridge/wiki/Migration-Guide
_____________________________________________________________________
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] There was a problem connecting to Domoticz.
[Domoticz] There was a problem connecting to Domoticz.
pi@raspberrypi ~/homebridge $
This is odd. I have been able to connect to Homebridge with Eve. Everything works ok. But when I try to connect a second iPhone to Homebridge via Eve it does nothing. Any help?
Edit: I solved this by removing EVE and installing Insteon+. By adding 'Guest user' in Insteon+ I now can use my iPhone and iPad to control via Siri. Wife is happy
Last edited by Heisenberg on Friday 18 September 2015 15:56, edited 3 times in total.
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
> [email protected] start /home/pi/homebridge
> DEBUG=* node app.js || true
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Starting HomeBridge server...
_____________________________________________________________________
IMPORTANT: Homebridge is in the middle of some big changes.
Read more about it here:
https://github.com/nfarina/homebridge/wiki/Migration-Guide
_____________________________________________________________________
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] There was a problem connecting to Domoticz.
[Domoticz] There was a problem connecting to Domoticz.
pi@raspberrypi ~/homebridge $
I don't know where to start.. Any idea ?
Looks like a connection issue with Domoticz. Maybe changing the server address 127.0.0.0 to your Domoticz ip address?
Were you able to add Homebridge with Eve or Insteon+?
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Nope, changing to Domoticz IP 192.168.0.175 is not working.
Under Insteon+ nothing detecting, anyway homebridge is not even starting, I go back directly to the command prompt.
charlysquare wrote:Nope, changing to Domoticz IP 192.168.0.175 is not working.
Under Insteon+ nothing detecting, anyway homebridge is not even starting, I go back directly to the command prompt.
I have a older version without the possibility to enable/disable scenes.
Difference is that roomid is between quotes. Maybe you can try that (and also for loadscenes if still not working)?
I tried installing this now a few times, but when i do i keep hitting this error on RPI2:
pi@raspberrypi ~/node.js $ node -v
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by node)
tcviper wrote:I tried installing this now a few times, but when i do i keep hitting this error on RPI2:
pi@raspberrypi ~/node.js $ node -v
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by node)