Closed SmartHank1 closed 6 years ago
What version of deCONZ are you using? Could you post the output of homebridge -D
?
I tried it again this morning and once it works... I am using deConz 2.04.99 I changed the line in the Config where to put user data. Initially I just copied your configuration example and after running Homebridge I overwrote the line for the HUE bridge. Now I also deleted the numbers of the second line (just kept "": "") and it worked. I started Homebridge -D and got the message to connect, I received an Code for deConz, I put it in the Config, perfect, Homebridge started... I restarted my PI and now nothing works again.... :-(
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 [12/16/2017, 10:09:15 AM] Loaded plugin: homebridge-broadlink-rm [12/16/2017, 10:09:15 AM] Registering platform 'homebridge-broadlink-rm.BroadlinkRM' [12/16/2017, 10:09:15 AM] --- [12/16/2017, 10:09:15 AM] Loaded plugin: homebridge-enet [12/16/2017, 10:09:15 AM] Registering platform 'homebridge-eNet.eNetPlatform' [12/16/2017, 10:09:15 AM] --- [12/16/2017, 10:09:15 AM] Plugin /usr/local/lib/node_modules/homebridge-hue requires Node version of ^8.9.3 which does not satisfy the current Node version of v7.10.1. You may need to upgrade your installation of Node. [12/16/2017, 10:09:16 AM] Loaded plugin: homebridge-hue [12/16/2017, 10:09:16 AM] Registering platform 'homebridge-hue.Hue' [12/16/2017, 10:09:16 AM] --- [12/16/2017, 10:09:17 AM] Loaded plugin: homebridge-netatmo [12/16/2017, 10:09:17 AM] Registering platform 'homebridge-netatmo.netatmo' [12/16/2017, 10:09:17 AM] --- 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 [12/16/2017, 10:09:18 AM] Loaded plugin: homebridge-soundtouch [12/16/2017, 10:09:18 AM] Registering accessory 'homebridge-soundtouch.SoundTouch' [12/16/2017, 10:09:18 AM] --- [12/16/2017, 10:09:18 AM] Loaded config.json with 1 accessories and 4 platforms. [12/16/2017, 10:09:18 AM] --- [12/16/2017, 10:09:18 AM] Loading 4 platforms... [12/16/2017, 10:09:18 AM] [Hue] Initializing Hue platform... [12/16/2017, 10:09:18 AM] [Hue] homebridge-hue v0.5.49, node v7.10.1, homebridge v0.4.33 [12/16/2017, 10:09:18 AM] [Hue] warning: not using recommended node version v8.9.3 LTS [12/16/2017, 10:09:18 AM] [Hue] config.json: {"platform":"Hue","hosts":["192.168.0.9","192.168.0.43"],"users":{"001788FFFE28D017":"xZYOaD4DTfbNQBXOnd1EmHW886ue8A1b4tJ5ZOne","00212EFFFF0140F7":"51F72B2E95"},"lights":true} [12/16/2017, 10:09:18 AM] [Hue] 192.168.0.9: bridge request 1: get /config [12/16/2017, 10:09:18 AM] [Hue] 192.168.0.43: bridge request 1: get /config [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing BroadlinkRM platform... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Learn'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Scan Frequency'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Dunstabzug Licht'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Dunstabzug AN/AUS'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Dunstabzug Gebläse'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Dunstabzug Höhe'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Esszimmer Weihnachtsdeko'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Nachttisch Pierre'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Esszimmer Vitrine'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Büro Weihnachtsdeko'... [12/16/2017, 10:09:18 AM] [Broadlink RM] Initializing platform accessory 'Balkon Weihnachtsdeko'... [12/16/2017, 10:09:18 AM] [netatmo platform] Initializing netatmo platform... [12/16/2017, 10:09:18 AM] [netatmo platform] Creating NetatmoPlatform [12/16/2017, 10:09:18 AM] [netatmo platform] Loading accessories [12/16/2017, 10:09:18 AM] [netatmo platform] Creating Weatherstation Devices [12/16/2017, 10:09:18 AM] [netatmo platform] Refreshing data for netatmo weatherstation [12/16/2017, 10:09:18 AM] [netatmo platform] Loading new data from netatmo for weatherstation [12/16/2017, 10:09:18 AM] [netatmo platform] Refreshing data for netatmo thermostat [12/16/2017, 10:09:18 AM] [netatmo platform] Loading new data from netatmo for thermostat [12/16/2017, 10:09:18 AM] [netatmo platform] Refreshing data for netatmo camera [12/16/2017, 10:09:18 AM] [netatmo platform] Loading new data from netatmo for camera [12/16/2017, 10:09:18 AM] [eNet] Initializing eNetPlatform platform... [12/16/2017, 10:09:18 AM] Loading 1 accessories... [12/16/2017, 10:09:18 AM] [Bose Bad] Initializing SoundTouch accessory... Started Searching... [12/16/2017, 10:09:18 AM] [eNet] Configure accessory: {"gateID":"00:0a:b3:e8:28:7f","type":"Shutter","channel":17,"name":"Haus Jalousien"} [12/16/2017, 10:09:18 AM] [eNet] Configure accessory: {"gateID":"00:0a:b3:e8:28:7f","type":"Light","channel":18,"name":"Esszimmer Tisch"} [12/16/2017, 10:09:18 AM] [eNet] Configure accessory: {"gateID":"00:0a:b3:e8:28:7f","type":"Switch","channel":19,"name":"Badezimmer Handtuchheizkörper"} [12/16/2017, 10:09:18 AM] [eNet] Configure accessory: {"gateID":"00:0a:b3:e8:28:7f","type":"Light","channel":16,"name":"Küche Hängeschränke"} [12/16/2017, 10:09:19 AM] [Hue] 192.168.0.43: bridge request 1: get /config [12/16/2017, 10:09:19 AM] [Hue] 192.168.0.43: bridge http status 404 Not Found [12/16/2017, 10:09:19 AM] [Hue] 192.168.0.9: bridge request 1: ok [12/16/2017, 10:09:19 AM] [Hue] Philips hue: BSB002 bridge v1711151408, api v1.22.0 [12/16/2017, 10:09:19 AM] [Hue] Philips hue: warning: not using recommeneded Hue bridge api version 1.21.0 [12/16/2017, 10:09:19 AM] [Hue] Philips hue: bridge request 2: get /resourcelinks [12/16/2017, 10:09:19 AM] [Hue] Philips hue: bridge request 2: ok [12/16/2017, 10:09:19 AM] [Hue] Philips hue: bridge request 3: get / [12/16/2017, 10:09:19 AM] [Bose Bad] Found Bose SoundTouch device: Badezimmer [12/16/2017, 10:09:19 AM] [Hue] Philips hue: bridge request 3: ok [12/16/2017, 10:09:19 AM] [Hue] Philips hue: /lights/1: exposed by bridge [12/16/2017, 10:09:19 AM] [Hue] Philips hue: /lights/2: exposed by bridge [12/16/2017, 10:09:19 AM] [Hue] Philips hue: /lights/3: exposed by bridge [12/16/2017, 10:09:19 AM] [Hue] Philips hue: /lights/4: exposed by bridge [12/16/2017, 10:09:19 AM] [Hue] Philips hue: 0 lights [12/16/2017, 10:09:19 AM] [Hue] Philips hue: 0 groups [12/16/2017, 10:09:19 AM] [Hue] Philips hue: 0 sensors [12/16/2017, 10:09:19 AM] [Hue] Philips hue: 0 schedules [12/16/2017, 10:09:19 AM] [Hue] Philips hue: 0 rules [12/16/2017, 10:09:19 AM] [Hue] Philips hue: 1 accessories [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Wohn,zimmer: airpressure-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Wohn,zimmer: airquality-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Wohn,zimmer: battery-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Wohn,zimmer: co2-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Wohn,zimmer: humidity-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Wohn,zimmer: noiselevel-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Wohn,zimmer: rain-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Wohn,zimmer: temperature-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Wohn,zimmer: wind-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Refreshing data for netatmo weatherstation [12/16/2017, 10:09:19 AM] [netatmo platform] Did build accessory Lilienthalsstraße Wohn,zimmer [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Balkon: airpressure-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Balkon: airquality-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Balkon: battery-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Balkon: co2-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Balkon: humidity-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Balkon: noiselevel-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Balkon: rain-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Adding Service in Lilienthalsstraße Balkon: temperature-homekit [12/16/2017, 10:09:19 AM] [netatmo platform] Service not supported in Lilienthalsstraße Balkon: wind-legacy [12/16/2017, 10:09:19 AM] [netatmo platform] Refreshing data for netatmo weatherstation [12/16/2017, 10:09:19 AM] [netatmo platform] Did build accessory Lilienthalsstraße Balkon [12/16/2017, 10:09:19 AM] [netatmo platform] Initializing platform accessory 'Lilienthalsstraße Wohn,zimmer'... [12/16/2017, 10:09:19 AM] [netatmo platform] Initializing platform accessory 'Lilienthalsstraße Balkon'... Discovered Broadlink RM device at 192.168.0.51 (34:ea:34:c7:9d:9d) [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Licht setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Licht setSwitchState: already false [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug AN/AUS setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug AN/AUS setSwitchState: already false [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Höhe setCurrentPosition: 0 [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Höhe setCurrentPosition: already 0 [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Höhe setPositionState: 2 [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Höhe setPositionState: already 2 [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Höhe setTargetPosition: 0 [12/16/2017, 10:09:20 AM] [Broadlink RM] Dunstabzug Höhe setTargetPosition: already 0 [12/16/2017, 10:09:20 AM] [Broadlink RM] Esszimmer Weihnachtsdeko setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Esszimmer Weihnachtsdeko setSwitchState: already false [12/16/2017, 10:09:20 AM] [Broadlink RM] Nachttisch Pierre setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Nachttisch Pierre setSwitchState: already false [12/16/2017, 10:09:20 AM] [Broadlink RM] Esszimmer Vitrine setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Esszimmer Vitrine setSwitchState: already false [12/16/2017, 10:09:20 AM] [Broadlink RM] Büro Weihnachtsdeko setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Büro Weihnachtsdeko setSwitchState: already false [12/16/2017, 10:09:20 AM] [Broadlink RM] Balkon Weihnachtsdeko setSwitchState: false [12/16/2017, 10:09:20 AM] [Broadlink RM] Balkon Weihnachtsdeko setSwitchState: already false [12/16/2017, 10:09:27 AM] [eNet] Platform initialization finishd: 4 accessories available. [12/16/2017, 10:09:34 AM] [Hue] 192.168.0.43: bridge request 2: get /config [12/16/2017, 10:09:34 AM] [Hue] 192.168.0.43: bridge request 2: get /config [12/16/2017, 10:09:34 AM] [Hue] 192.168.0.43: bridge http status 404 Not Found
Are you sure deCONZ is at port 80? Can you double check by entering http://192.168.0.43/ in your web browser and see if the deCONZ web app displays. A 404 Not Found http status means that the requested resource, /api/config
, doesn't exist on the web server at 192.168.0.43:80. My guess is another web server (instead of deCONZ) took control of port 80 after rebooting the pi.
What happens if you remove the "hosts"
key and let homebridge-hue discover the Hue bridge and deCONZ? It should find both through UPnP.
If deCONZ is indeed running on another port (typically 8080), you can specify that in config.json:
"hosts": [ "192.168.0.9", "192.168.0.43:8080"]
f deCONZ is indeed running on another port (typically 8080), you can specify that in config.json:
"hosts": [ "192.168.0.9", "192.168.0.43:8080"]
This seems to work for me... Adding the port 8080 makes it run through.... Homebridge runs and the deConz shows up in HomeKit. Unfortunately the Xiaomi Sensors do not show up.... I think this is just a matter of my config. I will study your your Wiki first...
THX a lot for your help!!!
You’ll want to add ”sensors”: true
to config.json,
Hey all,
I have an issue regarding my Homebridge connection. The Plugin connects with my Hue Bridge but it doesn't want to connect to my Conbee / deConz. I opened the connection to the stick in the Webinterface but the plugin doesn't get the user data... The error I receive is the following: (I deleted the IP and wrote the X instead)
XXX.XXX.X.XX: bridge request 33: get /config XXX.XXX.X.XX: bridge http status 404 Not Found
What is going wrong? THX