[Custom Component] Tapo: Cameras Control

Starting with firmware 1.1.7 the autotracking feature requires Tapo Care subscription, like mentioned in the readme. It still works via integration if you have the subscription.
Internet connection is required for initial setup, but integration is fully local. You can disable the internet access after setting up the camera itself.

Thank you for your feedback.

But Tapo Care requires internet. Or does auto tracking only need Tapo Care activated once and then will work forever in HA?

As far as I know its a monthly service. I do not use it personally.

Yes, it is a monthly service. I thought maybe the integration just needs a one-time activation of this feature to be able to continue to use it.
But if the subscription is needed permanently, then internet connection is also needed.

I guess I will need to look for a different camera then.

I know how to record before the event you need like a 30 second buffer, so bytes fill the buffer from the front to the end so when an event is triggered it records the event and adds the buffer onto the beginning.
You could write something opens rtsp buffered 30seconds

Hi!

Is it normal that I cannot turn on audio from the camera in HA?

Your question is answered in FAQ.

2 Likes

Hey guys,

I’m using several Tapo C200 cameras at home with HA using the Tapo addon and RTSP.

When checking the DNS requests, I’m flooded of 3 different DNS queries from the cameras (see attached).

I can’t seem to find why and where it goes. For info I blocked internet access on my router on the cameras.

Does anyone have the same issues and managed to fix it or reduce DNS queries?

Thanks!



Camera is checking in, I also see this in pihole. It is not related to this integration.

2 Likes

Motion: unavailable

First the device has to detect motion at least once to report it. Until that it is unavailable.

1 Like

Hi Juraj, thanks for the hard work!

Got my C100 working correctly. I can see both streams.
Have 2 issues you may help me with?
1 - Audio is disabled (grayed out), and
2 - I can’t see the stream through the HomeKit Integration.

any suggestion is much appreciated :slight_smile:

Thanks again for the Topo integration!

Hello,

  1. This is answered in readme - FAQ
  2. It might be needed to make the stream public, so that you can see it from outside of your network, not sure about this. Maybe someone else can help more.
3 Likes

someone said about improving motion tracking.
can you set a region ?
i noticed it waits for you to go off the screen before it moves what you need to do is set a smaller region then when the object move out that region the camera moves and tracks the object in frame

Heya!

I’m trying to find a solution to my issue. I have two homes currently (one under construction) and I want to add a camera there, specifically one of my C200.

Since I’m already using this addon, I wanted to :

  • put a RPI4 in my construction home
  • put HA on it
  • put Wireguard on the rpi4 in order to connect my two homes through VPN
  • put a Zigbee key with zigbee2mqtt and link it to my home mqtt broker

The issue is more on the camera side. How can I have the steam on my home HA instance? Is it maybe possible to use the custom steam URL in order to publish the stream on the HA IP using a specific port and use that in my home HA instance? Not sure how this custom stream URL works ^^
Btw I can’t use the camera directly through wireguard since the client is gonna be installed ony my RPI4 and not directly on my router (would be a looooot easier :slight_smile: )

Thanks for your help!

Hey!

I recommend asking this question in a new thread, you might get more answers there since its not really related to this integration.

That being said here is my 5 cents (from worst to best);

  • You can port forward your camera to the public world and add the stream (risky, and you would be able to only port forward one camera since the ports are locked in integration (unless you do some multiple hostnames magic))
  • You could look into a restreamer to run on your rpi that restreams at least a stream. Not sure about onvif and 443 control though.
  • This custom integration: GitHub - custom-components/remote_homeassistant: Links multiple home-assistant instances together I have never tried it and have no idea if it works well and for this use case.
  • Some kind of port forwarding on rpi? Never done it but should be possible in theory.
  • VPN on router, like you said. This is ideal since it would fully connect your two networks.

Good morning from Greece! Well I have a use case scenario in my head and I would like to ask if it is possible… I have my camera set up with frigate for ai assisted recognition. Now I was thinking if it is possible to somehow trigger the camera’s speaker to sound alarm, when frigate’s motion is detected. I won’t be using camera’s motion detection features! What do you think!

Hello, that is currently not possible since its unknown how to send audio to camera. What you can do is use the built in alert system and turn it on and off via home assistant and this integration.

1 Like

Thanks for the answer! Yes but is it possible to set trigger the tapo alarm, while the motion detection is set to off? I guess I will try it to figure it out!