My Satellite modem locks up occasionally and needs a power cycle to restore internet connection. So I got a Zigbee outlet. I see RM 5.1 has a Ping function but struggling to see how to implement it inside a conditional action.
Trigger: every 30min
Action:
if (ping 8.8.8.8 == false) // if ping failed
{turn outlet off; delay 15sec; turn outlet on;} // cycle outlet off/on
That's basically what I want to do. Anyone figure out how to do a similar thing in RM?
I have a an Outage Pinger app tied to a virtual switch, I could use that switch state in the RM action but would prefer to do it all in RM.