-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
MQTT light - Color wheel not working with auto discovered Tasmota #50316
Comments
Hey there @emontnemery, mind taking a look at this issue as its been labeled with an integration ( |
Please share a log with the settings below of changing the color with the color wheel: logger:
default: info
logs:
homeassistant.core: debug
homeassistant.components.mqtt: debug |
Debug log attached, entity triggered was "bookcase" around the 16:02 mark. Folks in the Reddit thread note that the newer native Tasmota integration works, this seems to be with the older MQTT integration |
I am using the new native Tasmota integration and am experiencing this issue. Wheel stops working whenever white value (in RGBW) is greater than 0. If I issue "color xxx,xxx,xxx,0 "command in tasmota console then wheel will continue to work until colour value for W is anything other than 0. |
@rob1303-hub yours is a different issue because you use the native integration. Could you please open a new issue about it, and let's continue the discussion there.
This is expected, Tasmota lights don't support color and white at the same time, it has to be one or the other. The current implementation of the native integration will set the light to white if the white value is greater than 0, and to color otherwise. The best option for now is to do |
@majorsl Thanks! The problem with Tasmota is that sending the The best option is to do |
@emontnemery thanks! I was unaware of that so37 (so many in taz!) I think, after some testing yesterday, that the newer integration for me is the real long term fix and the better option overall. I was unaware that both ways could be used at the same time and depending on so19 0/1 that's how it was determined. That makes my migration so much less painful since I can do the lights now and worry about switches, plugs, etc later. |
@emontnemery. Thanks for the speedy reply.
That makes sense.
Will do.
Did this. SO37 128 created the second switch and I could switch between them and control the light without issue. However, as a user, I found having to switch between two lights non-intuitive. I find it easier to revert back to SO37 0 and then manually reduce the white brightness to 0 when I want to use the colour wheel.
I am no programmer, but would it be possible to do the following in the UI:
Happy to test anything to help out. |
mqtt documentation |
Can confirm several folks I know have the same issue of it sending the color2, then white 0 right after. |
I also have it. No Tasmota integration, only auto MQTT. |
The problem is understood, the workaround is to split the light in two as explained here: #50316 (comment), or to use the Tasmota integration for RGBW lights instead of MQTT, that behaves better. A proper correction will require changes in both Tasmota and Home Assistant. Initial Tasmota patches are merged, but Home Assistant patches (#50464, #50530) are currently under review. The final change will be to update the Tasmota MQTT discovery to use the new feature. |
What was wrong with the way it used to work? |
The problem with the old way was the "white_value" light feature which was poorly documented and thus behaved differently for different lights. |
The old way worked. The current way has broken all my (and many other) lights and seems it was released without testing. Any chance of rolling back this change until the corresponding changes are made (and tested) in Tasmota? |
Agreed that the new color picker does not work well with Tasmota in its default configuration. There are multiple viable workarounds for Tasmota:
For the default configuration, this is the way forward: #51411, the PR introduces a "white" color_mode which will work well with Tasmota's default configuration (color or white, not both). |
"white" color_mode is available in Home Assistant 2021.7 which was released last week. |
Just leaving a comment that I was having the same issues with my v9.5 Tasmota Integration RGBW bulb and the latest HA. However, using the service light.turn_on:
Only sent the following MQTT data to the bulb: Calling light.turn_on with the following data worked correctly
This issue was the only place I could find mention of the new white value, it's not in the online docs or listed in the light.turn_on service in the developer tools. |
@mlepard thanks for pointing out that docs are missing; this adds documentation: home-assistant/home-assistant.io#18529 and this adds it to the developer tools: #53075 |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
The color wheel in any Tasmota light does not change the color and sets the bulb to white. Clicking the color briefly changes the LEDs to the preferred color but immediately goes back to white. An example of what happens in the UI can be found in a video by a user here:
Note:
In this issue, Tasmota is using the MQTT integration's light with basic schema.
Setting an rgbw color will be translated to a
color
command followed by awhite
command. Tasmota will turn off the colors when processing thewhite
command.https://www.reddit.com/r/homeassistant/comments/n7upv2/home_assistant_tasmota_lights_not_working/
The Tasmota web interface for a bulb works as expected (HA issue).
Tasmota via MQTT.
What is version of Home Assistant Core has the issue?
core-2021.5.1
What was the last working version of Home Assistant Core?
2021.4.6
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Tasmota via MQTT
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tasmota/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
https://www.reddit.com/r/homeassistant/comments/n7upv2/home_assistant_tasmota_lights_not_working/
The text was updated successfully, but these errors were encountered: