AI-VMD: Alarm Integration
Last update: Jan 2025
AI-VMD Alarm Configuration for Milestone XProtect
- Scenario: This guide provides step-by-step instructions for integrating i-PRO AI Video Motion Detection (AI-VMD) with Milestone XProtect. It covers steps for receiving AI-VMD alarms.
1. Basic Configuration: Steps to configure AI-VMD alarms with Milestone XProtect.
1-1. Configure AI-VMD Using the i-PRO Configuration Tool for Milestone
1-2. Set Up Alarm Settings in the XProtect Management Client
1-2-1. Configure Events
1-2-2. Configure Rules
1-2-3. Configure Alarms
1-3. Verify the Receipt of AI-VMD Alarms in Alarm Manager of the XProtect Smart Client
2. Configuration Stop Event Alarms: Steps to configure AI-VMD Stop Event alarms for Milestone XProtect.
2-1. Configure the Basic Settings for AI-VMD
2-2. Configure Detailed Settings for AI-VMD Stop Events
- About AI-VMD:
AI-VMD is an AI application provided by i-PRO that differentiates between vehicles, two-wheeled vehicles, and people. It detects and sends warning notifications when the target objects enter a specified area. It can also count the number of times the target objects cross a line.
AI-VMD (AI Video Motion Detection) | i-PRO Products
Support for "Intrusion Stop" and "Loitering Detection Event Stop" started with the following versions.
-
Milestone XProtect DP13.1 or later
-
AI-VMD (WV-XAE200W) version 3.50 or later
1. Basic configuration
Condition:
AI-VMD has the following types of detection.
In this example, we will use "Intruder Human" to explain the procedure.
Detection mode | Detection object |
---|---|
Intruder | Human |
Intruder | Vehicle |
Intruder | Bicycle |
Loitering | Human |
Loitering | Vehicle |
Loitering | Bicycle |
Direction | Human |
Direction | Vehicle |
Direction | Bicycle |
Cross line | Human |
Cross line | Vehicle |
Cross line | Bicycle |
1-1. Configure AI-VMD Using the i-PRO Configuration Tool for Milestone
1-1-1. Register the camera with Milestone XProtect.
1-1-2. Click [i-PRO Settings] under [MIP plug-ins] - [i-PRO Configuration Tool for Milestone].

1-1-3. Click the [Log in] button.
*For Windows authentication (current user), you can log in without entering a username and password.

1-1-4. Select the target device and enter [Username] and [Password] to access the device.
1-1-5. Click the [Start] button.

1-1-6. Click the gear icon to open camera setup.

1-1-7. Detection Area Setting
Select [Ext. software] - [Application] - [AI-VMD].
Specify the area, set the [Detection object] and [Detection mode], and click the [Set] button. Each detection area is assigned an area ID corresponding to the color of the [Area Setup].
This area ID will later be used as the value for [Motion Window] in step 1-2-1-3.

1-1-8. Detailed Settings
Select the [Detail setting] and configure the necessary settings.
*If you want to display the details (object type) when receiving alarm notifications on the XProtect side, set [Additional information (Detection object)] to "With information of the detected object (Alarm frame)".
Click the [Set] button after completing the settings.

1-1-9. Schedule Settings
Select [Ext. software] - [Operation sched.].
Select "AI Video Motion Detection (AI-VMD)" under [Extension software] and set the schedule to enable detection.

1-1-10. Alarm Notification Settings
Select [Notification] - [TCP alarm protocol notification].
Confirm that "TCP alarm protocol notification" is "On", "Notify the detection area number of the motion detection alarm with a unique alarm" is checked, and "Destination server address" in [Destination of notification] is set.
This setting is automatically configured when you set an event in Milestone XProtect.
Also, the "Destination Port" is assigned a port number by Milestone XProtect.

1-1-11. Time Synchronization
Ensure time synchronization between the cameras and Milestone XProtect.
Select [Standard] - [Basic] - [Time & data/NTP].
Enable the "Set the specified time to the camera" option, then click the [Set] button.

1-2. Set Up Alarm Settings in the XProtect Management Client
Configure events, rules, and alarms in the Management Client to receive alarms.
1-2-1. Configure Events
By configuring the event, you can receive AI-VMD alarms in Milestone XProtect.
1-2-1-1. Select the target camera device in [Servers] - [Recording Servers] and click [Events].

1-2-1-2. Click the [Add...] button, select an event from the [Select Driver Event] screen, and click the [OK] button.
In step 1-1-10, if [Notify the detection area number of the motion detection alarm with a unique alarm] is not checked, select an event with "(no area ID)" label attached to it.

1-2-1-3. Enter the area ID added in step 1-1-7 into the [Motion Window] of the event.
After confirming the addition, save it by clicking [Save] at the top left of the screen.

1-2-2. Configure Rules
By configuring the rules, you can execute any desired action when an event occurs.
1-2-2-1. Click [Rules and Events] - [Rules] in the [Site Navigation] area.
Then right click [Rules] in the [Rules] area and select [Add Rule...].

1-2-2-2. The [Manage Rule] screen will appear. Enter "Name" and select "Perform an action on <event>" in [Select the rule type you want to create].
Click "event" in [Edit the rule description].

1-2-2-3. The [Select an Event] screen will appear. Select [Devices] - [Configurable Events] - [Intruder Human] and click the [OK] button.

1-2-2-4. Click "device / recording server / management server" to open the [Select devices and groups] screen.

1-2-2-5. Click the [Next] button.

1-2-2-6. Click the [Next] button.

1-2-2-7. Select "Make new <log entry>" from [Select action to perform].
Click "log entry" in [Edit the rule description].

1-2-2-8. The [Select a Log Entry] screen will appear. Select "Rule name" and click the [OK] button.

1-2-2-9. Click the [Next] button.

1-2-2-10. Click the [Finish] button.

1-2-3. Configure Alarms
By configuring the alarms, you can display messages indicating the reception of AI-VMD in the Alarm Manager of the Smart Client.
1-2-3-1. Click [Alarm] - [Alarm Definitions] in the [Site Navigation] area.
Then right click [Alarm Definitions] in the [Alarm Definitions] area and select [Add Rule...].

1-2-3-2. After configuring the settings, save them with [Save] at the top left of the screen.
Enable:Check the checkbox
Name:Enter the user defined name
Triggering event(The first drop-down):"Device event"
Triggering event(The second drop-down):"Intruder Human"
*This setting is shown in the "Message" column of the [Alarm Manager] screen in the [XProtect Smart Client].
Sources:"All Cameras" or "Select target camera"

1-3. Verify the Receipt of AI-VMD Alarms in Alarm Manager of the XProtect Smart Client
Verify that AI-VMD alarms are displayed in Alarm Manager of the XProtect.
1-3-1. Start the [XProtect Smart Client] and click the [Connect] button.

1-3-2. Click [Setup].

1-3-3. Select a camera to view and drag it to a view area.


1-3-4. Click the [Alarm Manager] tab, and the alarm history will be displayed.

1-3-5. The intruder detection area number appears in the "Object" column.
The triggering event name set in step 1-2-3-2 appears in the "Message" column.

2. Configuration Stop Event Alarms
Support for "Intrusion Stop" and "Loitering Detection Event Stop" started with the following versions.
-
Milestone XProtect DP13.1 or later
-
AI-VMD (WV-XAE200W) version 3.50 or later
Refer to the table below for the Stop Events corresponding to the Start Events.
Start Events | Stop Events |
---|---|
Intruder Human | Intrusion Stopped |
Intruder Vehicle | Intrusion Stopped |
Intruder Bicycle | Intrusion Stopped |
Loitering Human | Loitering detection event stopped |
Loitering Vehicle | Loitering detection event stopped |
Loitering Bicycle | Loitering detection event stopped |
2-1. Configure the Basic Settings for AI-VMD
The setup procedure is the same as for regular AI-VMD, but please add the following settings to the procedure described in Set Up Using the i-PRO Configuration Tool for Milestone
2-2. Configure Detailed Settings for the AI-VMD Stop Events
Select the [Extension Software] - [Applications] - [Detail setting] for AI-VMD. Select "On" for "Alarm notification of the completion of detection". After completing the settings, click the [Set] button.

Milestone XProtect Management Client 2023 R3 / DP 13.1