Tp-link camera Tapo C310 and cgi interface

Hi!

Any one know if the Tapo C310 has a cgi interface where I can query for motion and sound detection?

I am currently using a D-Link DCS 935L and it has a cgi interface which I use for a switch (example shown below), but before I buy a different camera I would like to know if its possible to achieve the same somehow, without having the motion detection algorithm running on my HA server.

    dlink_motion:
      friendly_name: "Motion detect"
      command_on: 'curl -k "http://user:[email protected]:80/config/motion.cgi?enable=yes"'
      command_off: 'curl -k "http://user:[email protected]:80/config/motion.cgi?enable=no"'
      command_state: 'curl -k --silent "http://user:[email protected]:80/config/motion.cgi" | grep "enable=" | cut -d "=" -f2'
      value_template: '{{ value == "yes" }}'

Best regards
Martin

Unfortunately Tapo C310 with its latest firmware does not have a web interface or REST API. More than that there are different hardware versions of the camera each having its own firmware version.

It has, however, rtsp links to the HD and SD streams.

Thanks amaximus!

At least it has rtsp, thats more than dlink has in its recent range of cameras.

I found a few places that mentions the C310 supports ONVIF. I am unfamiliar with that protocol but shouldn’t it be possible to subscribe to eg. motion events?

Tapo C310 supports ONVIF (at least ONVIF Device Manager can handle them). Tried both hw version 1.0 and 2.0 cameras.

I’m not familiar with ONVIF but could not found anything related to motion events in ONVIF Device Manager.
I’m using Shinobi for NVR. Some other users use ZoneMinder or MotionEye.

Onvif reports motion detection. Sound detection is not available from product itself.

Both and more are supported in this custom intageration GitHub - JurajNyiri/HomeAssistant-Tapo-Control: Control for Tapo cameras as a Home Assistant component

Hi Juraj,

Thanks for the tip, looks like excellent work and I can’t wait to try it out as soon as my cameras arrive.

Best regards
Maritn