Thanks for this tip! VideoAnalyzeRule was not listed in any API document I have.
However I have tried testing the following commands from my browser and from a curl get command and don't get any results or effects.
- return "N/A" error
returns "OK" but did not disable any IVS rule
I have similar action=setConfig&MotionDetect commands working fine.
Is the"0" in [0][2] supposed to be NVR channel number 1?
Reviving this thread, because if faced the same with enable/disable IVS rules, and was able to make it work, so I thought it might be helpfull to some.
For some reason it does't work with the NVR Http api interface, as you mentioned already it does work directly on the camera.
This pointed me into the right direction.
By default the NVR creates its own Ip-addresses for the cameras, but this is not what you want when you want to control the IVS rules directly.
Luckily there is a possibilty to set the NVR in bridging mode, which allows to give the cameras ips from your own network.
I gave the NVR and Cameras a static IP, the only thing you need to do is to remove the cameras, change the IP, and re-add it. (IVS keep stored in the camera)
Now you can access the IVS settings directly, and keep using the NVR/DMSS app as you were used to
I use it in comination with Home Assistant to have full control over the push notifications i recieve on my phone, based on times/ people at home/holiday etc.
I hope this is helpfull to someone