vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
375 stars 70 forks source link

How can use this lib to control the device colors? #244

Open JohnDeereLiebhaber opened 1 year ago

JohnDeereLiebhaber commented 1 year ago

I would like to control a led stripe with an esp8266 if you say light to green, the light should go to green. How can you control the device colors? Would it be possible to show a code example

Kind regards

Miq1 commented 1 year ago

Alexa will send a combination of hue, sat(uration) and bri(ghtness) values if you ask it to switch a color. My modification of the Fauxmo code will accept it, but I am still struggling with the notorious "device is unresponding" issue. Everything is working, but Alexa does not recognize the answer.