-
-
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
TP-Link Smart Home integration cannot authenticate with Tapo C200 cameras. #132526
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 |
Same thing with my Tapo C325WB camera. After upgrading to HA core 2024.12.1 the message changed to |
I had ha core 2024.7 and ma tapo c210 was not discovered. After update to 2024.12.1 my camera is possible to find but I also getting error: "server response does not match our.." |
@ThatBlockyPenguin the screenshot you've posted suggests something not right with your upgrade. Maybe you need to refresh your browser, delete the caches etc. @adriansuder please make sure you're trying your tplink credentials. if that doesn't work please open a new issue with debug logs and details of firmware versions etc. @timr49 we haven't tested with the C325WB so it's not listed as supported in the docs. Feel free to hmu on discord if you want to help with testing. |
I have new camera and I cant add integration, so I cant enable debug logs and get diagnostic. At the moment maybe I have to low exp with HA, but I do not know how to debug exceptions during adding new integrations. |
Same issue here for C200 and C110 cameras |
Same for me with a C100. |
Same for me with my two C520WS |
Are these two issues related and the app update on the 13th will solve the issue? I am having the same Invalid authentication issues, but I have also had no functionality for my tapo cameras in HA since the firmware update months ago. |
I have just updated to HA core 2024.12.1 & HAOS 14.0 - and suddenly there are 3 newly discovered TAPO cameras (C225 and 2 x TC72) - both of which were integrated into HA via Generic Camera Integration (using RTSP) - and still work fine. However was hoping to have all of the camera diagnostics and entities available now that TP-Link smart home integration recognizes there is this authentication issue. Wonder if I need to remove them from Generic Camera Integration? |
Can confirm, issue still exists after clearing cookies and site data and reloading the page. Also occurs on at least three separate devices (Manjaro Linux PC, Windows 11 Laptop, Android 12 Phone). |
Hi all, also having this issue with a TC70 camera, regardless of device used to access Home Assistant. First occurred on 2024.11.3, now also on 2024.12.1 - thanks! |
Hey, Got the same issue with new plug P110M - I have already 4 of those added & are working OK, yesterday I got a new one and I'm not able to add it - HA can see it, but I'm getting same error message. I have tried resetting the password via Tapo application on my phone. I have logged out on the application & successfully logged in. Also tested that I can log in with the same credentials to https://tapo.tplinkcloud.com/tapo_web/#/login/signIn - I'm on the HA Core Version: 2024.12.1 as well. Has anyone resolved this? |
@ThatBlockyPenguin are you still getting the error in the logs "required key not provided @ data['service']"? |
Same issue here with my c210 cameras. Credentials are correct |
Same issue for me with a TC65 camera |
Same issue here with C320WS camera. |
same issue with P100 outlet , I got 2 but only one that have schedule setting on the tapo app have this issue |
No, not any more. |
Could you paste fresh logs as a text file from the time when you’re trying to add the device? |
This is the full debug log while getting this error attempting to add a C120 camera that recently started being detected:
Less often I will get a handshake error instead:
EDIT: adding that it doesn't seem to matter if I use a correct or incorrect username/password, I seem to get the same errors. Also, I think I got every log message above, but I have quite a few kasa smart plugs, some with energy monitoring, and their debug logging seems to be VERY verbose, so I cut a lot of that cruft out as it filled the log way more than the quick add error. |
I'm having same error message when trying to setup new device and first time integration setup for P115 plug. |
@daubman Those keys ( You could try to remove the device completely from homeassistant, and do some tests using the |
Please keep this thread limited to cameras (ideally C200 series). Non-camera tapo devices use a completely different method of communication and it will not be related to this issue. For issues with any other types of devices please open a new issue and include debug logs. Thanks. |
I'm trying to integrate my new C210 V2.2, but it fails with the same error. |
You can add the two debug lines below to your
|
|
So TPLink released an update to the IOS app today that will probably address this issue. This was thanks to the excellent efforts of @JurajNyiri who is the author of the Tapo Camera custom HA component. Details here. I believe the android update is coming soon. If you still have issues with this integration after trying the third party fix in the Tapo app, please make sure to post them here as they could be specific to this integration. |
Upgrade to HA 12.3 today. And both my TP Link C200 and C210 with latest firmware are discovered. However, after try to connect either one. It will fail with Server repsonse doesn't match our challenge IP error. Even I tried TP link cloud user/password and enabled device account user/password. To go further, I even update device account user/password is same as cloud user/password. Still no luck. Both camera works with TP Link app and ContaCam security Camera software. |
Nice... This guy @JurajNyiri is great. Probably, you'll need to integrate his custom component into TP-Link Smart Home Integration. However, once I integrated my C200 using this way. I noticed that only camera switches are exposed. No camera stream nor feed is exposed. |
@energiumOn you can use my custom integration for a lot more in the meantime 🙂 |
Yes for sure 🙏... I am already using it for my 3 Tapo cameras. |
Live stream in the tplink integration should be in the next HA release: #129180 |
@newstartech have you enabled "Third-party compatibility" in Tapo App > Me > Tapo Lab? |
I am on Android version. No such option. |
Try it again, I didn't have the option in the app the other day, but I just checked there, was able to enable it and I was able to add my TC70 without any issues |
thanks. Found it and enable the 3rd party compatible option. Disable the 2 way authentication as well. After restart camera. HA TP Link smart home works to allow add C200 and C210 camera. I enabled 2 way authentication again. And see if it still works or not. |
Hello,
|
I solved the connection issue for my c200 c210 by following. 1) get latest version of Tapo app. 2) login tapo app, click me, tapo lab, enable third party compatibility. 3), click account name, disable multi authentation. 4) reboot C200 and C210. 5) Try to connect again at HA, type in Tapo cloud username/password. it works. 6) in Tapo app, enable multi authentation again. So far so good |
Tapo update just shown up in play store, it does work now. |
The problem
After updating to Core 2024.12.0, HA discovered my Tapo C200 camera, which I had previously used the ONVIF integration to control. On attempting to add the device via the TP-Link Smart Home integration, once I'd entered my TP-Link credentials, I get the following error message:
What version of Home Assistant Core has the issue?
core-2024.12.0
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
TP-Link Smart Home
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tplink
Diagnostics information
As each device shows up as a new integration entry, and I can't add the device without authenticating it, I cannot obtain diagnostics at this time.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: