kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
127 stars 11 forks source link

PTZ support #55

Open albinmedoc opened 2 years ago

albinmedoc commented 2 years ago

Is your feature request related to a problem? Please describe: PTZ functionality would be a great feature. This is currently supported by at least Tapo C200.

Describe the solution you'd like: Use the onvif library that we are currently using. Here is an example.

kopiro commented 2 years ago

How exactly this could integrate with the Home ecosystem?

Does Home supports PTZ at all?

albinmedoc commented 2 years ago

I'm fairly new to homebridge plugin development. As said in this conversation, homekit supports PTZ.

This is what I have found: TargetTiltAngle TargetVerticalTiltAngle TargetHorizontalTiltAngle

DigitalZoom OpticalZoom

kopiro commented 2 years ago

That's nice; I'll try to check if those API are usable :)

energiumOn commented 1 year ago

PTZ support would be exceptional :)

x23piracy commented 9 months ago

Hi,

i have an idea for a workaround, if you have a videodoorbell homekit exposes all accessories in the same room to a button while you are watching the video, why not creating 4 switches that turn off after pressed and then pan/tilt the camera?

You will not have a live view while pan/tilt but can easily switch back (X Button) to live video to see if the change matches what is wanted. If not press near devices button again (4 squares button) to pan/tilt again. (Fine tuning for pan/tilt in tapo app 5-15%, not sure if it is adapted to homekit).

grafik

https://www.tp-link.com/us/support/faq/3653/#:~:text=With%20a%20HomeKit%2Denabled%20device,Apple%20guidelines%20for%20the%20protocol

grafik

grafik

Best Regards X23