Any Idea if This Rule is Possible…?

Rule Machine has a built in Ping action.

In my test rule, below, I pinged google.com (hubitat only likes the ip address in numerical form) every 10 minutes.
A local variable is set to the result.
0=0% loss, ie, up; 100=100% loss, ie, down.
If variable =100, cycle switch for 15 seconds

If you had a Zooz ZEN04 you could set the auto/on feature so all you'd have to do is turn if off and it would turn itself back on after a preset amount of time elapses.

I'm sure there are defects with my logic, which will undoubtedly be pointed out, but believe it or not, I unplugged the ethernet cable from the Hub and it does seem to work.