-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Tapo P115 fails with Server response doesn't match our challenge #133164
Comments
Hey there @rytilahti, @bdraco, @sdb9696, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) tplink documentation |
Could you post more logs including the earlier log message which includes |
I'm receiving the same error message when trying to setup a new P115 plug using the updated Tapo app with third party compatibility enabled. I have multiple working TP-Link Kasa plugs but this is my first TP-Link Tapo plug. Everything works in both Kasa and Tapo apps for iPhone. I can sucessfully add Tapo cameras (C120 & C325WB) in HA via the TP-Link Smart Home integration, but none of the new P115s will work even thou they are detected (have also tried to add them manually via IP). When I connected the new P115 plugs to my Tapo app via bluetooth on my iPhone it did successfully complete a firmware upgrade process, current version is 1.1.3 Build 240523 Rel.175054 |
Digging through the logs in HA there is nothing else with the IP nor DISCOVERY. Do I need to enable some other debug? |
My previous understanding was that you should be seeing those as long as the debug mode was enabled on the integration page (and that you had restarted homeassistant after turning it on), but if not, you can modify your homeassistant logger configuration to include |
This is all I'm seeing now after enabling debug and restarting HA
|
How did you provision the device? It says |
Its being discovered. I also tried doing directly with add device and then entering IP address. Results the same. Same issue on #113137 but no clear resolution on that. I did try rebooting the device by pulling power and that did not help. |
I had a similar issue with one of my smart plugs. Try removing it from the Tapo app and then completing an hard reset by holding the power button on it for 10 seconds until it blinks a green flashing light. Once it has done this, re-add it to tapo app and then try adding it to HA again. I think on my plug it hadn't synced the username/password correctly and doing the hard reset seemed to resolve this. |
I just did this on 1 of 3 new plugs and it fixed my problem, same prompt for username & password but it worked this time, thanks for the 101 suggestion! |
Odd, its not working for me. It never blinked green only blue? Remove from app, it resets on its own. Hold down for 10 seconds and it blinks blue fast then goes to orange/blue. Re-set up in app, same error in home assistant after. It fails so fast its almost like its not even trying to hit Tapo cloud auth before it fails. |
Looks like blue is correct for the p115: https://www.tapo.com/uk/faq/30/ mine was the p100. |
My experiences were different, but all sucessful. I do not have the Matter (BETA) installed but still have the Third-Party Compatibility On in the Tapo app, I haven't tried turning it off yet). Plug 1 = I removed from Tapo app, held the button for 10 secs and it powered up my device (e.g. reset to on). It popped up in my app to add, but I ignored and setup manually via Bluetooth instead. During setup it detected a previous configuration and asked if I wanted to reuse or discard. I chose discard and completed setup normally. When I returnned to Home Assistant I had to enter email address and password (not username) and it worked! Plug 2 = Similar process but never mentioned previous config or disgard, and honestly I didn't notice any green lights, just blue & orange under my finger. When I returnned to Home Assistant I had to enter email address and password (not username) and it worked! I just clicked add on the detected things, not via Integration or IP like others have suggested. Plug 3 = Similar process, but this time no discard option either and I wasn't prompted for username & password in Home Assistant. This time I just clicked add and it asked me to confirm the area. I'm good to go! |
Are these 115s or another model? |
Ok so I got 1 working using the methods that @dhilltx pointed out!
Here is the interesting thing. When setting these up in the app. When it discovers them on its own, it shows an image of a European style plug either P105A or TP10 NOT the P115. I think that perhaps its discovering them as a wrong device in Tapo app and apply some sort of other config?! Possible GDPR protection maybe or something? When telling it the specific model its the correct image during setup. That's the only thing I can think of. |
I can confirm I saw a foreign recepticle icon in the app auto detection also, glad you are up and running! |
Same issue except with a bunch of P100's. This fix worked perfectly as described above.
Home Assistant then allowed plugs to join with no user/password errors. |
i tried these steps and had no luck with my HS200 & HS220 |
The problem
Receiving an error when attempting to add P115 Plug. I have other models working fine.
Invalid authentication: Server response doesn't match our challenge on ip
This issue has the same error as #132526 which was opened for cameras.
DEBUG
What version of Home Assistant Core has the issue?
core-2024.12.2
What was the last working version of Home Assistant Core?
core-2024.12.2
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: