[Custom Component] Tapo: Cameras Control

You have to create a user ID and password in the Tapo app first before you can add the camera to HA.

Yep, I’ve got a camera account for each one and confirmed its credentials many times. Still says invalid authentication data unfortunately.

For the rtsp authentication problem, it seems the tapo app is bugged (because I’ve got the same pb if it try to load the rtsp stream with VLC).
Solution is to disable and then enable the camera account (not removing it). Then just add the camera in the Tapo Control and it will work.

I have the plugin working perfectly except for the sync part. I have set 24 in the sync hours and the path. In the path it has created the video and thumbs folders but nothing appears inside (I have restarted the camera, HA, etc.) Am I doing something wrong?

Did you turn on “Media Sync” in the settings?

Yes. I have 2 cams and both of them have media sync enabled in HA

see screenshots

Imgur

Imgur

hi, having full success with other types of Tapo camera I bought an C410 (HW version 1.0), but I do not have the ‘Camera account’ menu so cannot create the local account needed to integrate the camera. Anything I am doing wrong?

I have the same problem with the 410 and it seems the battery cameras are not supported :frowning:

OH YES THE ARE SUPPORTED!! In the best way with the addition of “Media Sync”

This works for me now and has worked for me before the firmware issue. If you read above you will get some clues to make it work for you.

First thing was there’s no camera account, but it is not needed, use the password that you use to log into the app.

Second, while using Tapo: Camera Control, I found it necessary to reboot the camera from the app right before I tried to add the camera. I was getting an error that it couldn’t connect to the camera. Immediately after the reboot, I was able to connect. I assume because of the battery, the camera was sleeping.

Third, like someone said earlier in the post, after enabling the Third-Party compatibility in Tapo Labs, I had to wait a few days before it worked. Probably 3 days, didn’t really take note of it because I checked the post here and was trying every day since reading I had to wait.

Fourth, Media Sync kills the battery pretty quickly, so use an automation to turn it on and off.

1 Like

You don’t need that with the C4xx battery cams, use the password you use to log into the app. If it still says invalid password, there kind of a waiting period after enabling Third-Party compatibility. I actual had to chance my app password because I forgot it, but worked after a couple of days.

1 Like

Can you try it with a share path? I just duplicated your error, my Config path created the folders but no files. But when I use folder I created in /share/XXXXX, the files are saved.

Hi an thanks for the help :smiley:

Now it works, I have reconfigured everything from scratch and in the same path that I have. The problem is that the videos are downloaded, after two or three minutes they are deleted and downloaded again (I imagine that is why it is called “sync”). This is not a problem (at first) because I could do something to copy them to another folder and that’s it. The problem is that the name of the files does not have information to know when the date and time of the recording, since they come out with numbers (for example: 1735292041-1735292056.mp4 which is from today). Is there a way to change this?

Thank you so much for this feature! It works very well with my automation that turns it only when I have the direct sun on the solar panel. Allowing it to be charged at the highest rate during the file transfers!

I really appreciate all the work you have done!

Thank you! :beer::beer::beer:

1 Like

Update: thanks for those who advised I have the camera in HA now. Only think it takes a while to ‘wake up’ the camera from HW while it’s just a couple of seconds in the app.
Cheers!

If you have a solar panel connected or another power source, change the update interval to help with this. If only use the onboard battery, it drains pretty fast.

Hi, I am using 2 off C210 cameras with HA and Frigate and generally all is well.

However, both cameras will randomly go unavailable for a period of time - normally around 20 seconds - but sometimes longer. If they don’t come back i just need to reload the integration.

They will work again for a period of time maybe upto 2 hours, then drop off again.

When they show unavailable in HA i can still ping them, and the Tapo app works fine.

Here is a log from when 1 off them went unavailable if anyone could point me in the direction to fix this.

This error originated from a custom integration.

Logger: custom_components.tapo_control

Source: custom_components/tapo_control/init.py:599

integration: Tapo: Cameras Control (documentation, issues)

First occurred: 14:39:12 (26 occurrences)

Last logged: 15:25:12

‘utf-8’ codec can’t decode byte 0x8f in position 2: invalid start byte

(“Connection broken: ConnectionResetError(104, ‘Connection reset by peer’)”, ConnectionResetError(104, ‘Connection reset by peer’))

1 Like

HI All, a bit confused. I see comments about thhe TAPO C425 camera - maybe working, maybe not. When I check the github integration page, it is not listed as working (I mean supported) - meaning the camera streams (video) (HD and SD) do not work. Appears all the other camera features work.

So for clarity…the TAPO C425 camera streams do not work?

If the camera does not have rtsp stream it does not work via this integration, but this integration along with go2rtc can be used.

@JurajNyiri Many thanks for the quick reply.
So did some searching - thanks for the que on RTSP and found this link: [Tapo C425 - Why is this with RTSP ?!? - Smart Home Community](https://TP-Link C425) which states this battery powered camera is not RTSP compliant. Bummer. More lessons learned. Still a good camera, just have to figure out how to employ it. Hmmm… (self counseling here) and watch what I buy in the future.
Thanks !!

Not sure how to use go2rtc. Suggestions…guidance, etc?