The problem is that only the color temperature is changing when I change the scene, the brightness stays the same. If I comment out the color_temp lines, the brightness changes. It works well with the Hue bulbs I have, only the IKEA bulbs are misbehaving. Is this a bug or what?
It seems to be like this when a Ikea gateway is used as well. Is it s bug in the light itself? How do others handle scene changes with both brightness and color temperature?
I have the same effect when using the conbee stick with the deconz component.
If a scene defines both brightness and color_temp with transition, then only color changes. If I only define either brightness or color alone with transition, it works, or both settings at the same time work if transition is set to 0.
Now, the question is, is this a bug in the bulb firmware or can this be resolved somehow. It seems that if you use moods defined with the ikea app/gateway and change them, it is correctly working?
I have the exact same problem.
Even using the scenes from the official Hue app, some bulbs will end up not reacting . . . and it will even go as far as messing with the Hue scene.
The scene will end up in the broken state and that broken state will be saved as the new value for the Scene.
Huge disappointment on that part, but I think it’s on the Zigbee driver side of thing.
What seems to happen is that the Tradfri / Ikea bulbs discard a new command if they are doing something. Doing something I mean transitioning either color or brightness.
Say it takes 5s to transition from white to yellow, any command sent during that timespan will be discarded. It’s a guess, but an educated one, after spending hours trying to debug that
The solution I found to have reliable scene activation 100% of the time is to:
Use scripts instead of scenes
Split the calls between setting the brightness and setting the level
Explicitly specify the transition time (in seconds)
Add a delay between the 2 actions equal to the transition time
Two years later, this workaround still works for a recent Ikea Tradfri bulb, purchased in June 2020. Did someone find a fix to make scenes work for Ikea Tradfri bulbs?
Many thanks for this. Was wondering why I couldn’t get my Tradfri lamps to change color and brightness at the same time. Seems like they can’t. Never mind, your suggestion works just as well.