home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.08k stars 30.57k forks source link

TP-Link P100 goes offline then refuses authentication #121953

Closed MarcusCulverTHL closed 3 months ago

MarcusCulverTHL commented 3 months ago

The problem

My P100 smart plugs are one by one falling offline on Home assist (remaining active on the Tapo Android app).

When removed and the tp-link integration re-polls (forced via a restart) the devices are picked up on the integrations initial scan of the network but clicking configure and prompting for the TP-Link account details it refuses to accept them even though I am able to log in to the TP-Link site confirming thatthe credentials are valid and correctly stored via my password manager.

HA is up to date on 2024.7.2 and the P100 smart plugs are on firmware versions 1.3.7 BUild 20230711 Rel. 61904

My P110 on the same integration have remained active and unaffected to date

What version of Home Assistant Core has the issue?

core-2024.7.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

tplink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tplink

Diagnostics information

Error message when entering valid credentials: image

Log file from Enable debug logging during the authentication attempt: home-assistant_tplink_2024-07-14T20-32-11.677Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

LucVerhelst commented 3 months ago

Home assistant core 2024.7.3 has just been released and should fix the issues that have occurred over the last few days due to tplink throttling their cloud services. After upgrading I would recommend power cycling any devices that are having issues as they get themselves into a bad state after encountering the throttling.

Thanks!! Both for the fix and for the integration. šŸ„‡ šŸ‘ :-)