...
Create logic for alarm motion sensor:
Sanitary rebooting of the unit
This can be useful for remote devices that the client may not have access to them.
We will make the system reboot twice a week, on Monday and Thursday. First create the timer in "weekly" mode. Set the “Start date” and “End date” so that there is a short period, only a few seconds. Set the necessary days for rebooting.
Create a logical scheme that will reboot the system when the timer is active. The system has protection and is not rebooted in the first 15 minutes of work.