reboot every x Days ( with > 1h without activity)
set flag to restore UI properly in that case!
if (millis() > ONLINE_TIME && millis() - lastActivity > INACTIVE_TIME) ESP.restart();
Alternative: Maybe look into Verdandi for time-wrap-fix if reboot is not implemented?
reboot every x Days ( with > 1h without activity) set flag to restore UI properly in that case! if (millis() > ONLINE_TIME && millis() - lastActivity > INACTIVE_TIME) ESP.restart();
Alternative: Maybe look into Verdandi for time-wrap-fix if reboot is not implemented?