I am using WiFiManager.h to connect my nodeMCU to a server. The problem I encounter is that sometimes it goes offline. If this problem happens, I tried to switch off and on again the nodeMCU and I goes online again. Since I an too far away from my nodeMCU, I want to try switch it off and on again without come near my nodeMCU. I tried to reset using this reset function void(* resetFunc) (void) = 0;
with using <SimpleTimer.h> to make it execute every 2 hours. I notice this timer only works after the nodeMCU connect to the WiFi if not the timer won't work.
Suggest you post your code. There could be an error which the forum can help you fix. Please read the forum guide in the sticky post at the top of most forum sections to find out how to post code correctly.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.