is there a possibility to do a scheduled reboot of the device? (e.g. every 24h).
Either by configuration or with JS code?
Try the cron library.
Thanks for the hint! How do I do the actual restart? What is the command for letting the ESP32 do a restart?
void mgos_system_restart_after(int delay_ms)
great, thanks a lot! Is this function also available in JS?
Ah, I found this, guess this will do the trick: https://mongoose-os.com/docs/api/api_sys.js.html#Sys.reboot