How to send a VAPIX command to an Axis camera.

I have been trying to find a way to control the IR Filter on several different models of Axis cameras. The command that I have been able to successfully execute using a browser is http://x.x.x.x/axis-cgi/admin/param.cgi?action=update&root.PTZ.Various.V1.IrCutFilter=off. How can I create a rule to send this command to the camera?

If you are developing a plugin there is a message “Control.DriverCommand”. Unfortunately Milestone has no sample showing the use of this.

If you are not developing a plugin it is possible to make a HTML page with a button to do the URL.

Hi Bo, thank you for the reply. Ideally I would like to use this with a day length profile, we have a couple of cameras that do not seem to change from night mode to day mode when they are suppose to do so. I would like to set up a rule to send the vapix command to on and off the IR filter at the appropriate times.

It is possible to develop a rule action using MIP SDK. Sample BatAction shows this. https://doc.developer.milestonesys.com/html/index.html?base=samples/bataction.html&tree=tree_1.html

You could develop a rule action that utilize the “Control.DriverCommand” message.

It is not possible to do this without doing development as there is no rule that can do this out of the box.