cURL and preset

DemoITA

n3wb
Nov 29, 2019
1
0
Italy
Hi
I am interested in send command to hickivision with CURL to change presets without logging in the control panel
There is a manual to read?

Thankyou
 
This may help: Hikvision ISAPI
It's trail and error from there. Using Fiddler to capture requests in the webGUI helps immensely.
You'll need to enable CGI and create a admin level user too. Web Authentication may need to be set to digest/basic.
There are several threads with curl examples on this forum. If there is something specific you need let me know.
 
  • Like
Reactions: aristobrat
Snag them from websdk.js That should give you some help regarding ISAPI

websdk.js is contained within digicap.dav or can be pulled from a live cam if you have root.
 
The following curl command should work.
1 = channel, in case of multi-channel device
2 = preset number

curl http://cam_ip/ISAPI/PTZCtrl/channels/1/presets/2/goto -u user:pass --anyauth -X PUT
 
  • Like
Reactions: persten