DS-2DE7174-AE presets on website

wimgrandia

n3wb
Jul 15, 2015
4
0
Hi,

Since a week i have this Hikvision PTZ camera and it works great.
It's visible on my website and works like a charm. I've also made a couple of presets.

But is there a way that viewers on my website can choose which preset they are looking at?
I've googled my ass of but i probably don't use the correct words..
Something to do with Onvif???

thanks!
Wim
 
That depends on how you are embedding the camera on your website. You will most likely have to user server-side logic to activate presets on the camera when your users click buttons. I have attached Hikvision's API documentation which may be of use.
 

Attachments

In essence you will need to make a web request to the camera following this pattern: /PTZCtrl/channels/<ID>/presets/<ID>/goto

This is likely to require authentication however, so it would be best done server-side so you don't have to expose the camera's address and login info to the public.
 
You are quite right. I missed the fact it needs to be an HTTP PUT request which definitely complicates things.