-
Notifications
You must be signed in to change notification settings - Fork 137
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* - RGB-Strip simulation instead of "just" a light #18
Comments
Hi! Thank you, I'm glad that you like my library :) Amazon essentially uses two different ways to communicate to different devices. Most use cloud servers operated by the vendor of the smart home device. You know this is the case when you have to install an Alexa "skill" and log in with your smart home device account. Trotzdem noch einen schönen Sonntag :) |
I don't see the problem with treating each color (red, green & blue (& for some strips white)) as a different device. @Aircoookie is allowing up to 20 devices. You could then say "set blue to 20%", "set red to 80%" & "set green to 80%" to get yellow. Or, you could program Alexa to do a "macro" (I forget what this is really called) and just say "Alexa, I want it yellow" and have Alexa execute these 3 steps to turn your strip yellow. And, yes, for every color you would need to enter a new phrase and set of commands. |
Hello, thank you so much for this library!! I tried a few others but this is the only one that worked for me! However I am experiencing an issue. I have got 3x esp devices (adafruit Huzzah) each with 2 to 4 emulated devices loaded with your code. Four of these devices are programmed to do exactly what @st2000 has suggested to control an RGB strip (I also put there a white option to control all colors at once). The esp then sends some strings to an arduino uno board for PWM control. Never mind the convoluted system here. Basically the issue I have is that Alexa says cannot apply the SET command to these devices. ON and OFF commands work. What's weird is that all the other devices in the network, connected only to relays, accept the SET command! Alexa says 'ok' and turns the device on (I use a digitalWrite command, so no dimming here, but the voice command seems to work). But for the 'red' 'green' blue' and 'white' devices Alexa asks 'sorry what device?' and then says 'I don't know how to set red (or green,blue,white) to that setting'. However, I can control the brightness with the Alexa app!! But not from a voice command. What's even more weird, is that once or twice, the SET command has worked for the 'white' device. Then it stopped working. Any ideas? Code here
|
First - a big shoutout to your work! Your code is the only one, that worked as expected. Thanks alot!
So, now the feature request: Is there a way to implement RGB-Strip support? At the moment i see only a possible work-around: add devices with names red, blue, yellow and so on and hardcode the color in each callback-function.
But it would be much easier if the simulated device could set as an RGB-Strip instead of a Light with just the brightness-mode. Only say: alexa, set the color of "devicename" to red.... for example.
Here are so many smart heads - do someone have an idea to realize that?
The text was updated successfully, but these errors were encountered: