homebridge-hue: Error initializing homebridge
Issue
I added some more lights, restarted the homebridge and now I get this error. I see something related to PiHole blocking a resource, but I can’t understand which URL is being blocked… Also, I always get an error for https://dresden-light.appspot.com/, even before I installed PiHole.
I tried to disable PiHole and run sudo /etc/init.d/dnsmasq restart to flush the DNS cache but I get the same error.
Log Messages
[2018-1-20 18:17:10] [Hue] dresden appspot ipv6: communication error ENETUNREACH on https://dresden-light.appspot.com/
[2018-1-20 18:17:15] [Hue] Home: BSB002 bridge v1711151408, api v1.22.0
[2018-1-20 18:17:15] [Hue] undefined: warning: ignoring unknown bridge/gateway "\n <html><head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\"/>\n <link rel='stylesheet' href='/pihole/blockingpage.css' type='text/css'/>\n </head><body id='splashpage'><img src='/admin/img/logo.svg'/><br/>Pi-<b>hole</b>: Your black hole for Internet advertisements</body></html>\n "
[2018-1-20 18:17:15] [Hue] undefined: 0 accessories
[2018-1-20 18:17:15] [Hue] Home: 9 accessories
[2018-1-20 18:17:15] [Hue] TypeError: Cannot read property 'config' of undefined
at HuePlatform.dump (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:655:11)
at request.then.catch.then.then (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:593:17)
at Function.then (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/_ext.js:67:13)
at Deferred._settle (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:97:26)
at Deferred.resolve (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:142:15)
at Function.<anonymous> (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/ext/promise/_array.js:34:4)
at Deferred._settle (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:97:26)
at Deferred.resolve (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/deferred.js:142:15)
at DMap.processValue (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/ext/array/map.js:77:49)
at Function.done (/usr/lib/node_modules/homebridge-hue/node_modules/deferred/_ext.js:85:12)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (6 by maintainers)
Commits related to this issue
- Handle unknown bridge in dump, see #271 — committed to ebaauw/homebridge-hue by ebaauw 6 years ago
“There’s no place like 127.0.0.1” (it means, “home”. Your Homebridge server, in this case). 💃
No,
hostmeans the ip assigned to your hue bridge. You can get it withnmaporavahi-browseror you can get it accessing to your Hue app – Settings – Hue bridges.Now I have a lot of nasty false sensors detected by Homebridge (@ebaauw), but that’s fo other thread, I think. 😄
Yes, but that shouldn’t cause homebridge-hue to prevent homebridge from starting. I think I found the issue. Fixed in v0.5.66.
In the mean time, you can specify your Hue bridge in config.json, under the
"host"key, to disable discovery of bridges/gateways.