Skip to content

Restarting the Raspberry

jbaumann edited this page Apr 4, 2022 · 2 revisions

Restarting the RPi

Starting with release Release v2.14.0 the ATTiny_Daemon will only try to restart the Raspberry Pi once. Before this release, the restart was tried every timeoutseconds.

If the restart is successful, normal operation commences. As soon as the communication with between RPi and ATTiny_Daemon is established again, the restart-counter is reset.

If the restart fails, the ATTiny_Daemon blinks 5 times (with a lower frequency) instead of 10 times whenever a timeout has been reached.

Why only one Restart?

If the communication between the Raspberry and the ATTiny is broken, but the RPi is still running, then the RPi boots, starts its normal operation and after the timeout is restarted by turning the power off and then on again. If this is done e.g., every 2 minutes then in one day this means 720 restarts. From personal experience I can say that this can destroy an SSD, and probably other storage mediums as well.

Triggering Additional Restarts

Additional restarts can be triggered by pressing the button. This resets timeout and restart-counter, which means that after the next timeout the ATTiny_Daemon tries to restart the RPi once again.

Clone this wiki locally