cURL and preset

DemoITA

n3wb
Joined
Nov 29, 2019
Messages
1
Reaction score
0
Location
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
 

StewartM

Getting the hang of it
Joined
Dec 11, 2017
Messages
260
Reaction score
75
Location
Cape Town
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.
 

rearanger

Getting the hang of it
Joined
Feb 10, 2016
Messages
224
Reaction score
96
Location
Scottish Borders
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.
 

mkkoskin

Young grasshopper
Joined
Feb 12, 2015
Messages
51
Reaction score
9
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
 
Top