vintlabs / fauxmoESP

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

Issue with setState #83

Closed pvint closed 3 years ago

pvint commented 5 years ago

Original report by Dave (Bitbucket: vvnwr, ).


To exclude issues with my code Iam simple using the basic example included in the fauxmo repo as a reference here. fauxmoESP is v3.1.0

If Iam trying to use the setState function to externally change the state of one of the example lamps (e.g. button pressed or interrupt on a GPIO) it updates the state in the Alexa App but doesnt change example lamp itself (e.g. HIGH for the LED on GPIO).

#!arduino

  fauxmo.setState(ID_WHITE, true, 255);

=> Aplexa App tells lamp is on but the LED isnt

(Also something like an getState from the internal fauxmo list of devices would be nice ... or am I stupid and couldnt find it?)