I'm at a loss as to what to do next with this--the issue isn't resolved. I've factory reset each device after updating to the latest firmware, prayed, tried working with the API to tease out some clue as to there things are jammed up, prayed to darker things, and spent hours searching the web and this forum for any more random sequences, troubleshooting steps, or newer firmware.
There are two things (other than a direct solution) that I'm hoping to find:
- An explanation of how the the NVR should receive and then model an IVS rule that is supposed to trigger the creation of a record--using the API (CGI, really) as the model.
- My thought is that if I can understand how that info is represented in the camera and then obtained and stored by the NVR, I can look at the API to see where the values are off. Maybe I can even fix it by directly modifying parameters via the API.
- For someone with the "IVS" record type enabled on the Schedule (ideally as the only enabled type), open the address below (with your camera's IP address) copy one line out of the page that is returned, and reply with it here.
- address to open:
http://<your_cameras_ip_address>/cgi-bin/configManager.cgi?action=getConfig&name=VideoAnalyseRule
- line to obtain:
table.VideoAnalyseRule[0][0].EventHandler.TimeSection[0][0]=1 00:00:00-23:59:59
I'm really just looking for whatever number value you have
immediately to the right of the equals sign (the "1" in the example above). That bit identifies the record type you have enabled, which should be "IVS." I simply do not have the IVS record type in any UI I've tried (web UI, Smart PSS on Windows, Smart PSS on OSX, various versions of each of those, etc.). I
do have a type called "Smart" in the OSX UI, and its corresponding bit value is one that doesn't appear in the Dahua API documentation. I've forced that to be used via the API and it caused crashes when I tried to query records for playback.
Here are the documented values, plus the one for Smart that I found:
- 1 - Regular
- 2 - Motion Detection
- 4 - Alarm
- 8 - Card (I don't know what this means, but perhaps it's referencing the micro SD card in the camera).
- 16 - unknown
- 32 - Smart
The values above are added together if you have more than one type enabled at a time. E.g., if you enable Motion Detection and Alarm, you'd see a value of 6, and if you also enabled Smart with those, you'd see a value of 38.