Configuring triggers and rules
Alarm triggers and events from EdgeVis encoders can be configured to trigger rules in a Milestone system.
Adding hardware events
Add the Events to the hardware device
Select the device
On the right-hand pane select ‘Events’
Click ‘ADD’
Pick the event to add to the hardware device
Once all the device events are added, click the ‘Save’ icon on the menu.
Adding input events
Add the trigger Events to the Input device
Enable the input to be configured by right-clicking on it.
On the right-hand pane select ‘Events’
Click ‘ADD’
Add the Input Rising event on the ‘Events Tab’
Once added, the events can be previewed as shown below by activating the input on the device. Note that the preview may only activate on the first trigger and may not show subsequent triggers. This is normal.
Supported Events
Milestone support the following EdgeVis encoder events
EdgeVis encoder event | Milestone Event name | Notes |
Low Battery | Low Battery output event |
|
High temperature | Temperature above range |
|
Low temperature | Temperature below range |
|
Camera disconnected | Video Loss | Triggered when a camera is disconnected from an encoder |
Camera connected | Video Loss Stopped | Triggered when a camera is connected to an encoder |
Trigger input changed* | Input rising event | Triggered when an input is activated on an encoder |
Alarm rule triggered on the encoder | Linked Event Rising | Triggered when any alarm rule set-up on the encoder has triggered |
Safezone 2D object detected | Object Presence | Triggered when the SafeZone-2D analytics running on the encoder trigger. |
Safezone 2D object detection finished | Object Stopping |
|
Encoder disk is nearly full | SD Card Event | Triggered when the disk nearly full threshold hit on the encoder. |
RDC event has been triggered | Tripwire | Triggered when any RDC event is triggered on the encoder |
Alert from mobile or bodyworn device | Trouble start |
|
Note: Not all events are available on all models of EdgeVis Encoders
Adding an alarm rule to Milestone
Supported events can be added to a Rule in Milestone to enable more complex alarm processing rules. For example, a rule could be set up to, on event trigger, send an email notification and display the video stream on the Milestone video wall.
From the Site Navigation menu, select Rules.
Righ-click and pick ‘Add Rule’
Select “perform an action on <event>”
Click on the event option in the edit rule. From the dialog, select the event to trigger this rule.
For example to trigger a rule on the events configured as above, look in Devices/Configurable Events
Click on the devices/recording server/management server in edit rule.
Select all cameras which should trigger this rule with the configured event
Set up the rest of the rule as per the Milestone user guide.
Adding an Alarm Definition in Milestone
The supported events can be used as trigger sources for alarms in Milestone. Alarms, when triggered, will appear in Milestone Smart Client. These steps use a Trigger input changed event as an example of how to create an alarm definition:
From the Site Navigation menu, Select Alarms, then select Alarm Definitions.
Right click Alarm Definitions and select Add New…
Set the Name of the alarm definition.
Set the Triggering event to Device Events
From the next dropdown, select one of the events that were added to the Hardware Device in the previous steps
Under Trigger Sources press the Select button.
Select the Servers tab then find the Input event for the Camera. Select the input and press Add. Then press OK.
Under Related cameras press the Select button.
Select the Servers tab then select one or more cameras that should be associated with the event and press Add. Then press OK.
Select an Initial Alarm Priority which will cause a sound to be played if configured as in the previous section.
Select an Alarm Category as configured in the previous section.
Select the Servers tab then find the Camera that should be associated with the event. Select the camera and press Add. Then press OK.
Save the changes using the Save button on the top left menu bar:
Test that the alarm is listed in Milestone Smart Client when the input event is triggered.
Adding an Alarm Category in Milestone
To aid alarm filtering and give a more meaningful description to alarm events, Alarm Categories can be created in Milestone.
From the Site Navigation, Select Alarms, then select Alarm Data Settings.
Enter the required Category Names
In order for users to be able to view certain alarm fields in the Milestone client, they have to be made available to them from the Management Client
Select the Alarm List Configuration Tab at the top of the screen and move desired fields from the Available Columns to the Selected Columns list.
Save the changes using the Save button on the top left menu bar.
Enabling sounds for Milestone Alarms
Milestone can play a sound in the client application on receipt of an alarm. Alarms can be given a priority and a sound is allocated to each priority. There are some preconfigured sounds although an administrator can add .wav files to the list of available sounds for more bespoke configuration.
To add a new sound file, from the Site Navigation menu, Select Alarms, then select Sound Settings.
To assign a sound to an alarm priority, from the Site Navigation menu, Select Alarms, then select Alarm Data Settings.
Select the sound file to be associated with each priority in the Priorities list.
Only stream from EdgeVis encoders when viewing within Milestone
By default, Milestone expects all connected cameras to be constantly streaming. Thus when an EdgeVis encoder is connected to a Milestone System, it will constantly stream video and use precious GSM data. In Milestone, this is controlled by the Default Start Feed Rule which is applied to all cameras. To change this functionality for EdgeVis encoders:
From the site navigation menu, select Rules and then Default Start Feed Rule
Right-click and pick ‘Edit Rule’
Either unselect ‘Active’ if there are no other types of camera on the Milestone System or click on ‘All Cameras’ next to start feed on and only select groups containing non-EdgeVis encoders.
Save the changes using the Save button on the top left menu bar.
From the site navigation menu, select Rules
Right-click and pick ‘Add Rule’
Enter a name for the rule
Click on Event and select Devices/Predefined Events/Live Client Feed Requested
Click ‘OK’
Click on devices/recording server/management server and add the group containing EdgeVis encoders.
Click ‘OK’
Click ‘Next’
Click ‘Next’ again
Tick ‘Start feed on <devices>’ on the list and click ‘Next’
Click ‘Finish’