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
Alexa color selection: Not possible for high dimming levels / dimming level changes unexpected #1303
Comments
select the edit button next to your device and try this setting "Send dim when color request present and dim present" and see if that makes a dfference. |
Update: I think the problem occurs between Alexa and Ha Bridge. In the HA Bridge device status I added the resulting ha bridge device sates to the description below. Hey, unfortunately no effect. 1. Start with Color blue, brightness 30%. 2. Set brightness to 100% -->OK. 3. Set Color again to blue (or any other color)-->All Channels on with no chance of changing the color anymore (no matter what color you select. However the internal ha bridge values seems not to have changed: Only chance to get a desired color at 100% dim level: Best Regards |
interesting, the alexa sends both hsb and xy color.... So in the decoding for habridge xy color takes precedent. |
Yes, maybe... I checked some other Color lights, all have exactly the same x and y values (no matter what color has been set or if they are on or of). |
First, what version of the habridge are you running? To trace the state changes in the log turn on Trace State Changes in the bridge control tab. |
Here you go (Version is 5.4.1RC1) : Start color: blue, brightness 30%.
change to red ok, switching back to blue:
Setting brightness to 100%:
setting brightness to 100% ok, setting color red (while at 100% brigthness, error expected below):
Error ;-) All Channels on |
So, its not the habridge as it received hue=0 and sat=254 while bri=254 is Full on white. |
Yes, seems to be a bug on Alexa side. Even if you would argue, that 100% brightness for an RGB LED system is turning on channels on (as bright as it can get)
By the way: Do you have any special channel to post Alexa bugs with high priority? ;-) I guess my workaround will be to update the hue bridge state after each dimming and color change to a dim level of 30%. I will give an update if this is working. |
Unfortunately I do not have a channel to Amazon for that issue. |
I have the same issue with version 5.4.0-java11. Color voice commands above 50% brightness are not working. I think it's the same issue described in #1267. |
Hi again, I found a "solution" for the problem: When using first generation Echo devices, color commands are working without any problems! Luckily I have two first generation Echo Plus left and I am using one of them to connect to HA-Bridge. If you do the same, just make sure to use IP filters in Ha-Bridge! |
@bwssytems Anyway, I had some time to debug the setup a bit more and found following problems / issues: Now I just change the color again to red (so nothing should change, as the color has been red already) Change requested by Alexa (as you see, a brightness change has not been requested by alexa): RGB Values being sent (here we have already the bug, with r value being to high for 40% brightness) Resulting HA-Bridge State (not changed) Now I make a "dim to 60% command" As no color change has been requested, no rgb translation has been done (however the dim level has been sent succesfully to my fibaro homecenter) Resulting HA-Bridge State (everything fine here): Now, I am setting again the color to red. Change requested by Alexa (the request seems to be perfectly fine so no bug on echo side...) RGB Values being sent (again the r value is way to high, g and b value also not needed for pure red!) Resulting HA-Bridge State (no change at all, as expeceted): For higher dim levels, the problem is getting worse, with green and blue value reaching 255 when dim level is set to 100% Summary: Can you reproduce the problem? |
Hi again, I was able to debug the problem a bit more and found an easy possible solution: |
Will take a look |
Just noticed that this "bug" is still "alive". kind regards |
Yes, it still is alive, obviously not many people using ha bridge have the need of correct color translation :-) hue: the unique value passed from ha bridge when using ${color.h} All dimming other logic (dimming, distinguish if you really want 100% dimming level or just to turn on) is done Maybe my color table can help you a bit... colors = { |
@theonlymiron I would love to control my color temps via Alexa and the HA bridge, but until now I did not even understand how to do so... but until now, I have not understood how to do so... RGB is working (using homematic stuff) via HA bridge Could you give me a hint, where to put this color table to make color temp working? |
Hi steviehs, I will do my best ;-) |
Version 5.4.1rc1 |
Hmmm, same here, but for me rgb conversion is not working, as ha bridge (still) provides wrong rgb values... Anyway: For color temperature you cannot use rgb conversion, I can try to give you a hint how it worked in my case, but I cannot any tips how to do it with homeatic 1.HA-bridge color item first entry: You have pass the "hue" value using ${color.h} to your smart home system and store it in a variable. Sorry I cannot help you in detail. |
sorry, I do not understand a single word :-) My main question (since about one year) is: from where and why does Alexa know which colors could be set via ha-bridge and which not? If I am asking alexa to put the lights to red green etc. it just works, but when I ask her to put the light to warmwhite, she tells me, that the device does not support it. So for starting my understanding right now: where can I add anything for color temp in ha-bridge? |
No problem ;-) |
Haha, wait, I have really worked a lot in getting rid of my old discovered lights as in #1216 now I should reenable again one of the newer echos to see white colors? shiver |
Yeah, I also went through a lot of trouble using ip filters, manual delete of devices and so on... Old Alexa: RGB conversion is working, but no cct (warmwhite, coldwhite) Now I know why RGB conversion was working for you ;-) |
Hi,
I expect a lot of issues with alexa color selection for my rgbw stripes, which makes it often impossible to use.
To reproduce the problem:
Start with color red, dimmed to 30% (e.g. via alexa app).
This results correctly in following rgb values in my fibaro homecenter 2:
Change color to yellow results in a dimming level of 60 in my fibaro homecenter 2, alexa still shows dimming level 30:
If I change the color to gold, dimming level in fibaro stays at 60, alexa still thinks it's 30:
Changing it to turquoise (German "Türkis") changes the dimming level again:
Changing back to red, and the dimming goes back again to 60.
Conclusion: Once you changed colors, it is not possible to go back to the original color with correct dimming level.
Next experiment: Start with color red, dimming level 50:
Change to color orange:
Change back to color red results in 100% dim level:
And now the worse thing:
Start with color red, 100% dim level:
Change color to orange results in all channels at 100%, which is of course not orange (but alexa thinks it is orang 100%)
Once you are at this point, no color command works anymore, e.g. changing back to red via alexa):
Are some other people experiencing this? Any ideas how to solve this?
Best Regards
Miron
The text was updated successfully, but these errors were encountered: