Hubitat C8 - App to monitor WIFI connection

I have a C8 hardwired to the ethernet connection. My wifi sometimes drops and I am looking into the drops. In the meantime, does anyone know if I can set a zigbee plug to respond a wifi outage? I would like the plug to be notified by some event and then restart my router.

This would also help me pin point the time the outage start if I have the event set to once 1 minute.

If you have an always on device like a raspberry pi, NAS or PC, you may be better of keeping an eye on the Wi-Fi in that device and then reporting the status to HE.

1 Like

What @sburke781 said. You could also use ping() from Rule Machine with a periodic schedule to monitor if your router is up.

1 Like

Good point, another device won't report back without the router.

Alternatively, if you have a Wi-Fi connected device like an Android tablet, you could set a heartbeat report back to HE in something like Tasker, then detect that the device has not checked in after X minutes.

All that said, I would warn against restarting the router based on these detectors. Instead I would suggest making some other indication that you need to look at your router.

Thanks, I did not want to manually watch the connection for the typical reason. "if my wife is home I do not want to get a call how to fix".

The raspberry idea is the right direction, but I do not have one.

The ping to the router would not work since the c8 is hardwired and always has a connection. I can ping a wifi device but I need to see if there is any on my network that never sleeps. I will check this out.

The reason I warn against automatically restarting the router is there can be too many other possible reasons for connectivity between two devices to be impacted. If you try to ping a Wi-Fi device, it could be the device that is the problem, for example. That's not to say it is a bad idea to use it as an indicator of a potential issue, just that responding automatically to a negative result may not give you the results you would want.

This was meant more as an additional check, at least IMO. If you did have a hardwired rpi checking the Wi-Fi, it wouldn't be able to tell HE if the router was down.

Ok, I will not reboot the router. What is an "EPI"?

It is a typo :grin:. Will adjust it to rpi.

It's an Elderberry Pi :grin:

2 Likes

And I fart in your general direction :sunglasses:

1 Like

Always nice to hear Americans quoting Python, who had often little-known success in the U.S.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.