This fixed it for me. I updated the firmware of my power strips and they all got disconnected from HA. Looks like that Third-Party Compatibility toggle was disabled after the firmware update was complete. Re-enabling it using the Kasa app, and then logging in with my TP-Link credentials for each power strip in HA fixed it.
I had the same issue. All of my devices were originally set up in the Kasa app. I had to link Tapo with Kasa, enable Third-Party Compability, then basically readd the device using the host IP via the Tapo integration by clicking the Add Integration button on the Devices and Services section.
No clue why it had to be added that way, but it worked. All my Kasa and Tapo devices shows up under the TP-Link Smart Home integration in HA.
I got it to work! Iâm not exactly certain how though Here are some things I did based on reading related posts:
I have been using the Kasa android app. I opened the Tapo app and logged in. I was able to see all my devices, but didnât find a global third-party enable option.
WHAT I THINK DID THE TRICK - The Kasa app has a third-party area in the app, but no global selection (just things like Amazon and Google). the TAPO app has the same, PLUS a global third-party options, which for me was OFF - so I turned it on.
I went to https://www.tplinkcloud.com/ and ensured that I could log in. I also changed my password. I didnât actually "change it. I just created a new password with the old one.
Powered off my strip for 5 minutes and turned back on.
I went back into HA Integrations and clicked on the auto detected TP-Link strip and authenticated just fine.
I can now see all my existing devices and the new strip.
As a side note, I also tried to install the Tapo integration, which it said would work with TP-Link integration. When I selected âenable or yesâ, it said it couldnât be configured via the UI. Not certain what that was all about.
Update: Well - that was short lived. Says, âreconfigureâ again, but wonât. The only thing that happened was my Alexa asked for permission to re-link. Maybe that broke it. Either way, it wonât reconnect.
Mine was doing the same thing. I had tried almost everything others were saying and I kept getting the error.
What I ended up having to do was, I had made a new account because of troubleshooting something else but it wasnât allowing me to login on Home Assistant for Kasa stuff. I tried both logins and nothing worked. So I had to delete my account I wasnât going to use anymore and then everything worked.
Just tested and littlemaui is correct that if you have been using the Kasa app, you need to login to the TAPO app and turn on global third party options, which enables integrations for all apps, including Kasa.
This immediately fixed the issue for me. Iâd previously tried resetting my password, power cycling, and disabling two-factor authentication.
Does the HomeAssistant documentation need updating too, warning users of this issue as a show stopping prerequisite? Should the integration installation routines also prompt, prominently? Raising a GitHub request may be the way to bring this to the developers attention to improve their reputation of a reliable integration.
Thank you so much @lacroix and @littlemaui for finding that 3rd party setting in the Tapo app. That resolved it for me as well â for now. Iâm sorry to hear that it stopped working again for you @littlemaui. I hope youâre able to find a solution.
Notice this marked as solved but it seems it really isnât.
Iâm having the same problem. For me, I have a mixture of HS300âs, HS200âs, HS220âs and KS230âs. All was working fine until I added a new HS300. When I added the new HS300, all the two existing HS300âs went into an error state, wanting to be re-authenticated. Iâve toggled the 3rd party setting in the Tapo app. I donât have the Kasa app loaded, only the Tapo App. I even tried everything listed in this thread, nothing has worked to fix the HS300âs. I even tried using a simpler password, that didnât work.
Thank God the H*/K* switches work, or thatâd be the end of Home Assistant in my house. My family would revolt!
I was getting the same error adding my P316M. My solution, I added it to a different HA server as a tapo device, then the same username/password worked fine on my first HA server.
Same issues w/ tapo C520CW cam, I had to go into tapo app in my account settings and enable third party compatibility. And then into camera setting under advanced setting, provide a user name and PW in camera account. In HA, I type in the user name and PW that I used in the camera account. Solved my issue. I hope this help you!
I was having the same issue and I found that this was only the case for me with my HS300 devices. Those devices would say that the challenge IP didnât match and I kept getting the authentication error message even though I know the credentials are correct since they work for any other tp-link or tapo device.
I decided to probe the device via the CLI by doing the following (on macOS):
After running those three commands, I ran the following to ensure I could see the device via the network:
kasa discover
That showed me a list of devices but not all since I had them on my IoT VLAN so I then probed the device directly by running the following command:
kasa --host 192.168.x.x sysinfo
That showed me the device info so now I was certain that the device is communicating on my network
The next step was to add the device manually instead of discovering it because seems like the discovery path was flaky, probably because of my VLAN.
In HA, I âAdd Integration â TP-Link â TP-Link Smart Home â Enter the Host IP for that deviceâ and once I did that, it saw it and didnât require a user/password and it added the device without issues.
Note: you may need to fully reset the device and re-add it to your network first and also ensure that in Tapo and Kasa that you have third party integration/services enabled.
This was the only thing that worked for me as nothing else previously stated in this post worked. Hopefully this adds as another fix for others that may be experiencing the same issue
I recently had this issue after updating firmware on other tapo plugs. I had two that just suddenly stopped working with the 403 error. My password hadnât changed and I couldnât figure out why suddenly youâd get an auth error.
In the Tapo app the option to âenable 3rd party compatibilityâ had appeared and been turned on. That killed HA integration completely. As soon as I toggled that on, everything came back.
I had an interesting discovery trying to figure all this out. If youâre using a password manager, the Kasa app trims the password at a given length. The password I had in my password manager was longer than was being submitted to Kasa. I didnât bother counting the length, but if youâre having trouble despite all the above, check the last character of your Kasa password vs the last character of whatâs being entered into HA.