Espalexa
Espalexa copied to clipboard
Updating light status in the alexa app
Hello, I'm controlling a light throw the Alexa but also from a button
what I want is to update the brightness level in the alexa app if I change it with the button
EXAMPLE:
If the light was ON and I turn it off from the button, on the Alexa app the light status will change from ON to OFF
You can use a EspalexaDevice object and call the setValue() or setStatus functions to archive this.
d->setStatus(false); d->setValue(255);