Milestone - Configuring alarm triggers and rules
Updated over a week ago

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

  1. Select the device

  2. On the right-hand pane select ‘Events’

  3. Click ‘ADD’

  4. Pick the event to add to the hardware device

  5. 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

  1. Enable the input to be configured by right-clicking on it.

  2. On the right-hand pane select ‘Events’

  3. Click ‘ADD’

  4. Add the Input Rising event on the ‘Events Tab’

  5. 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.

  1. From the Site Navigation menu, select Rules.

  2. Righ-click and pick ‘Add Rule’

  3. Select “perform an action on <event>”

  4. Click on the event option in the edit rule. From the dialog, select the event to trigger this rule.

  5. For example to trigger a rule on the events configured as above, look in Devices/Configurable Events

  6. Click on the devices/recording server/management server in edit rule.

  7. Select all cameras which should trigger this rule with the configured event

  8. 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:

  1. From the Site Navigation menu, Select Alarms, then select Alarm Definitions.

  2. Right click Alarm Definitions and select Add New…

  3. Set the Name of the alarm definition.

  4. Set the Triggering event to Device Events

  5. From the next dropdown, select one of the events that were added to the Hardware Device in the previous steps

  6. Under Trigger Sources press the Select button.

  7. Select the Servers tab then find the Input event for the Camera. Select the input and press Add. Then press OK.

  8. Under Related cameras press the Select button.

  9. Select the Servers tab then select one or more cameras that should be associated with the event and press Add. Then press OK.

  10. Select an Initial Alarm Priority which will cause a sound to be played if configured as in the previous section.

  11. Select an Alarm Category as configured in the previous section.

  12. Select the Servers tab then find the Camera that should be associated with the event. Select the camera and press Add. Then press OK.

  13. Save the changes using the Save button on the top left menu bar:

  14. 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.

  1. From the Site Navigation, Select Alarms, then select Alarm Data Settings.

  2. Enter the required Category Names

  3. 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

  4. 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.

  5. 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.

  1. To add a new sound file, from the Site Navigation menu, Select Alarms, then select Sound Settings.

  2. To assign a sound to an alarm priority, from the Site Navigation menu, Select Alarms, then select Alarm Data Settings.

  3. 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:

  1. From the site navigation menu, select Rules and then Default Start Feed Rule

  2. Right-click and pick ‘Edit Rule’

  3. 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.

  4. Save the changes using the Save button on the top left menu bar.

  5. From the site navigation menu, select Rules

  6. Right-click and pick ‘Add Rule

  7. Enter a name for the rule

  8. Click on Event and select Devices/Predefined Events/Live Client Feed Requested

  9. Click ‘OK

  10. Click on devices/recording server/management server and add the group containing EdgeVis encoders.

  11. Click ‘OK

  12. Click ‘Next

  13. Click ‘Next’ again

  14. Tick ‘Start feed on <devices>’ on the list and click ‘Next’

  15. Click ‘Finish


Did this answer your question?