As the title says... Chat on...

User avatar
By ruchit
#74273 I have developed an IOT system where I control all the lights and fans using esp8266. Since five days I am facing some restarting problems. Devices restarts (not exactly restart but a blink in the relay, that blink leads upto whole room blinking as several lights are connected to one relay). My code in the esp8266 is simple.
In the setup it connects with the wifi and switches on the relay,
In the loop first it make a get request on my aws server and checks the state for the id assigned to it and if it is ON then relay stays ON else gets off. My code is quite simple but I don't understand why restarting is there :?