Hello,
we are integrating our ONVIF-compliant device with Milestone XProtect. Our device sends ONVIF events with multiple motion detection zones using standard messages like:
tt:Source
<tt:SimpleItem Name=“Zone” Value=“1”/>
</tt:Source>
tt:Data
<tt:SimpleItem Name=“Value” Value=“true”/>
</tt:Data>
and similarly for Zone=2, 3, etc., using topic VideoMotion/Zone_Motion
We configured Motion Started (HW) and Motion Stopped (HW) events in Recording Server settings. However, XProtect only allows configuring single Motion Window value (e.g. 1, 2.. up to 8) per device. This means it triggers only for a single Zone and we cannot add additional Motion Started/Stopped instances for other zones covered by our device.
We would like to have multiple motion zones trigger separate rules or recordings.
Is there a way to configure Motion Started (HW) or Motion Stopped (HW) to listen to multiple zones simultaneously, or to create multiple such triggers for different Motion Windows?
Or should we instead use ONVIF Dynamic events in XProtect rules to achieve this functionality?
Any official guidance or best practice would be very helpful. Thank you!
Hi Alexej,
It is possible to configure multiple “Motion Window” events under the same device. According to the following document, it is possible to add a maximum of 8 sources/windows.
https://doc.milestonesys.com/2024R1/en-US/onvifdriver/motion.htm?Highlight=Motion%20Window
To add them, you have to select the camera in the Management Client, go to the “Events” tab, and there add the “Motion Started (HW)” and “Motion Stopped (HW)” events.
By default, those steps will use the Motion Window 1. To add more motion windows as separate events under the same device, you have to add multiple " Motion Started (HW)" and “Motion Stopped (HW)” events. To add multiple events under the same device, just tick the checkbox " Show already added events" and add again the same Motion Started (HW) and Motion Stopped (HW) events. Once you have added (max.8) events, go to the right pane where you will have a drop-down for " Motion Window" and on each event select a different Motion Window ( from 1 to 8).
To use the events in the rule configuration when you configure the rule, use Motion Started (HW) and on the second or third step, you will have the option to select " event is from window". With that, you will define which motion window from your camera you want to use in the rule.
The same should be applied for “Motion Stopped (HW)”
Let us know if that works for you.
/Aleks