Scripts...

Support and queries relating to all previous versions of ZoneMinder
Locked
witos_pl
Posts: 1
Joined: Mon Apr 02, 2007 4:21 pm

Scripts...

Post 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...
corey205
Posts: 4
Joined: Tue Apr 10, 2007 11:33 am

Scripts

Post 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!
W.
Posts: 108
Joined: Tue Apr 10, 2007 5:06 pm
Location: Latvia

Post 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.
tnt_tech
Posts: 9
Joined: Mon Jan 12, 2009 10:15 pm

Post 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?
Locked