API-HTTP-command for tripwire or intrusion detect for DAHUA IPC

Wolle2018

Young grasshopper
Joined
Dec 26, 2017
Messages
31
Reaction score
2
Hello,

I am looking for an API-HTTP-command to simply switch tripwire on or off and to switch intrusion detect on or off. I do not need to configure tripwires or intrusion detect by API - they all would be pre-configured already. Unfortunately does the gDMSS-API (pro) not allow any IVS-settings.

I know that one could do API-arrangements for (simple) motion detection, for re-booting the IPC and so on. I also successfully realized an automatic day/night-change with my IPCs using API-command, but I could nowhere find any HTTP-API-command to handle IVS-functions like tripwire and intrusion detection.

I also checked the DAHUA-paper version 1.67 regarding HTTP-API from 16th September 2015, and I also checked someting similar available from AMCREST (ssems to be an OEM of DAHUA). But no findings.

Cameras (12MP-dome and 12MP-fisheye) are fairly new and are running under H.265.

Anyone who knows the solution? Thanks in advance for assist.

Kind regards Wolle2018
 

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,434
Reaction score
3,676
Why? You can set them to follow a schedule in the camera if you want.

It's pretty easy to use the camera's web interface or smartpss.
 

Wolle2018

Young grasshopper
Joined
Dec 26, 2017
Messages
31
Reaction score
2
Why? You can set them to follow a schedule in the camera if you want.

It's pretty easy to use the camera's web interface or smartpss.
Reason is that I want to switch on or off the tripwire(s) and or intrusion detection(s) from a remote location via my smartphone (Android) in case too many false alarms are coming because of e.g. sun-shadow-effects. When being abroad in a remote location, I rarely have my notebook with me. I know, of course, how to switch it on/off via the web-interface (that´s how I had configured it already....) or via smartpss. Unfortunately does the gDMSS-pro-APP for smartphone only allow to switch normal motion detection or camera blind or local alarm on/off, but not such IVS-functions. As said earlier, simple on/off would be sufficient because the configurations had been done already at home via web. In worst case I could login into the website of the cameras via firefox using my smartphone and then walking step-by-step through the various menues without, however, seeing any camera picture (because of lack of webplugin), I know. But that´s very uncomfortable....
 

tangent

IPCT Contributor
Joined
May 12, 2016
Messages
4,434
Reaction score
3,676
You can achieve on/off functionality on the web interface without seeing the camera feed or ivs rules. Event > Smart Plan. Click on the IVS light bulb to turn it off, click save.
 

BHj

n3wb
Joined
Jan 27, 2019
Messages
10
Reaction score
8
Location
Finland
Hi. I have the same need, and think I figured out how to do it on at least my SD59225

First use a browser to check which rule you want to enable/disable;

http://<camera ip>/cgi-bin/configManager.cgi?action=getConfig&name=VideoAnalyseRule

Then you enable/disable the rule in question by setting it to true or false. In my case the right commands were

http://<camera ip>/cgi-bin/configManager.cgi?action=setConfig&VideoAnalyseRule[0][9].Enable=true
http://<camera ip>/cgi-bin/configManager.cgi?action=setConfig&VideoAnalyseRule[0][9].Enable=false

All above with Digest authentication, which might create some issues...
 
Last edited:

randyth

Young grasshopper
Joined
Aug 26, 2015
Messages
77
Reaction score
8
Thank you for this great info!
This explains how to enable/disable a certain rule by http api. Do you also know how to enable/disable the whole ivs feature on the camera by http api? (Instead of per rule)
 

BHj

n3wb
Joined
Jan 27, 2019
Messages
10
Reaction score
8
Location
Finland
Have not looked into that yet, but I did use some command to stop the motion detection. Can't remember right now, but can see if I can find it later.
 
Top