openenergymonitor / EmonESP

ESP8266 WIFI serial to emoncms link
160 stars 78 forks source link

Automatic Scheduled Restart #104

Open oddife opened 2 years ago

oddife commented 2 years ago

Is there a way to restart the esp8266 automatically at a specific time, I have an issue where my esp8266(Wemod D1 mini) stops communicating with WIFI and, i have to manually restart it

megusd commented 1 year ago

I have similar issue caused by mains black out. When mains power restored, router boot takes longer then ESP8266, causing EmonESP not connecting to Wi-Fi, unless manually re-booted with already available Wi-Fi network. There should be some watch dog in the code but seems like it works only when Wi-Fi drops then re-appears, not from boot. I would appreciate schedule reboot feature. Running emonTx3_CM + EmonESP v3.1.4 on ESP8266