stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 98 forks source link

Timers with zigbee2mqtt RGBWW Dimmer #726

Closed devrosx closed 2 years ago

devrosx commented 2 years ago

Issue description This is repost (domoticz bug), but noticed that it happens only on zigbee2mqtt device (on dummy device is OK) so it might be in plugin or python framework. Described here: https://github.com/domoticz/domoticz/issues/4959 Sorry if its not zigbee2mqtt bug....

thanks for your great plugin

Additional information Zigbee2MQTT version: Python version: 3.7.3 (default, Apr 3 2019, 05:39:12) [GCC 8.2.0] Domoticz version: latest Plugin version: latest

siklosi commented 2 years ago

In my case with RGBCCT (Gledopto GL-C-008-2ID) on zigbee2mqtt dashboard I can see color, power level, state, etc (and when I set it through domoticz) but in domoticz RGB and WW switch are always Off and color wheel is in the middle. I can turn on light set color etc but it always reverts to off in domoticz interface (light stays as set). Also if I change value of Gledopto device on z2m dashboard (only case with those devices and if I change state of Ikea led for example there are no log messages at all) I see these messages in domoticz log:

2021-10-13 20:41:47.211 Zigbee: (Zigbee) zigbee device:0x00124b0021383ccf sent message:{'brightness_rgb': 254, 'color_mode_rgb': 'xy', 'color_rgb': {'x': 0.5826, 'y': 0.3993}, 'color_temp_rgb': 582, 'linkquality': 55, 'state_cct': 'OFF', 'state_rgb': 'ON'}
2021-10-13 20:41:56.902 Zigbee: (Zigbee) zigbee device:0x00124b0021383ccf sent message:{'brightness_rgb': 254, 'color_mode_rgb': 'xy', 'color_rgb': {'x': 0.46835443037974683, 'y': 0.45569620253164556}, 'color_temp_rgb': 343, 'linkquality': 57, 'state_cct': 'OFF', 'state_rgb': 'ON'}
2021-10-13 20:41:58.819 Zigbee: (Zigbee) zigbee device:0x00124b0021383ccf sent message:{'brightness_rgb': 254, 'color_mode_rgb': 'xy', 'color_rgb': {'x': 0.42528735632183906, 'y': 0.4885057471264368}, 'color_temp_rgb': 268, 'linkquality': 57, 'state_cct': 'OFF', 'state_rgb': 'ON'}
odelma commented 2 years ago

...in domoticz RGB and WW switch are always Off and color wheel is in the middle. I can turn on light set color etc but it always reverts to off in domoticz interface (light stays as set).

I can confirm this. It has been like this since many months so this is not an issue related to latest changes (at lest that is what I would say). Even though it is something I have used to live with, it would be nice to get fixed.

stas-demydiuk commented 2 years ago

Closing the issue as it looks like the same as #714. Should be fixed with the latest plugin version