-
Notifications
You must be signed in to change notification settings - Fork 199
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
Voice command colour change #1060
Comments
Unfortunately, this is a problem with Alexa software and not the ha-bridge |
I'm not sure I understand how this is not HA-Bridge issue. I have some MiLight bulb set up in domoticz and I can change the light color just fine in domoticz. I then use HA Bridge to create color bulb devices and they show up as such in Alexa after discovery. If I ask alexa to change the color on the bulb, it does send a request to HA Bridge, but the color doesn't change and from what I understand it's only because the color is send in H + L and there is nothing in the HA Bridge code to convert this value into RGB (well into the value that can be then transmitted to domoticz). I have not looked very hard but it seems to me that there is a code path in HA Bridge that is missing to correctly convert the HSL color. So I don't see why it could not work (Note : I have done this test with an Echo Dot 2nd Gen triggering a routine created in the Alexa App, so both the routine and a requested color by voice on the Echo does produce a color request that is reaching HA Bridge). |
@StephaneM60 Please turn on Debug for the HueMulator and send post the log. We'll see what is happening on the request end then. |
Sure, this is what happens when I request the light to be Red (directly from the Alexa application on an Android device)
Let me know if you need more informations (in the code, when I looked why it was not working, I remember that it is in the UpdateState or something like that that there is something missing, there is a test for the "hue" string, so it is somehow expected but after it is not used (only rgb is handled if I remembre correctly) |
Well what do you know that is red! |
Some more color values,l tested in the Alexa app : Green : {"hue":21845,"sat":254} Blue : {"hue":43690,"sat":254} Yellow : {"hue":10923,"sat":254} Red : {"hue":0,"sat":254} Magenta : {"hue":54613,"sat":254} Cyan : {"hue":32768,"sat":254} Orange : {"hue":7100,"sat":254} |
I have been updating the color handling which should now work with HSL which was broken. |
Fixes #670 Execute select Device when bridge loads [Enhancement Request] enhancement Fixes #877 Color in Hue/Sat enhancement Fixes #917 lock device ID #s enhancement Fixes #1032 Support for HomeGenie enhancement Fixes #1033 Backup & Restore enhancement Fixes #1060 Voice command colour change bug question Fixes #1077 several somfy action in a same Row ID doesn't work bug question Fixes #1084 Add Mozilla IoT gateway Helper enhancement Fixes #1092 ha-bridge incompatible with Amazon Echo Dot Gen. 3? enhancement question Fixes #1093 Alexa Issue : ID conflict between HA Bridge an Hue Bridge enhancement question Fixes #1094 issue with 5.2.2 and Harmony enhancement question Fixes #1095 issue with 5.2.2 and fhem enhancement question Fixes #1098 Home Assistant has new authentication methods and Legacy API Passwords will be removed enhancement question Fixes #1103 Have single scroll bar for Bridge Devices page. enhancement Fixes #1108 Add mDNS Discovery to ha-bridge Fixes #1109 Add HTTPS to ha-bridge
Hi,
I saw this question and the answer:
Q: Can voice commands other than: ON, OFF and DIM/BRIGHT be used?
A: NO, the ha-bridge emulates a Philips HUE bridge. The interactions between a Philips HUE and and Amazon Echo are determined by Philips and Amazon. They are not changeable by the ha-bridge, so only: ON, OFF and DIM/BRIGHT verbal commands are available.
Im using Domoticz with Homebridge. Homebridge have a option to connect it with Alexa.
When devices discovered (output from Homebridge) you can turn bulbs on/off/dim and colour change.
Here the site of how this works:
https://www.npmjs.com/package/homebridge-alexa
So my question: Would it be possible to let it work ? To change colour as well within HA Bridge using Alexa in future... :)
The text was updated successfully, but these errors were encountered: