Z2M bug report, groups, scenes, transitions

Howdy, this is probably not the right place to put this, but maybe some of you can point me to the correct place or spot what I’m doing wrong.

I have created groups in Z2M and created scenes there.
I noticed that if I had automations with transitions to the scenes, Z2M just ignored it and went from 0-100 instantly when activating a scene. Also, when calling scenes with the button in the UI, the instant shift was annoying. But I fixed that in Z2M itself. It is a static transition time per scene, but I can live with that.
This is the official guide

This is what i did:
  1. create the group in Z2M and remember the number of the group (friendly name also works, but i found the number easier)

  2. Open MQTT and publish a message to: publish: zigbee2mqtt/1/set (with 1 being your group number) and sens the message:

  • {“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}}

The bug here is:
This following lights work as expected:

  • Philips Hue white ambiance GU10
  • Signify Netherlands B.V. Hue white ambiance E26/E27

But the following lights (which DO support transitions) ignore this transition and still go from 0-100 instantly (even though the philips in the same group go slowly)

  • 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

This didnt stop me though
First i tried to just add transition times in my automation to a light on command to a group from Z2M but this didnt work.
Then i found Z2M documentation that said you could add a static transition time to the groups via the config file. After that giving commands to the groups work. all the lights go nice and slow to the setpoint.

Its a shame that the transition is static (i would realy like it to be defined in the automation [That way when going from 1% to off you could skip the transition, and from 50% to off go to 0,5* total transition etc])

But i guess it works. as long as you want the whole group to go to the same brightness…(thoughi have scenes where different light should go to different brightness… so it is only half a solution for me)

Does anyone know if I’m missing something here, or if this is a proper bug and how should i report this to the Z2M team.

I am considering switching to ZHA just for this bug… but i’m not sure if all my zigbee devices will work on ZHA, might have to try that today…

thanks tom_I! :+1:

for those interested:
Request new feature: " dynamic transitions for scenes and groups via mqtt message/homeassistant automation"

Bug report: “Lights ignoring transition time, errors with scene’s and with group commands”

Bugs should be reported here: Issues · Koenkk/zigbee2mqtt · GitHub