ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
134 stars 7 forks source link

TypeError: this.updateConfig is not a function #40

Closed b2un0 closed 2 years ago

b2un0 commented 2 years ago
4/22/2022, 8:48:09 PM] [deCONZ] Studio Pacman: error: TypeError: this.updateConfig is not a function
    at Outlet.update (/homebridge/node_modules/homebridge-deconz/lib/DeconzService/index.js:86:12)
    at Light.<anonymous> (/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/index.js:81:21)
    at Light.emit (node:events:526:28)
    at Light.emit (/homebridge/node_modules/homebridge-deconz/node_modules/homebridge-lib/lib/Delegate.js:174:13)
    at Gateway.analyseFullState (/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:859:34)
    at Gateway.poll (/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:712:18)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Gateway.heartbeat (/homebridge/node_modules/homebridge-deconz/lib/DeconzAccessory/Gateway.js:258:9)
ebaauw commented 2 years ago

What version of deCONZ are you running? Could you please attach the debug dump file?

b2un0 commented 2 years ago

Hey, sorry for my late answer.

currently it looks like the problem is gone..

image

image

homebridge-deconz.json.gz

ebaauw commented 2 years ago

Weird, the error suggests that the /lights resource for this plug contained a config section (which it shouldn't), but the dump file doesn't show it.

As the problem no longer occurs, I'll assume this was a one-time fluke in the deCONZ API. Please re-open if the error re-occurs.