Instant email alert

Support and queries relating to all previous versions of ZoneMinder
Locked
tnt_tech
Posts: 9
Joined: Mon Jan 12, 2009 10:15 pm

Instant email alert

Post by tnt_tech »

I have Zoneminder 1.23 working fine. I have a few cameras setup and with 'modect' enabled and I am getting a list of events in the camera watch window but I can't seem to get zoneminder to send me emails when the alarm happens. The email setup is also working because it will send me emails for past events but not when the event happens. I want to be instantly alerted via email when there is motion. I know it has to do with the filter setup. Can someone who has this working please send me an example.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

ZM does not email on the instant of an alert. The filters pickup events only after they are closed (completed) other wise the filters would have no statistics from the event to work with to send the highest score image, duration, etc...

There is the zoneminder perl module that can be used to create a perl application that allows an interface to ZMs monitor status so it is possible to create an app to email the instant of an alert/alarm.
tnt_tech
Posts: 9
Joined: Mon Jan 12, 2009 10:15 pm

Post by tnt_tech »

Thanks for the info Cordel.

What is the zoneminder perl module that can be used to create a perl application?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

ZoneMinder.pm installs with ZM.
tnt_tech
Posts: 9
Joined: Mon Jan 12, 2009 10:15 pm

Post by tnt_tech »

Has anyone created an app to send an email the instant an alert/alarm happens?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

None that I'm aware of.
User avatar
Normando
Posts: 219
Joined: Sun Aug 17, 2008 5:34 am
Location: Rosario - Argentina

Post by Normando »

Hi tnt_tech

I want to make something similar, but for serial port. Look at http://www.zoneminder.com/forums/viewtopic.php?t=12914
tnt_tech
Posts: 9
Joined: Mon Jan 12, 2009 10:15 pm

Post by tnt_tech »

What if I was to set up a filter that sends an email 5 secs after triggering the alarm? What is the expression for 5 secs?
Locked