petretiandrea / home-assistant-tapo-p100

A custom integration to control Tapo devices from home assistant.
MIT License
759 stars 96 forks source link

Authentication and Config Flow Errors After Today's Update #742

Open au51gtm opened 1 month ago

au51gtm commented 1 month ago

After applying the Tapo Integration software update just received and applied today (13 April), I get 'Authentication Expired' and 'Config flow could not be loaded: {"message":"Invalid flow specified"}' on all Tapo devices. I can successfully authenticate one device, but the other two give the Config flow error. After a restart, I am again asked to authenticate all three devices and I cannot successfully escape from this loop.

tjorim commented 1 month ago

There seem to be some changes happening in the Tapo authentication backend, there was also a PSA about the Tapo camera control custom integration and I had some issues with the core tp-link integration yesterday as well.

joaofgf commented 1 month ago

i've got the same problem in 7 tapo plugs. image

joaofgf commented 1 month ago

the problem remains after today's update.

au51gtm commented 1 month ago

I'm not sure if the updates of today have resolved the issue or not, however I was able to clear the last remaining authentication issue this afternoon (14:00 UTC), with no recurrences. I can't be completely sure, as the errors would pop up every 24 hours or so, so let's see what tomorrow brings.

larionof commented 1 month ago

I'm not sure if the updates of today have resolved the issue or not, however I was able to clear the last remaining authentication issue this afternoon (14:00 UTC), with no recurrences. I can't be completely sure, as the errors would pop up every 24 hours or so, so let's see what tomorrow brings.

I thought all was good( authentication was successfull on half of my devices) but then they as for reauthentication again in few secs, mins or hours. Also, some give "config flow could not be loaded" -error, and some do not accept the password.

So, do not unfortunately believe the issue to be rectified yet.

Edit: and funny thing is my cameras work just fine, only my sockets don't work( related to Tapo, Kasa works fine). I also can't authenticate my Deco's( they popped up with last update, never seen them in HA before)

Pugwash69 commented 1 month ago

I have the same issue with 5 TP-Link bulbs, all giving the same issues as described.

au51gtm commented 1 month ago

I agree, it's still not resolved. I've just had to re-authenticate one of my devices.

au51gtm commented 1 month ago

More authentication requests this morning . . . . .

njhcarroll commented 1 month ago

I have the same issue. I can reauthenticate any device and immediately the other devices requesting re authentication drop off the list in the devices section but not in notifications. Any restarts and problem just returns. Oddly the Tapo devices all seem to be working.

GazzaP1 commented 1 month ago

I have the same problem, The 3 plugs I have (In HA with the HACS Integration) were all working great up until the update on 14th April 2024, Driving me nuts. I have removed two of them as I couldn't clear the (config flow) notifications, The remaining one I have to Re-Authenticate every 12 - 24 hours, It varies, or if I have to restart HA for any reason. I have tried resetting all plugs back to factory settings and going through the setup procedure again, all firmware reports as up to date, I even removed and Re- installed the HACS and TP Link integrations within HA. Hope a solution is found soon as I'm already looking at alternatives for the Tapo.

perjury commented 1 month ago

Same issue with 3 Tapo plugs

larionof commented 1 month ago

So, no resolution to the problem and possibly will not be in a while. But...

I decided to ditch the 'TP-Link Tapo' -integration and use 'TP-Link Smart Home' instead( I did use this one for my cameras already for longer time, as well as with Kasas' devices). All automations and scripts work now as should.

Obviously I will lose my device history if I remove the integration so I will still keep getting the errors until it's removed for good

eacxx commented 1 month ago

I'm another victim of this issue. :( Let's cry together

puppleStar77 commented 3 weeks ago

When I log in, it says ‘success’, but after 3 seconds, an authentication error occurs again. The login window keeps appearing. I’ve checked both the account and the password, and even though the login success message has appeared " Re-authentication was successful", the login window keeps popping up. Iam crying 스크린샷 2024-05-06 134930

Alllfff commented 3 weeks ago

same issue but only one plug out of 8

eacxx commented 3 weeks ago

As about myself, I've removed Tapo integration and I'm only using TP-Link one... All it's OK until now.

Pugwash69 commented 3 weeks ago

As about myself, I've removed Tapo integration and I'm only using TP-Link one... All it's OK until now.

That's what I did too. Had to change all of my dashboard items, automations and scenes also though.