Hi all,
my router is connected to a Shelly (4PM) and would like to have the ability to reboot it when I’m not at home.
Moreover, if someone accidentally turn the Shelly switch off I want it to turn it on again after a fixed time, in order to not be cut out from my house when I’m away.
When my router is off all network devices cannot communicate, so the automation has to be stored and executed on the Shelly itself.
I think it would be also wise to implement a “safe rule” to avoid to turn the switch on again and again in case of some kind of malfunction (eg. a counter that stops the "auto turn-on" loop if triggered more than n times in the last 5 minutes).
Is this doable with a Shelly's script?