turn off IR using API

ijuecat

n3wb
Jan 13, 2020
5
1
Austria
Hi,

I'm using a Hikvison DS-2CD2T42WD and would like to turn off the IR led using a API function or turn off the whole cam. Are there any possibilities?

Thanks and best regards
 
It can be done by via ISAPI after enabling the common gateway interface (CGI) protocol on the camera. Using curl or a HTTP request the ircutFilter can be manually set.
Are you developing an app or would controlling the setting via your browser be sufficient?
 
  • Like
Reactions: Mike
How do I enable the CGI? I already tried a ISAPI http command but this didn't work.
Setting via browser is OK for me.

Thanks
 
Via the camera's webGUI, go to Configuration>Network>Advanced Settings>Integration Protocol.
Enable CGI and set authentication to digest/basic. For ISAPI, enable ONVIF and create a user with the same credentials as the admin login.
 
Hello StewartM,

Could you help me with the ircutfilter command, please. A http request would be easiest for me but I can‘t find the command in the ISAPI reference guide.

Thx
Ijuecat
 
I tried with Postman but I only get back 401 unauthorized, password and IP are correct,
admin user is the same for system and ONVIF
 

Attachments

  • postman.jpg
    postman.jpg
    34.8 KB · Views: 23