Custom Event with Alarm integration

Last update: January, 2025

Scenario:i-PRO Maximizer's Alarm integration expands the selection of i-PRO AI features available in XProtect.
i-PRO Maximizer supports custom events. By configuring custom events, XProtect can receive additional alarms.
For example, the following alarms can be performed.

SD Card Diagnosis Alarm
AI-VMD Alarm
VMD Alarm

1. Camera Settings
2. Setup in XProtect Management Client
3. Confirmation of alarm reception in XProtect Smart Client
 

・i-PRO Maximizer: Please see the following page for an overview 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)



1. Camera Settings


The following camera settings are required only when sending notifications for an SD card diagnosis alarm.


1-1. HTTP Alarm Notification 
  The following settings are required only when notifying about an SD card diagnosis.

  Open [Setup] - [Alarm] - [Notification] - [HTTP alarm notification] screen in the camera browser.
  Check [Diag]. (Camera V2.60 or later)

HTTP Alarm Diag


2. Setup in XProtect Management Client

2-1.  Send HTTP alarm notification settings to the camera.
[Rules and Event] - [i-PRO Extended Actions] 
Click the [Update alarm sending on all cameras] button. By doing this, HTTP alarm notification will be automatically set for the connected i-PRO camera.

A pop-up will appear with the updated information for all cameras, so click "OK".
The IP address and HTTP alarm port of Milestone are added to [Address 1] of the camera's HTTP alarm notification, and the parameter "%alarmsrc2" is added to the notification data.

 

2-2. Custom Event.

Click the [Custom Event Mapping]. Here, we will configure the system using the event IDs that can be received from the camera and set it to operate as an i-PRO Custom Event.
Set the [ID] and [Tag] for event mapping. Any name can be used for the Tag (e.g., SD card not detected, SD card removal, etc.).
Please refer to the table below for the IDs.

SD card diagnosis ID
SD card full 01
SD card not detected 02
SD card Capacity ** % 03
SD card write error A5 or 04
SD card read error A6
SD card delete error A6
SD card filesystem error A7
SD card other error A8

 

AI-VMD Alarm ID
Intruder 32
Loitering 33
Direction 34
Cross line 38

 

VMD Alarm ID
VMD Alarm Area1 40
VMD Alarm Area2 41
VMD Alarm Area3 42
VMD Alarm Area4 43

 

Custom Event Mapping

 
2-3. Create a rule.
[Rules and Events]  -  [Rules]
Right-click Rules and click "Add Rule"
 The [Manage Rule] screen will appear. Enter a [Name:] and select [Perform an action on <event>] in "Select the rule type you want to create".
Click the  [event]  field in  [Edit the rule description] .
The subsequent rule creation steps are the same as those for AI-VMD. Refer to the XProtect Management Client chapter in AI-VMD "Basic Configuration".
Since it can be used universally for all Custom Events, there is no need to create a Rule for each Custom Event.  

 

2-4. Click [i-PRO Maximizer] and then [i-PRO Maximizer Events].
Select the i-PRO Custom Event(i-PRO Maximizer Event)

Custom Event in Rule

2-5.  Create an alarm definition.
Alarms - Alarm Definitions
Right-click "Alarm Definitions" and click "Add New". After configuring the settings, save them by clicking [Save] at the top left of the screen.
 Enable:Check the checkbox
 Triggering event:(1st row):Select "i-PRO Maximizer Events"
 Triggering event:(2nd row):Select "i-PRO Custom Event"
 Sources:Select "All Cameras" or "Target camera"

 

2-6. Add Tag and Type to the Alarm Manager alarm list.
[Alarms] - [Alarm Data settings] - [Alarm List Configuration] 
Add "Tag" and "Type".

 

3. Confirmation of alarm reception in XProtect Smart Client

3-1. Start the SmartClient.
The status of received alarms can be checked in the [Alarm Manager] tab. If the "Tag" and "Type" added in step 2-6 are not displayed, they need to be added. Right-click on the title bar of the alarm list and add "Tag" and "Type".

 

3-2. When an alarm is received, the type of alarm is displayed in Tag and i-PRO Maxmizer is displayed in Type.

SD card alarm log

 

Milestone XProtect Management Client 2023 R3 /DP 13.0a
i-PRO Maximizer 1.0.1