0
Control PTZ camera Presets
Francisco Oliveira 5 years ago
in Devices / Cameras
•
updated by Ricardo Pinto | visiontech pt 3 years ago •
6
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
hi. I'm using IDIS Camera. Can you tell me the url to call preset
tks!!
Hello,
I don't know IDIS cameras, but a small search led me to their FAQ section, and it says that IDIS cameras support the ONVIF Profile S, which I think it includes PTZ control.
According to the Onvif organization:
"Profile S also covers ONVIF specifications for PTZ control, audio in, multicasting and relay outputs for conformant devices and clients that support such features.".
Probably the best way would be to use the Onvif Device Manager software, to try to find any useful url's.
https://sourceforge.net/projects/onvifdm/
Best regards