AlexandrErohin / home-assistant-tplink-router

Home Assistant component for TP-Link router administration with sensors, button reboot, switches and device tracking.
https://community.home-assistant.io/t/custom-component-tp-link-router-integration
MIT License
137 stars 16 forks source link

Update README with warning about log-outs #67

Closed kividid closed 4 months ago

kividid commented 4 months ago

Hope doc contributions are welcome.

Spent a while trying to figure out why I kept getting logged out of my router's admin portal until I finally realized it was this integration. Highlighting this behavior in the readme could help inform users of this behavior before they run into it themselves.

Excellent integration! Does exactly what I need.

kividid commented 4 months ago

I also did some digging in the tplinkrouterc6u library used to connect to the router. The admin dashboard provides warnings when attempting to log in when a user is already logged in. If that data were available when calling authorize() it would be possible to detect if a user is already logged in and optionally abort the login attempt.

AlexandrErohin commented 4 months ago

Hi. It is already in README

The TP-Link Web Interface only supports upto 1 user logged in at a time (for security reasons, apparently). So you will be logged out from router web interface when the integration updates data
kividid commented 4 months ago

Didn't notice that at all. I probably should have read the docs more closely, but as demonstrated by #63 it looks like multiple people have encountered the same problem. Making this note more prominent in the README may reduce the number of issues submitted by confused users.