Hi,
I'm using the dlandon/zoneminder 1.34.16 image, I have a couple of cameras setup with about a dozen zones defined between them, and I'm looking for the most direct route to call a script every time motion is detected in a zone - with the identity of the camera/zone being passed to the script?
Ultimately, I want this script to feed a custom program/filter that takes into account the time of day and triggers from multiple zones to sound an alert when a sufficiently realistic pattern of motion detection has occurred (cameras are watching a long driveway, so the algorithm might look like: if motion is detected in 4 or more zones, sequenced in order, with delays between them that roughly correspond to a person walking or car driving... then sound the alert...) I can handle the code for the filters and alerts, I just don't know the best place to hook into Zoneminder.
I've seen lots of different documentation about how to do things like this in various versions of Zoneminder - what's a good/simple place to hook in to the motion detection events of 1.34?
Thanks,