Closed mfw2010 closed 1 year ago
Could you please attach the dump file?
Attached, thanks
That's a dump file by Homebridge Hue, not by Homebridge deCONZ?
Luckily it also contains the full system state from deCONZ. The CentraLite3 200-Sgb has a ZHAPower sensor, but no ZHAConsumption. I don't have such device myself, so that branch of code remained untested. Above commit should fix the error. Also note that message is wrong, it should read SyntaxError: params.computedConsumptionDelegate: missing params.powerDelegate at new History
.
Thanks, I could not find the download dump option from Deconz settings in Homebridge UI! How do I get this update from homebridge-lib? Will this eventually roll into a Deconz plugin update?
It it's just a patch-level update, re-installing Homebridge deCONZ will pickup the latest homebridge-lib version. For minor and major updates, a new version of Homebridge deCONZ will bump the dependency.
Thank you
In v0.1.3.
For your info I have the same error with a plug in version 0.1.2. Fix with the new release 0.1.3.
I keep getting this error in HB, don't think it causes any issues but it just colours the logs red...any ideas?
**[03/02/2023, 09:54:54] [deCONZ] Bee: error: SyntaxError: params.computedConsumptionDelegate: missing params.computedConsumptionDelegate at new History (/usr/lib/node_modules/homebridge-deconz/node_modules/homebridge-lib/lib/ServiceDelegate/History.js:425:19) at new Light (/usr/lib/node_modules/homebridge-deconz/lib/DeconzAccessory/Light.js:88:27) at Gateway.addAccessory (/usr/lib/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:612:25) at Gateway.analyseFullState (/usr/lib/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:1068:20) at Gateway.poll (/usr/lib/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:903:18) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Gateway.heartbeat (/usr/lib/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:339:9) **