Milestone XProtect

This page documents an earlier firmware release. Read this page for the latest release

Add the sensor to Milestone XProtect over ONVIF and write a log entry when a security zone is intruded. You need the username and the password from the ONVIF setup of the sensor.

The steps were tested with:

  • Milestone XProtect VMS 2025 R1

  • Milestone XProtect VMS Device Pack 13.5a

Add the sensor

XProtect reads the event topics of the security zones when the sensor is added. Create all security zones in the WebGUI first. After you add a zone later, add or replace the sensor in XProtect Management Client again.

  1. Start XProtect Management Client and sign in to the active XProtect Recording Server.

  2. Go to Servers > Recording Servers.

  3. Right-click the recording server, click Add Hardware and select Manual.

    Add Hardware wizard of XProtect Management Client with the option Manual
    Figure 1. Adding hardware manually
  4. Enter the ONVIF username and password. Switch on Include for them, click Add and click Next.

    Credentials page of the Add Hardware wizard with the ONVIF username and password included
    Figure 2. The ONVIF credentials of the sensor
  5. Select Other > ONVIF Conformant device and click Next.

    Driver selection of the Add Hardware wizard with ONVIF Conformant device selected
    Figure 3. The ONVIF conformant driver
  6. Enter the hostname or the IP address of the sensor in the address field, switch on Use HTTPS for an encrypted ONVIF connection and click Next.

    Add Hardware wizard showing the sensor added successfully
    Figure 4. The sensor is added to the recording server
  7. Wait until the device is added and click Next. Leave Hardware as it is and click Next. Leave the default group as it is and click Finish.

    Add Hardware wizard with the hardware of the sensor enabled
    Figure 5. The hardware to add
  8. In the Settings of the sensor, set Streaming method to the transport of the video and click the Save icon in the top left corner. Tested with RTP/RTSP/HTTP/TCP, RTSP tunnelled over HTTP.

The Properties view shows the device information under Info, the settings of the video stream under Settings and the video in the Preview window.

XProtect Management Client with the properties of the sensor and the preview of its video
Figure 6. The video of the sensor in XProtect Management Client

Use the events

In this example, one security zone called Security Zone 1 is configured in the WebGUI. The events of the sensor appear in XProtect as dynamic events.

The Viewer of the WebGUI with Security Zone 1 next to XProtect Management Client
Figure 7. The Viewer of the WebGUI and XProtect Management Client

Configure the event handling

  1. Open the Events tab in the Properties view and click Add.

  2. Find the topic Blickfeld/IntrusionZoneSecurityZone1 of Security Zone 1 in the list of events.

    List of events offered by the sensor in XProtect Management Client with Blickfeld/IntrusionZoneSecurityZone1
    Figure 8. The events of the sensor in XProtect Management Client
  3. Select the topic, click Next and click the Save icon in the top left corner to subscribe to it.

    Events tab of the sensor in XProtect Management Client with the subscribed topic
    Figure 9. The subscription to the event of the security zone

Configure the alarm rule chain

  1. In the Site Navigation on the left, go to Rules and Events. Right-click Rules, click Add Rule and name the rule, for example Intrusion.

    Manage Rule dialog in XProtect Management Client with the name Intrusion
    Figure 10. The intrusion rule in XProtect Management Client
  2. Under Events > Devices > Configurable Events, select the event (Dynamic) Blickfeld/IntrusionZoneSecurityZone1 Rising and click Ok.

    Event selection in XProtect Management Client with (Dynamic) Blickfeld/IntrusionZoneSecurityZone1 Rising
    Figure 11. The event of the security zone as the trigger
  3. Select the sensor as the event source, click Add and click Ok.

    Device selection in XProtect Management Client with the sensor as the event source
    Figure 12. The sensor as the event source
  4. Click Next. Under Select Actions to perform, select Make new log entry, enter the text to log and click Ok. Click Next and Finish.

    Action selection in XProtect Management Client with Make new log entry and its text
    Figure 13. A log entry as the action
The rule Intrusion in XProtect Management Client with its event, source and action
Figure 14. The complete rule in XProtect Management Client

An intrusion in Security Zone 1 now creates an entry in the log of XProtect.

Preview of the sensor in XProtect Management Client with an object intruding Security Zone 1
Figure 15. An intrusion in the security zone, seen in the preview of XProtect Management Client
Log of XProtect Management Client with the entry written for the intrusion
Figure 16. The log entry of the intrusion in XProtect Management Client