Page 1 of 1

Scripts...

Posted: Mon Apr 02, 2007 4:45 pm
by witos_pl
Hi,

I have been looking for answer on my question but I couldn't find...
(I know, that I couldn't find because of my english language skill...:( )

I have some scripts written, but what I have to do, if i want zoneminder to run this script, when my camera detect motion?

Please write me step-by-step...

And very sorry for my language, i hope it's understandable...

Scripts

Posted: Tue Apr 10, 2007 12:06 pm
by corey205
I assume that zmtrigger is the tool to kick an external script off. I can't find much documentation for this though. The readme talks about sample scripts.

Can anyone tell me where the sample scripts might be or what they are called?

I'm running ZoneMinder 1.22.3 on FC6. I followed the guide for FC6 in the WIKI to install on FC6.

Thanks!

Posted: Wed Apr 11, 2007 11:42 am
by W.
I assume that zmtrigger is the tool to kick an external script off.
No. That is script to trigger alarm from external source. If you need to trigger script from an alarm, you can look at zmtrack.pl script and for starters can try and just replace code in

Code: Select all

if ( zmIsAlarmed( $monitor ) )
section at the end.

Posted: Thu Jan 22, 2009 3:05 am
by tnt_tech
Would you know what is the module that sends an email? If I replace '$monitor' with the name of the email module, would an email be send whenever ZM detects motion?