Have not seen your project before now, seems very good with pan/tilt functions and much more.
In my HA production I already have Tapo C200 installed with Onvif, working fine. (Motion detection and video recording)
Just bought Tapo C310 for outdoor, expected they used the same firmware as C200. But no…
Testing with my HA demo server, both Onvif and this Tapo component fails at login.
Any tips for how I can debug this camera to see how the authentication has changed?
Onvif worked when I testet from my Android phone with Onvifer app
update:
Something wrong with my HA test server, Onvif worked on my other HA installation
Already used port 2020 when I have tested… But thanks for your confirmation that Onvif is working for C310. Now I tested Onvif on my HA production server (where C200 already was added), it worked!
Something buggy with my HA test server, I need to reset it.
Thanks @dp106
This release adds supports for the new Tapo C310 and prepares for any other future camera releases on the same firmware.
The difference between C310 and the old cameras is that the C310 no longer accepts account created via the app for control and only uses “admin” user for control. This user has the same password as the one for your cloud account.
However, it is not needed to provide cloud password for cameras which do not require it (determined automatically by the integration).
Your cloud email is not required and all communication is and always will be fully local. Absolutely no cloud / internet requests are made by this integration.
Breaking changes
None. Your settings will be automatically migrated properly.
New config flow
1 - User is required to create account in advanced settings just like before. He is then prompted to enter this username and password. Integration will test these credentials in 2 ways - does rtsp stream work AND does control work?
2 - A.) If control worked, setup is done.
2 - B.) If control did not work, user is required to enter his cloud password - not email as that is not required.
3 - Setup is finished
During the whole process user is now told exactly what kind of account to enter and where to find it.
It is also possible to change any settings set up while adding the device via integration options with a proper error messages for every possible case or camera.
New Features
Support for C310
New service tapo_control.set_day_night_mode
Night mode is displayed now in attributes of entities
Checking if device supports ptz, preset etc is now done without determining the camera model
Thank you
I would like to thank Davide Depau for his research and work on pytapo library. Thanks to his research he made this release and a lot of future features possible.
Big thanks also goes to all the testers of C310 who made this release possible.
I see a lot of these. I cant find the post where there’s a explanation but if I remember rightly its a combination of things including ffmpeg, the way it handles errors in h.264 streams and TCP versus UDP in the RTSP streams. I’ll try and find the links and share. You should still be able to see the video - its just annoying
Version 2.3.1 has been released today including a fix for username / passwords including special characters. You can now use any username/password allowed by the app.
Call for help for all the python and/or ffmpeg developers / experts who would like to have access to the camera recordings!
Hello future visitors , if Home Asssistant 1.0.0 has been released recently, and you have not yet received an official update for the component, use this version!
Hello,
Thanks for the integration. My problem is when i restart home assistant, my c200 camera won’t be available for at least 4-5 hours. I don’t know the exact time span. It changes i guess. Does anyone else have this issue?
Yes i can ping the camera from the server.
The log says:
Blockquote Logger: custom_components.tapo_control
Source: custom_components/tapo_control/init.py:151
Integration: Tapo: Cameras Control (documentation, issues)
First occurred: 10:50:50 AM (6 occurrences)
Last logged: 10:53:36 AM
-Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host=‘192.168.0.23’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f9fa3b738e0>: Failed to establish a new connection: [Errno 113] Host is unreachable’))
-Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host=‘192.168.0.23’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f9fa8d0a820>: Failed to establish a new connection: [Errno 113] Host is unreachable’))
-Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host=‘192.168.0.23’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f9fa1d97f70>: Failed to establish a new connection: [Errno 113] Host is unreachable’))
-Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host=‘192.168.0.23’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f9fa279bac0>: Failed to establish a new connection: [Errno 113] Host is unreachable’))
-Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host=‘192.168.0.23’, port=443): Max retries exceeded with url: / (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7f9fa1da57c0>: Failed to establish a new connection: [Errno 113] Host is unreachable’))
I want to be able to control the privacy mode settings from your integration. I set it up to turn on when im home. But even if i dont restart home assistant, the connection to the camera gets lost and comes back again. So the automation wont work at those times.
Hi @JurajNyiri,
Now that the cameras of the Tapo family look almost fully supported have you considered adding support for the remaining products (they basically have a plug and two light bulbs). All other custom components are in very early phase of development. I have plugs (but no bulbs) and if you need someone to test I would be very happy to do so.
Thanks for considering
Merry Christmas! Boldog Karácsonyt!
Botond
AFAIK plugs use a different method of communication and already have an integration. I do not know about the bulps.
It’s hard for me to develop an integration without owning the product and I do not need those right now… For plugs I always stick with the kasa line from tplink (which have its issues right now unfortunately but mine are offline for years now) and bulps are strictly zigbee. If I were to pick up some in the future and the current solutions would not be suitable I would develop a new integration, or maybe expand this one if it would fit.
Anyone with the tapo lineup is free to open prs and I will work with them to get it in, if it fits the scope of integration. Send me a message here or on discord and we can talk.
Right now I am focused on a new zemismart product I bought which is the zemismart floor thermostat - I published integration yesterday for that. In the future I am planning to buy also some covers and blind controllers from zemismart so I might add support for that when I have those.