Hi friends. is that any way to restart the nodemcu every 24 hours ?
ESP.restart() function every 24 hours…
1 Like
does it automatically reset every 24 hours ? or need to add timeout option in sketch ?
Another way of saying it, which was implied was run the command
ESP.restart()
(which when Googling how to restart an ESP from code would have been the answer) in whatever method works best to restart your device every 24 hours.
Timeout timer; RTC; Timer Widget; Time Input widget; You watching the clock and pressing a button
PS. After flashing your code, do a manual reset so that the next time the restart command is run, it should not have any lockup problems… This tip also discovered with a little Googling
1 Like