ebaauw / homebridge-deconz

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

Continious messages from on the console #100

Closed BEskandari closed 1 year ago

BEskandari commented 1 year ago

homebridge-deconz v0.1.2, deconz v 2.20.01

I get continiously the below message without any action on the accessories: [27/01/2023, 19:07:47] [deCONZ] HB-deCONZ Button: Programmable Switch Event: Single Press [27/01/2023, 19:07:48] [deCONZ] Light strip: colorExecuteIfOff: set to false (from true) [27/01/2023, 19:07:48] [deCONZ] Light strip: colorExecuteIfOff: set to true (from false) [27/01/2023, 19:08:19] [deCONZ] Light strip: colorExecuteIfOff: set to false (from true) [27/01/2023, 19:08:19] [deCONZ] Light strip: colorExecuteIfOff: set to true (from false) [27/01/2023, 19:08:47] [deCONZ] HB-deCONZ Button: Programmable Switch Event: Single Press [27/01/2023, 19:08:49] [deCONZ] Light strip: colorExecuteIfOff: set to false (from true) [27/01/2023, 19:08:49] [deCONZ] Light strip: colorExecuteIfOff: set to true (from false) [27/01/2023, 19:09:18] [deCONZ] Light strip: colorExecuteIfOff: set to false (from true) [27/01/2023, 19:09:18] [deCONZ] Light strip: colorExecuteIfOff: set to true (from false) [27/01/2023, 19:09:47] [deCONZ] HB-deCONZ Button: Programmable Switch Event: Single Press [27/01/2023, 19:09:49] [deCONZ] Light strip: colorExecuteIfOff: set to false (from true) [27/01/2023, 19:09:49] [deCONZ] Light strip: colorExecuteIfOff: set to true (from false)

Is this normal?

ebaauw commented 1 year ago

What light is the lightstrip? Could you attach the dumpfile?

BEskandari commented 1 year ago

It is a "Philips Hue Outdoor Lightstrip"

Attached the dump file.

homebridge-deconz.json.gz

ebaauw commented 1 year ago

It seems to be a bug in deCONZ, that it sometimes doesn't update Options when execute_if_off is changed. Homebridge deCONZ tries to ensure it is set, when adaptive lighting is active. The messages should go away when you disable adaptive lighting, or when you set the Execute If Off bit in the Options attribute (0x000F) of the Color Control cluster.

I'm not sure what's causing the bug in deCONZ. It did work during my tests while adding the feature to deCONZ, and I don't see any obvious changes. After restarting deCONZ it sometimes works, or fails on a different light.