
0
Control PTZ camera Presets
Francisco Oliveira 2 years ago
in Devices / Cameras
•
updated by Ricardo Pinto | visiontech.pt 2 years ago •
4
On cameras with PTZ, there is a command to goToPreset. What parameters should I use?
I have several presets defined in the camera already, but its impossible to request it from bos.
Thanks in advance
Customer support service by UserEcho
Hi,
Usually the presets can be called with the specific ptz url from the camera, if supported.
So if your camera does support that, you'll need a url to call each preset and build some buttons or tasks to fire them up.
Like Dahua for example:
http://username:password@ip_address/cgi-bin/ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=1&arg3=0
Ricardo
Thanks for your answer. I'm using Hikvision camera. that don't work... any idea? thanks
Just discover:
for hikivision cameras:
http://IP/PTZ/channels/1/PTZControl?command=GOTO_PRESET&presetNo=3&speed=1&mode=start
Perfect! That's it. You need to try it out first, sometimes they changed the urls, but if it works, you're done with the problem.
I pointed out Dahua as an example, as I didn't knew what manufacturer you were using.
Best regards