[Custom Component] Tapo: Cameras Control

Hi. Love this component! Motion detection works great even if it ‘becomes unavailable’ (it inmediately comes back on when movement is detected).

However, I am unable to get Sound detection. It’s enabled since setup, multiple HA and camera (C100) restarts since then, and nothing (I’m tapping and talking to the camera). Does it create an entity, an event,…?

I don’t know what am I missing.

Edit to add: I am able to have noise detection by adding this to configuration.yaml:

binary_sensor 2:
  - platform: ffmpeg_noise
    name: sound_custom
    input: -rtsp_transport tcp -i rtsp://username:[email protected]/stream2
    peak: -2

Thank you!

Hey, it is via attribute. You can read up on it here.

You’re being unreasonable. You came into this thread with a poor attitude. Please stop. If you have questions related to attribute triggers, please make a separate post. Thank you.

3 Likes

I really don’t know where to praise the brave troop who created this integration :sunglasses:, except here.

It took me literally 45 min to: unpack my new C200 camera, configure the necessary TP account, install the HACS integration in HA, configure the camera in there (see that it works with the simplest lovelace) and setup the UI with camera control on my dashboard.

Awesome!

@JurajNyiri anf those who contributed, well done, as simple as that :muscle:

5 Likes

I dont seem to be able to enable privacy mode on my tapo cam’s. I’m trying using the command in developers tools>services but nothing happens. Cameras are working fine on the dashboard but say unavailable for status. Could that be causing command to be ignored or are there other reasons why it mightnt be working?

cheers

Hi,
I have the same problem. I configured my modem and router with the port forwarding (tcp/udp 554; 443; 2020) but I receive always Connection Failed". Is there any other configuration file where I have to insert some rules?
Thanks

Having the same issue with Connection Failed.

I’m currently running Home Assistant 2022.2.7 on a Home Assistant OS
Tried with Tapo: Cameras Control 3.4.4
My Tapo camera is a C100, working while trying to see the feed with VLC using rtsp.
My router is an Tp-Link AX1500 Wi-Fi 6 Router
I have setup Port Forwarding and Port Triggering for all the mentioned ports.

The only ‘strange’ thing in the configuration is that my camera is connected to a Guest network because of the 2.4Ghz limitation of it. My router has a Smart Connect mode which uses the same SSID for both 2.4 and 5 wireless bands and for some reason, the camera doesn’t support this feature (funny, huh?)

LE: I took a look at the Router settings and found this:

  • Allow guests to see each other

  • Allow guests to access your local network
    Checked them both and now the camera is working!

Hello,

I was trying to set an automation to send me notifications to my phone on motion detection only if I’m NOT at home (away mode), and when HA detects the presence of my phone at home, the mode changes to “at home” and disables notifications and motion detection.

I was trying to automate this with no luck, anyone can help me? I thinks this could be very useful

I did the exact same thing:

alias: <desired_alias>
description: ‘’
trigger:

  • platform: zone
    entity_id: <your_device_tracker>
    zone: zone.home
    event: leave
    condition:
    action:
  • service: <notify.device_entity>
    data:
    title: Notification title.
    message: Notification message
  • service: tapo_control.set_motion_detection_mode
    data:
    motion_detection_mode: high
    target:
    entity_id: <your.camera_entity_id>
    mode: single

To switch off, the same thing just change event: enter and motion_detection_mode: off.

2 Likes

@JurajNyiri, have you updated your cameras to the latest firmware? Does the motion tracking working again?

I am just asking, because I am still on the old firmware where it is/was still working, but I looked a few days ago into the Tapo app and saw this setting option there:

@charalambos @ArsenioLupin … None off you have provided any logfiles, so it seems like you haven’t checked any, none of you have provided any “detailed” procedure in regards, whether your cam is working in your TP-APP, whether you have giving 3rd part access to your Cam (in your phone-app), but only “loose” descriptions … with that in mind, it’s pretty hard to tell, what or where … i just installed (reinstalled) a cam in latest Tapo: Camera Control -integration … i.e type in your ip (check) type in your camera name/password (check) … Camera password !, Not TP-account … no ask for ports or anything, if you have issues with your network-setup in common, read the manuals for your various routers … as you have to setup the cam’s in your app, the cams should be on the same network as your phone(unless you decided to choose another, type guest-network, 5.0-wifi or whatever … when you checked your log-files, secured you have followed above, correct

Nope, haven’t ever tried … not a fan of “trial” … can you tell what happens after the 30days-trial ?, still limited functionality ?, or is it just 30 days(2hours in total) more or less fun ? :slight_smile:
PS: yes im on latest firmware

I haven’t actually clicked on it. On the old firmware the tracking was an undocumented “feature”. If it was turned on then it was tracking the object when it was moving.

The documentation of the custom component has here how to turn on the auto tracking, but the function was not working after some firmware update anymore.

ok, im sure they have removed the “undocumented” version(which i also didn’t “try out”), probably the reason why it stopped working for you, … and as don’t find any “use-case” for me, i wont spend time, or risk of “failure” somewhere/sometime (as you did with the undocumented version) … so if you really don’t have any “specific” reason to use this “cloud-feature”, i wouldn’t “load” my HA with this “extra” cpu/memory consuming feature(not that i dont have sufficient hardware) , but if you “point” your camera’s “default” direction towards the area you want to cover, you have a pretty “wide” spectra … (after detection area) , and as the functionality is within the cameras firmware, you will probably soon find a “local” integration , if not already done, in other GitHub-reposetories

Thanks, but you don’t understand what I am really talking about. This is not a feature of the integration, but the camera. It wasn’t a cloud feature, and probably it still isn’t.
And I asked the author of the component because he must be running the latest firmware and tried these things again and again meanwhile developing.

Otherwise, please have a look on the Thank You part of the first post of the topic, just to understand, I am fully aware how these cameras work. :wink:

Sorry i didn’t noticed that you were asking the Developer of this integration, whether he had updated to the last firmware on his cam’s and phone
Yes im fully aware it’s a “device” feature, … that you wondered if it works (again) … and it appeared to me that you were talking about the previously one(undocumented) you tried, as well as the now, in latest ( firmware) update official ( In the App, on your phone)which is a (Motion Tracking ) subscription for 30days cloud video history … And it (motion-tracking, AI) don’t work in the phone-app unless you subscribe, and again, even if it did in both app and HA, i find very little use for it (beside maybe AI) :slight_smile:

I am now on 1.1.16 Build 211209 Rel.37726n(4555) on Tapo C210 HW ver. 1.0 and can confirm that auto track mode works as expected, both setting and reading state, but requires active Tapo Cloud subscription.

Without the subscription, camera accepts the command, shows the option as “on” even in the app, but does not move.

I will update readme that active subscription is required for this service to work.

2 Likes

I Really appreciate your Integration, and your always easy to read, detailed information

1 Like

That is a pity… I am really curious what else the subscription sets on to make it work, as previously it did not require the cloud for that.

Thanks for checking it!

Activating trial did not require anything other than clicking a button.
Your guess is as good as mine, but it’s probably just setting some value somewhere to true. Even if that would be the case, I will not develop or accept any PR enabling such functionality as that could be considered cracking and/or pirating. Also I would like to ask everyone, to please keep any discussion discussing such ways out of this repo and thread.

Unfortunately, we are living in a world where HW functionalities can be sold as unlocks via software. Morality of this decision is up for everyones best judgement, the truth is that it was never available in the app.

1 Like