Camera Control by User-Defined CGI
Last update: June 2025
Scenario:
Users can control cameras by user-defined CGI in i-PRO Maximizer. After configuring user-defined CGI in the Management Client, these commands can be executed on the Smart Client. Furthermore, the created command can be selected as an action when an event occurs.
i-PRO Maximizer version 1.2.0 or later supports the export and import of custom commands in Milestone XProtect. This feature allows you to migrate custom commands to another system.
1. Setup in Xprotect Management Client
2. How to Use XProtect Smart Client
3. Export and Import Custom Commands
Please see the following page for an overviwer of i-PRO Maximizer.
The installer and installation manual can be downloaded from [HOW TO INSTALL] on the following page.
i-PRO Maximizer (milestonesys.com)
This page contains the following sample CGI.
Active Clear Sight
AI-VMD
Wiper/Washer
See the Command Document for other CGI.
1. Setup in Xprotect Management Client
1. Select [Server] > [Rules and Events] > [i-PRO Extended Actions]. Click [Configure commands].
2. Click [Add Command] .
3. You can create a new command.
See <Sample CGI>for some features.
By entering commands in [Request Path] and creating it, you can achieve various operations with Milestone Smart Client. If necessary, enter [Name] and [Display Name (SC)], and click [OK].
Starting from version 1.2.0, i-PRO Maximizer supports the HTTP body in the POST method.
4. The created command will be added, and you'll have the option to enable/disable it.
5. Restart the Milestone XProtect Event Server and restart the XProtect Management Client.
After restarting, the created command can be selected as an action when creating a rule.
2. How to Use XProtect Smart Client
1. Start the Smart Client. Click the i-PRO icon at the bottom right of the screen. Select and execute the command you created.
<Sample CGI>
Active Clear Sight
| Function | CGI (Request Path) |
| Start | cgi-bin/activeclearsight |
AI-VMD
| Function | CGI (Request Path) |
| Enable | cgi-bin/set_ext1_schedule?installid=272&mon=t1&tue=t1&wed=t1&thu=t1&fri=t1&sat=t1&sun=t1 |
| Disable | cgi-bin/set_ext1_schedule?installid=272&mon=off&tue=off&wed=off&thu=off&fri=off&sat=off&sun=off |
Wiper/Washer
| Function | CGI (Request Path) |
| Wiper Start(High speed) | cgi-bin/camctrl?wiper=high |
| Wiper Srart(Low speed) | cgi-bin/camctrl?wiper=low |
| Wiper Srart(1 shot) | cgi-bin/camctrl?wiper=1shot |
| Wiper Stop | cgi-bin/camctrl?wiper=off |
| Washer Start *1 Washer control requires advance settings on the camera browser. |
cgi-bin/camctrl?wiper=with_washer |
*1 Washer control requires advance settings on the camera browser.
1. Select [Setup] > [Basic].
2. Select [Washer control] in [Relay output].
In [Washer Control], detailed settings for washer control can be configured.
Please refer to the Operation Instruction for more information.
3. Export and Import Custom Commands
3.1 Export Custom Commands
1. Open the Management Client and select [Rules and Events] > [i-PRO Extended Actions].
2. Click [Configure commands].

3. Click [Export] and save the exported file.
Note: Only manually added commands can be exported and imported.

3.2 Import Custom Commands
1. Open the Management Client on the target system to import the commands, and select [Rules and Events] > [i-PRO Extended Actions].
2. Click [Configure commands].
3. Click [Import] and select the exported file.
Note: Duplicate names are not allowed when importing.

4. After importing, you need to select the target camera and enable the imported commands. Imported commands are disabled by default, so make sure to change them to [Enable] before use.

Milestone XProtect 2025 R1 / DP 13.7a
i-PRO Maximizer 1.2.0