You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this project up and running and maybe you could help save me a couple hours of searching thru the code to find the proper implementation for my question. I would like to create a custom light that when it turns on it is a specific color. I tried the following in Alexa.h but had no luck:
The light itself is initialized and works fine with alexa and recognizes its name. The issue is that I want it to take a different color than how "onCallback" starts and just takes the ws28_model.h color.
What would be the best way to add the entirety of the 150LED strip to the queue and set the color of it in the code so that when I say "Alexa, Movie Light" it turns on a red light for example?
The text was updated successfully, but these errors were encountered:
I got this project up and running and maybe you could help save me a couple hours of searching thru the code to find the proper implementation for my question. I would like to create a custom light that when it turns on it is a specific color. I tried the following in Alexa.h but had no luck:
void movieCallback(uint8_t brightness) { if (!checkIsOff(brightness)) { controller.setBrightness(brightness); controller.setcolor({15,88,163}); controller.on(); } else { controller.off(); }
The light itself is initialized and works fine with alexa and recognizes its name. The issue is that I want it to take a different color than how "onCallback" starts and just takes the ws28_model.h color.
What would be the best way to add the entirety of the 150LED strip to the queue and set the color of it in the code so that when I say "Alexa, Movie Light" it turns on a red light for example?
The text was updated successfully, but these errors were encountered: