-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
~~Feature request:~~ Bug? Update of Dimmer/Color/CT without turning power on #221
Comments
Well, it seems as if I came up with that idea a measly 2,5 yrs after the fact judging from d68ba34 Still, I am at a loss as to why setting the option does not work with my setup. |
I think this is a bug. I have the problem with the lights on an oil diffuser. Whenever it gets a POWER2 ON command, it sets the rgbmode to cycle. Thus any attempt to set the RGB from HA instantly sets it to cycle mode! If Tasmota internally has the SetOption20 that controls whether Dimmer/Color/CT setting turns the lights on, I don't see why hatasmota ever needs to send an explicit power on when changing Dimmer/Color/CT, just let tasmota handle it. |
So, additional notes from experimenting: hatasmota only queries the SetOption20 setting on discovery, so whenever you change SetOption20 in tasmota, you need to remove the device in HA and trigger rediscovery by restarting tasmota in order for the change to be picked up. When SetOption20 is off (the default, where tasmota will turn on when Dimmer/Color/CT are adjusted):
When SetOption20 is on (tasmota will let you adjust Dimmer/Color/CT without turning on the light):
|
Tasmota SetOption20 1 enables updating Dimmer/Color/CT values without turning the power on
(source: https://tasmota.github.io/docs/Commands/#setoptions)
I have a Tuya LED that defaults to white when sending boolean data to the light DpId, no matter the previous state. Hatasmota sending a command
Backlog NoDelay;Power2 ON;NoDelay;HsbColor1 <H>;NoDelay;HsbColor2 <S>
results in the color first visibly switching to white and eventually to the new color.I suggest having hatasmota read the value of option20 and change the command accordingly.
The text was updated successfully, but these errors were encountered: