The controller ESP-32 reboots every two hours

#1
  1. My goal is: to ensure continuous operation of the controller
  2. My actions are: the controller sends its status, memory size ( Sys.free_ram) and uptime ( Sys.uptime) every 30 seconds in Google Sheets
  3. The result I see is: ESP-32 reboots every two hours
    Date RAM uptime
    8/2/2019 9:52:25 175568 7221
    8/2/2019 9:52:45 172120 7
    8/2/2019 7:51:34 178084 7204
    8/2/2019 7:52:10 179808 6

The question is: why the controller is rebooting and is it possible to change the interval between reboots

#2

Run mos console in your application’s directory and show the log near the reboot time.

To avoid the reboot when starting the console, run mos console --set-control-lines=false