Closed lxheckel closed 2 years ago
You need to set nativeHomeKitLights
to false
to expose lights already exposed by the Hue bridge, see the WIki.
Note that Sunricher actually fool the Hue bridge into thinking they're Hue lights, so you're only seeing the OSRAM plug.
8.1.2022, 23:20:03LX Hue BridgeHueWarnungPhilips hue: event stream error: TypeError: Cannot read properties of undefined (reading 'startsWith')
at EventStreamClient.parseUpdate (/var/lib/hoobs/lxhuebridge/node_modules/homebridge-hue/lib/EventStreamClient.js:230:26)
at EventStreamClient.parseContainer (/var/lib/hoobs/lxhuebridge/node_modules/homebridge-hue/lib/EventStreamClient.js:198:16)
at IncomingMessage.<anonymous> (/var/lib/hoobs/lxhuebridge/node_modules/homebridge-hue/lib/EventStreamClient.js:162:26)
at IncomingMessage.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at IncomingMessage.Readable.push (node:internal/streams/readable:228:10)
at HTTPParser.parserOnBody (node:_http_common:141:24)
at TLSSocket.socketOnData (node:_http_client:487:22)
at TLSSocket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:199:23)
Not too happy about this one. Homebridge Hue chokes on an event without an id_v1
attribute. Do you see this often?
Thanks for the quick help which solved the problem. Confusing though that not checking the "Hide HomeKit Lights" check box has a different result than explicitly saying "nativeHomeKitLights": false.
Regarding the error msg: I have seen this about twice in one week now.
Confusing though that not checking the "Hide HomeKit Lights" check box has a different result than explicitly saying "nativeHomeKitLights": false.
That’s Hoobs. I strongly recommend using a standard Homebridge installation.
Issue
I had been using HOOBS with the Hue plugin happily with my Apple Home Kit for over a year. In Dec. 2021 I started having connection issues and lost the connection to Apple Homekit entirely around 5.1.22. The log showed an error with the homebridge version which was supposed to be 1.3.9 but was 1.3.4. I found out that despite the fact that the HOOBS Dashboard showed that I had supposedly the latest version installed (it showed 4.0.98 at the time) it was apparently not the latest version. I boldly reinstalled HOOBS (now 4.1.21) and the Hue Plugin and reconnected the plugin to my (unchanged) Hue Bridge as well as my Apple Homekit but since then I cannot access my lights any more no matter which boxes in the config of the plugin I check/uncheck (such as "expose lights" for example) - except for one smart plug. I have tried the usual (reboot, reinstall plugin, reinstall one of the lights etc.) but do not find a solution. I am running out of options.
Version
HOOBS 4.1.21, node version 16.13.1, homebridge 1.3.9, plugin version 0.13.34
Log Messages
Debug Files
homebridge-hue.json.gz ***sorry not sure how to get the log file when I am using the HOOBS plugin