After pairing a Philips Hue bulb I have noticed that there is no transition time when changing brightness or color with a Hue bulb from the frontend of HA. It changes instantly and doesn´t look nice.
With the Philips Hue bridge there is a soft transition between brightness and color changes.
Is there a general setting for transition time, maybe in the database or something?
In the log I can see the following for the bulb when changing color
I´m not that familiar about publishing these messages but when changing brightness or color from the HA frontend it is not a message I sent mnaually and therefore it would not be possible to add the transtime property to the command anyhow.
and the logs still show “transtime”:0 (I guess it is related to this issue)
Zigbee publish to device ‘0x0017880100be4261’, genLevelCtrl - moveToLevelWithOnOff - {“level”:126**,“transtime”:0**} - {“manufSpec”:0,“disDefaultRsp”:0} - null
I tried again after having a look to the code and it’s working indeed.
If I publish this message:
{"brightness": "255", "transition": 4}
to the topic zigbee2mqtt/<bulbname>/set
I can see a nice and smooth transition. So the converter is working properly. It’s only a matter of understanding why that doesn’t work in homeassistant.
hmm strange. It is also funny that if I turn on/off from the frontend it HAS a soft transition but when changing color or brightness it reacts instantly.
Yes, I believe ON/OFF transition is somehow built in into the bulb and can’t be changed or avoided. I noticed the same when I was turning on/off the bulb they have a smooth transition without having to specify any transition attribute
Do you have an idea what to do about this? Making your suggested change in my devices.yaml didn´t change anything. Is it possible maybe to change some setting for hue in the database?
I tried to switch to dev branch but get the following error. What can I do. I guess I somehow have to “export” my configuration.yaml to the dev branch or…?
pi@zigbee2mqtt:/opt/zigbee2mqtt $ git checkout dev
error: Your local changes to the following files would be overwritten by checkout:
data/configuration.yaml
Please commit your changes or stash them before you switch branches.
Aborting