Hubitat Internet Watchdog Rule

I have been looking for a solution to monitor my internet availability and alert outside the home. My first thought was to build a SharpTools loop, but since I have Hubitat devices running the Hub Information Driver driver, which frequently updates the ‘uptime’ attribute, I went in a different direction.

This rule will watch for the ‘uptime’ update, grab the time, then delay for a certain period with the expectation that another ‘uptime’ update will occur before checking against the original timestamp plus the expected delay.

It would work with just one trigger device, but I went with two since I occasionally take a device offline and am more interested in internet stability than hub monitoring.

Posting for comments, criticism, and sharing with others.