Restart Nodemcu When Stucked Connection
Posted: Mon Feb 20, 2017 6:43 am
Hello, I am making WiFi controllable relay. I am using one of this version http://nodemcu.com/images/thumbnail/zms ... 0x1200.jpg
I am not use NodeMCU as server because my connection has changing ip. I am using NodeMCU as client and every two seconds NodeMCU makes get request to my server for checking "should I change relay status?". But sometimes NodeMCU get stucked. The blue led on it always lighting. When I restart it, it works again as expected. For this reason I should detect stuck and restart when it happens. How can I do that? Or do you advise another method?
I am not use NodeMCU as server because my connection has changing ip. I am using NodeMCU as client and every two seconds NodeMCU makes get request to my server for checking "should I change relay status?". But sometimes NodeMCU get stucked. The blue led on it always lighting. When I restart it, it works again as expected. For this reason I should detect stuck and restart when it happens. How can I do that? Or do you advise another method?