ONVIF Notifications and ZoneMinder

ONVIF triggers external events in ZoneMinder

I finally put together everything I had learned about ZoneMinder external event triggering and ONVIF VideoAnalytics.

The result is a script zmonvif-trigger.pl that subscribes to events from several ONVIF cameras. The cameras send these events if something moves in their view field.

On reception of an ONVIF event the script generates a ZoneMinder event. Thus the ZoneMinder server does not need to analyze the video streams from several cameras. The cameras themselves watch for any movement. This saves a lot of CPU power and network bandwidth.

We can see the events in the ZoneMinder console.

monitors_events

If we open the event details we can see that the event has been generated by the ONVIF camera’s rule “MyMotionDetectorRule”. Moreover we can watch the video footage recorded during the event.
events

ZoneMinder ONVIF options

I had to enhance the ZoneMinder monitor options for the script to have the necessary technical details. We do not fill these values manually. The ONVIF probing button gathers this information and fills the options with the correct values.
This post is part of The ONVIF series. See the other posts in the series here.

Tags: , , , , ,

4 responses to “ONVIF Notifications and ZoneMinder”

  1. MW says :

    This is fantastic, is your script available to the public?

  2. g0w1s0@hotmail.com says :

    wow is your script available for download ?

  3. John says :

    Have you manually set up the motion detection event on the camera’s web interface or was this done through ONVIF?

    Thank you

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: