Platform
NRF52, ESP32, RP2040
Description
It would be useful to have an option to configure a periodic reboot in the firmware. This would accept a number of seconds, perhaps no fewer than 300 (5 minutes) to ensure there is always time to change the value or disable it.
For example, something like the below to enable a automatic reboot every 6 hours.
meshtastic --set power.periodic_reboot true --set power.reboot_every_secs 21600
The rationale for this is that in the event of a bug which manifests over time, due to the nature of the node processing packets (such as #3931), a reboot can temporarily clear the problem and provide a workaround. This makes the difference between a usable node and an unusable node.
This can, of course, be performed manually, and for a connected node by scheduling a --reboot. For an unconnected node the above would provide a means to do the same.
Platform
NRF52, ESP32, RP2040
Description
It would be useful to have an option to configure a periodic reboot in the firmware. This would accept a number of seconds, perhaps no fewer than 300 (5 minutes) to ensure there is always time to change the value or disable it.
For example, something like the below to enable a automatic reboot every 6 hours.
meshtastic --set power.periodic_reboot true --set power.reboot_every_secs 21600The rationale for this is that in the event of a bug which manifests over time, due to the nature of the node processing packets (such as #3931), a reboot can temporarily clear the problem and provide a workaround. This makes the difference between a usable node and an unusable node.
This can, of course, be performed manually, and for a connected node by scheduling a
--reboot. For an unconnected node the above would provide a means to do the same.