imou_life icon indicating copy to clipboard operation
imou_life copied to clipboard

Add an ability to call a PTZ preset point

Open Brix1330 opened this issue 1 year ago • 6 comments

I would love to get this feature implemented, especially for Cruiser 4MP, so people can automate the camera's pan-and-tilt location to a saved preset. IIRC currently it's only possible to move the camera manually from HA.

I've integrated my camera with Frigate to detect humans at my gate. The default view covers both part of the main road and the gate. However, with this approach, I can only set the camera to a fixed view as automatic tracking would interfere with the Frigate detection area and with the automatic tracking turned on, someone could trick the camera to move away from the POI. If I could call a preset, when there's a human at my gate, it would switch to a preset point (number dropdown menu; just like on SmartPSS) that points towards the gate, allowing for more complex possibilities.

Brix1330 avatar Nov 02 '23 15:11 Brix1330

Hi I think the API described herehttps://open.imoulife.com/book/en/http/device/operate/controlLocationPTZ.html seems the one which allows moving the camera to a given position. Let me add it to the development queue even if the implementation could take a while :-) Thanks

user2684 avatar Nov 05 '23 09:11 user2684

Hi would it still be possible to add the devicePTZInfo service?

bimbopp avatar Nov 14 '23 14:11 bimbopp

You mean having a service which moves to a preset position? Thanks

user2684 avatar Nov 26 '23 09:11 user2684

You mean having a service which moves to a preset position? Thanks

Yes, and it would also be even better to have a GUI control (device info page) as well. Thanks.

Brix1330 avatar Nov 26 '23 12:11 Brix1330

Perfect, noted and added to the roadmap. THanks

user2684 avatar Dec 02 '23 09:12 user2684

Hi,

Also very interrested by this feature

mguyard avatar Sep 16 '24 07:09 mguyard

Hello,

With Imou mobile app we are able to set favorite (preset). That seems to be available in api :

  • Retrieve favorite : https://openapi-[datacenter].easy4ip.com/openapi/getCollection
  • Set Favorite : https://openapi-[datacenter].easy4ip.com/openapi/setCollection
  • Modify Favorite : https://openapi-[datacenter].easy4ip.com/openapi/modifyCollection
  • Delete Favorite : https://openapi-[datacenter].easy4ip.com/openapi/deleteCollection
  • Move to a Favorite : https://openapi-[datacenter].easy4ip.com/openapi/turnCollection

With these API endpoint, preset will be easy to manage. Do you think you can implement this ?

mguyard avatar Oct 06 '24 15:10 mguyard