Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.77k stars 1.64k forks source link

group light not mixing colours properly. #22724

Open tomtom13 opened 3 months ago

tomtom13 commented 3 months ago

What happened?

I've switched from HASS light groups to Z2M light groups. Most scenes that I use, send a fixed colour and level to the group, but a few special ones do send different colour to different bulbs to make sort of mood scene - all that works good. However, reporting back to MQTT seem to report group colour and light level on random bulb from the group, rather than computing a median colour and light level. Please note that this happens with my SLZB-06, however before I used sonoff ZBdongle-P with same results.

What did you expect to happen?

I would expect the reported light level to be computed as a median, and colour to be computed as a median of croma key.

How to reproduce it (minimal and precise)

Create a group with 6 - 20 (in my case) philips hue light bulbs, set those to individual colours and observe reported by Z2M colours.

Zigbee2MQTT version

1.37.1

Adapter firmware version

20240315

Adapter

SLZB-06

Setup

Add-on on home assistant.

Debug log

No response

tomtom13 commented 3 months ago

I might add that this yields additional problem: IF some of the light did not fully switch to their destination colour / light level - HASS will NOT attempt to resend the change request, because it's unaware that things wen't wrong ... after all it has a proper value from just one bulb in the group stating that everything is a OK.