Hi pzygmunt,
I was hoping to have a push button on the ESP8266 which can change the state of a relay.
That way the I can press a button on the ESP8266 (pin 12) to turn the relay on/off (pin 13), or use the app, whatever's easier at the time. I was thinking that as I walk in to the room it would be easier to press the button, but when I'm on the couch it would be easier to use the app.
I have tried reading through the source code on github, but I'm not clever enough, and I can't figure out a way to do this. I suppose I could get something going, but I don't know how to tell the server that the status of the relay has changed.
Thanks!
Change relay state using ESP8266
-
- Posts: 19400
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków