Here is one that I am thinking of. Many of the newer prosumer routers come with dual wan ports to handle fail over. My friend in Florida uses his StarLink as a backup ISP since his primary went down during the hurricane. The StarLink 3rd generation dish draws like 60 watts and that is a lot of current just to have the firewall ping until needed.
My thoughts are to have the StarLink plugged into a Zigbee outlet. Have the Hubitat ping a address and when the ping fails turn on the outlet, wait 5 minutes for the failover to happen and then ping again that everything is on backup and send notification.
I am pretty well versed with writing rule machine, apps, and drivers code but what do you think is the best way of having an outlet that is controlled by ISP availability?
I use Kasa plugs. WiFi and new ones are Matter. I like them because you can set a schedule to automatically power something on if it accidentally gets powered off. Yes, it happens.
Oh even better, the StarLInk Gen 3 dish is a POE device. Looking up the technical details a POE++ switch can power it. No need for the StarLink router. And with Unifi I can control the ports on my switch with an API call which the Hubitat should be able to do with no issues.
Since my StarLink didn't show up until last night just getting it configured for testing this morning. It will be a good test to do see if POE switching is the best way to go.
Just a update:
Monitoring the current draw yesterday in their app the dish took over 45 watts during setup and settled down to 39 watts. Granted it was cold outside 31 degrees and it looks like the heater was running in the dish. The specs on my Unifi switch is 60 watts for POE++. Found a couple of posts on forums where folks have already done the POE to their own networks through injectors. All I need to do is create a new VLAN with two ports one for the dish and the other for the 4th port on my router where I would configure the failover.
I have the specifications for the Unifi API for management also. The pieces are falling into place. In the meantime, I need to get longer cable from Starlink to bring it into the network rack and a mount for pole where I plan to place it on my property but also make sure I can bug out with the dish if necessary.