kopiro / homebridge-tapo-camera

Homebridge plugin for TP-Link TAPO security cameras
ISC License
119 stars 10 forks source link

Instead of direct PTZ what about Switches for the Viewpoints (marked positions)? WORKING found a solution! #109

Closed x23piracy closed 6 months ago

x23piracy commented 6 months ago

Hi,

since there is no direct support for PTZ in Homekit what about Switches to select a specific saved viewpoint of one of the PTZ cameras? Afai can see there are 8 viewpoints to save, maybe they can we called by a webcall or some onfiv command?

grafik

I tried to find something out about it, nothing yet. I wrote Tapo support to get an answer, hopefully...

For the case it's possible we may can define a default viewpoint to which the camera returns after X minutes if it's not on default viewpoint. Like this some kind of patrol (which will kill the motors and the mechanics, it just takes time) would also be possible if there is some kind of timer.

I played around with the onvif test tool i found in the net and i was able to move the camera, not really controlled but it moved so it should be possible to do movement hopefully to the markes positions.

https://www.onvif.org/onvif/specs/srv/ptz/ONVIF-PTZ-Service-Spec.pdf

Uhhh interesting: https://github.com/marklagendijk/node-onvif-ptz-cli

grafik

grafik

Ok cool with this we are able to move the tapo cameras on its up to 8 presets to move to. So please add this to the project and make up to 8 switches per camera possible that turn themself of again after the command has been send successfully so they act like a button instead like a switch. If possible add also the abbility to choose a default position if it has changed while streaming and then stop streaming so it can move back to a default position to find movement or so.

They are named Preset[1..8] no Matter how you call it within tapo app so expect they save the custom name proprietary in their app (cloud account).

Since accessiories in same room appear behind a button click while viewing the camera it would be possible to change cameras fixed positions on a relative comfortabel way which has nothing more to do with a hack like PTZ with switches for (up,down,left,right) https://github.com/kopiro/homebridge-tapo-camera/issues/55#issuecomment-1851022301, please upvote guys 👍

This also brings a possibility for some kind of patrol feature for 360 devices which doesn't have this feature by fw see C225, C500WS maybe more just the ones i know:

grafik

Merry Xmas

Best Regards X23

x23piracy commented 6 months ago

Hi,

i played around with the onvif test tool i found in the net and i was able to move the camera, not really controlled but it moved so it should be possible to do movement hopefully to the markes positions.

https://www.onvif.org/onvif/specs/srv/ptz/ONVIF-PTZ-Service-Spec.pdf

Best Regards X23

x23piracy commented 6 months ago

Uhhh interesting: https://github.com/marklagendijk/node-onvif-ptz-cli

grafik

grafik

Ok cool with this we are able to move the tapo cameras on its up to 8 presets to move to. So please add this to the project and make up to 8 switches per camera possible that turn themself of again after the command has been send successfully so they act like a button instead like a switch. If possible add also the abbility to choose a default position if it has changed while streaming and then stop streaming so it can move back to a default position to find movement or so.

They are named Preset[1..8] no Matter how you call it within tapo app so expect they save the custom name proprietary in their app (cloud account).

Since accessiories in same room appear behind a button click while viewing the camera it would be possible to change cameras fixed positions on a relative comfortabel way which has nothing more to do with a hack like PTZ with switches for (up,down,left,right) https://github.com/kopiro/homebridge-tapo-camera/issues/55#issuecomment-1851022301, please upvote guys 👍

This also brings a possibility for some kind of patrol feature for 360 devices which doesn't have this feature by fw see C225, C500WS maybe more just the ones i know:

grafik

Merry Xmas