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:
To:
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?
Here is the JSON tree for RemoteVideoAnalyseRule channel 0 rule 1 (Rule 0 is "VideoAbnormalDetection")

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
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")

Last edited: