Kane610 / aiounifi

Asynchronous library to communicate with Unifi Controller
MIT License
60 stars 53 forks source link

Question: monitoring Internet is down? #724

Open Gatsby-Lee opened 2 months ago

Gatsby-Lee commented 2 months ago

Hello,

I am wondering if there is existing functions that monitor the current Internet status. If there is one, I am wondering if it is integrated into HA.

Thank you Gatsby

Kane610 commented 2 months ago

Do you mean like link up or down? Not currently implemented

Gatsby-Lee commented 2 months ago

Do you mean like link up or down? Not currently implemented

YES, correct Recently, my Internet was down. And it came back after I rebooted the modem.

If aiounifi can get the state of the Internet status, I guess it can be used as a entity and automate restarting the modem by turn off and on the smart outlet.

what do you think?