Open mano1979 opened 8 years ago
you need a different code on the ESP8266 for that. Check the examples of the ESP8266 server on the Arduino IDE I think you'll find what you are looking
I looked at the arduino examples but there is nothing to control an rgb light.
What are my options to make a button that can turn off multiple esp's by pressing only that one button.
I just want to turn off all lights at night time without having to do it manually for each led strip.
amiravni notifications@github.com schreef op 12 maart 2016 08:50:50 CET:
you need a different code on the ESP8266 for that. Check the examples of the ESP8266 server on the Arduino IDE I think you'll find what you are looking
Reply to this email directly or view it on GitHub: https://github.com/amiravni/ESP8266_12VLEDS_Websocket_OTA/issues/3#issuecomment-195688352
Sent from my Android device with K-9 Mail. Please excuse my brevity.
check the WifiWebServer example
if (req.indexOf("/gpio/0") != -1)
val = 0;
else if (req.indexOf("/gpio/1") != -1)
val = 1;
one link to turn on, one to turn off
How can i turn the led strip off by only using a link or pasting some code in the adress bar of my browser?