Hikvision API

Joined
Apr 28, 2022
Messages
1
Reaction score
0
Location
UK
Hello! Hope this is okay to ask here:

I am using Hikvision cameras and have the API working (ISAPI?). I can recall PTZ presets, start patrols, etc.

But I don't seem to be able to find ISAPI commands to change the scene settings, enable/disable the IR's. etc - does anybody have a document which lists then?

/ISAPI/Image/channels/1/IrcutFilter=open

returns this:

<?xml version="1.0" encoding="UTF-8"?>
<ResponseStatus version="2.0" xmlns="">
<requestURL>/ISAPI/Image/channels/1/IrcutFilter=open</requestURL>
<statusCode>4</statusCode>
<statusString>Invalid Operation</statusString>
<subStatusCode>invalidOperation</subStatusCode>
</ResponseStatus>


/ISAPI/Image/channels/1/imageMode=day

returns the same error

All I need to be able to do is switch between day and night mode manually and ideally enable/disable the smartlight

thanks :)
 

Veinless

Young grasshopper
Joined
Feb 22, 2018
Messages
31
Reaction score
3
How do you call PTZ presets? I'd find that super handy!
 

trempa92

Pulling my weight
Joined
Mar 26, 2020
Messages
734
Reaction score
230
Location
Croatia,Zagreb
Ill let u know the trick, open inspect element in chrome when you are on camera configuration, change anything slightly and you will see GET PUT POST request in network tab and exact payload message you need in order to recreate the API request
 
Top