Koenkk / zigbee2mqtt

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

Lights ignoring transition time, errors with scene's and with group commands #23509

Open floppymonster opened 3 months ago

floppymonster commented 3 months ago

What happened?

Scene's I have created groups in Z2M and created the following scenes: (https://www.zigbee2mqtt.io/guide/usage/scenes.html)

{"scene_add": {"ID": 0, "name": "All_Off","transition": 1,"state": "OFF"}}
{“scene_add”: {“ID”: 1, “name”: “All_On”,“transition”: 1,“state”: “ON”, “brightness”: 254, “color_temp”: 400}}
{“scene_add”: {“ID”: 2, “name”: “All_50”,“transition”: 1,“state”: “ON”, “brightness”: 125, “color_temp”: 400}}

----- Later on i also tried ------ {“scene_add”: {“ID”: 1, “name”: “All_On”,“transition”: 1,“state”: “ON”, “brightness”: 254}} {“scene_add”: {“ID”: 2, “name”: “All_50”,“transition”: 1,“state”: “ON”, “brightness”: 125}}

when triggering these some lights ignore the transition. these are lights without the color_temp atribute. But since i deletes the scenes and then added them again without the color_temp i hoped that it would work, but it didn't.

group commands I also tried creating the scenes in home assistant. For Z2M this would just look like a normal group command: Message 226 received on zigbee2mqtt/0_Wnk_Lmp_Bank_Group/set at 13:21: {"state":"ON","transition":2.0,"brightness":254,"color_temp":381} & Message 231 received on zigbee2mqtt/0_Wnk_Lmp_Bank_Group/set at 13:21: {"state":"ON","transition":2.0,"brightness":254}

When giving a ON Command with the color_temp atribute to a group that consists of both lights with and without color_temp attribute, all lights ignore the transition and go on instantly!

What did you expect to happen?

Scene's I expect all lights to follow the scene transition, now some lights in the group ignore the transition and go on 100% instantly. (maby becaus they get a color_temp, that they cannot handle?)

group commands I expect the whole group to follow the transition time. Now when i give a color_temp attribute and one light does not support this, the whole group ignores the transition

How to reproduce it (minimal and precise)

Scene's Create a scene {“scene_add”: {“ID”: 2, “name”: “All_50”,“transition”: 1,“state”: “ON”, “brightness”: 125}} on a group with both types of lights (with and without color_temp attribute) see below for the versions i used. and trigger the scene, lights without the color_temp attribute ignore the scene transition time.

group commands give a command on a group with both lights with and without the color_temp attribute like this: Message 226 received on zigbee2mqtt/0_Wnk_Lmp_Bank_Group/set at 13:21: {"state":"ON","transition":2.0,"brightness":254,"color_temp":381}

now all lights ignore the transition.

Used Lights Lights with the color_temp attribute Philips Hue white ambiance GU10 Signify Netherlands B.V. Hue white ambiance E26/E27

Lights without the color_temp attribute IKEA of Sweden TRADFRI bulb E26/E27, warm white, globe, clear, 250 lm IKEA of Sweden TRADFRI bulb E12/E14/E17, warm white, candle, clear, 250 lm

Zigbee2MQTT version

1.39.1-1

Adapter firmware version

7.4.2 [GA]

Adapter

home assistant sky connect

Setup

addon on Home Assistant OS, on regular X86 device

Debug log

floppymonster commented 3 months ago

-- merged in original post --