[Custom Component] Tapo: Cameras Control

Yeah, seems like its the same camera as C200, just without pan/tilt.
I bought one C100 and one C200 yesterday, looking forward to test them as soon as I get the time.
I also noticed on the TP-Link website there is an outdoor Tapo camera coming soon:
https://www.tp-link.com/en/home-networking/cloud-camera/tapo-c310/
I think this one will be really interesting as well, if it is priced as affordable as the rest of the Tapo series.

Thank you, and the others for these. I did need to make an addition to the reboot action of “Camera control example” as it complained it was missing

      service_data:
        entity_id: camera.tapo_camera_xxxx_hd
1 Like

I have a C100 outside at my frontdoor, its in a sheltered position under the eves of the entrance but has been running fine for 2-3 months now.

Thanks, that’s nice to know. I could probably do the same at my entrance, but not for the other walls. Where I live we also have all kinds of harsh weather, so it would be nice to have the extra protection. Also it seems to have higher resolution and longer night vision range, which can be useful. If it’s priced fairly I will probably try it out when it’s available, especially if i also works with this custom component.

Hi, I’m havinh problems adding my camera. I fill in my tapo credentials (Username/password is the ones I created in the Tapo app) and my cameras IP address.

What format should the IP have? http:// or https:// or just the IP as 192.168.1.xxx?
When using only 192.168.1.xxx i get this


when using http://192.168.1.xxx I get

Any help is appreciated!

Hello,

it should be IP address, usually 192.168.x.x.
Username and password are set in the Tapo app, under advanced settings, under camera settings. Use whatever you set there over here, do not use your Tapo cloud account.

image

If it still doens’t work try setting different username and password in the app.
Also check if credentials work in rtsp stream via vlc.

If i remember correctly i had problem with the password for tapo. I had other characters than numbers and letters in the password. When i removed those it worked.

hi
I have install tapo camera with hassistant core 116 on python 3.7.3 and it work well,
but when i migrated
to python 3.8.6
and reinstall homeassistant
and restore old configuration
only tapo camera control fail
in log i found
R (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration tapo_control: No module named ‘zeep.asyncio’

can help me
thanks

You will need to install this module via pip

I’m just in the market for a new cam, and this component might sway me into direction of Tapo.

I have one question - if I understand it correctly, you can’t control cam PTZ on-the-fly, but you can point it to any of the presets that you might have defined?

Hello,
You can also send right, left, up and down command. And you can set how much it shall turn when it get the command.

Integration does not currently work with Home Assistant 0.116.3. Official onvif also does not work.

This seems related to https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/30 and https://github.com/home-assistant/core/issues/41886 .

Lets see if it gets fixed on Home Assistant side, if they fix in onvif integration I will follow.
For now use 0.116.2

Edit: Now works on 0.116.3! As a side effect, it also fixes the official onvif integration.

3 Likes

Version 2.1.1 has been released. Includes a fix for Home Assistant 0.116.3.

As a side effect, this also fixes the official onvif integration because of how dependencies are handled in 0.116.3. Your results may vary on this though, only tested on HassOS on rpi.

2 Likes

I updated from 0.116.2 to 0.116.4 though still on 2.1, and the problem was fixed - I still see my camera and no error reported like before.

Not sure if I should update to 2.1.1 or leave it.

You can update to 2.1.1.

1 Like

Done, and I think it’s ok so far

Hm, I don’t know how I missed that. Thank you, it works as expected now😊

Version 2.2 :sunglasses: has been released!

This release is all about the quality of life improvements.

New features

  • Change authentication data and other options via Tapo Integration Options.
  • Disable / Enable camera entities via Home Assistant entity manager (make sure not to disable motion sensor via entity, check troubleshooting if you did).
  • Disable / Enable motion detection (= the whole onvif connection) via Tapo Integration Options.

No reboot required!

Other minor changes and fixes

  • When an error occurs while adding or updating the camera in integration page, the inputs do not lose entered values
  • Other minor fixes

Pictures


4 Likes

Superb work. The speed at which you have built and evolved the functionality of this component is really impressive.

1 Like

Just installed this. OnVif wouldn’t give me all the options, so i gave it a try a few minutes ago from HACS.

It was very straight forward. Very easy to test since there were examples on how to create your cards.

Few things im not sure is are suposed to be like that, or if it is only my lack of knowledge about how Home-assistant services:

  1. You can save and delete presets, but can’t figure out how to use them.
  2. Don’t really know if it was supposed to be possible to view the saved movies.

Thank you for this.