Dahua RemoteVideoAnalyseRule API Syntax

phonebooth

n3wb
Joined
Apr 24, 2022
Messages
10
Reaction score
2
Location
Australia
Hi everyone

I'm on a mission to automate some of the notification/arming aspects of my Dahua camera system. I'm trying to enable/disable a specific IVS rule for Camera 1 (channel 0). I can see in the device config that the specific config line that needs modification is:

From:
Code:
table.RemoteVideoAnalyseRule[0][1].Enable=true
To:
Code:
table.RemoteVideoAnalyseRule[0][1].Enable=false
I've confirmed this is the line of config that needs to be changed by dumping all device config, disabling the IVS rule, and then dumping the config again. This is the only change that I can detect.

When I execute the below HTTP GET query, the NVR accepts the query with a 200 OK response, but the IVS rule does not enable/disable. What am I doing wrong?

Code:
https://<NVR IP>/cgi-bin/configManager.cgi?action=setConfig&RemoteVideoAnalyseRule[0][1].Enable=false
Here is the JSON tree for RemoteVideoAnalyseRule channel 0 rule 1 (Rule 0 is "VideoAbnormalDetection")

Screen Shot 2022-05-19 at 7.39.19 pm.png
 
Last edited:
Top