zmtrack.pl
Posted: Sat Apr 12, 2008 6:40 pm
I want to have an audio file play on the server when motion is detected on a camera (as in an alarm event.)
Just guessing my way though this, I think zmtrack.pl is the key.
However, I can't determine what executes zmtrack.pl or how it is used.
Is modifying zmtrack.pl the correct way to have zm alarms do custom things, such as execute scripts I create such as a script to play a sound file on the server?
If so, how does zmtrack.pl work, when does it get executed, or do I have to launch it manually and have it monitor something?
Tested...
perl -T /usr/bin/zmtrack.pl -m 9
Tracker daemon 9 (experimental) starting at 08/04/12 03:24:59
Monitor '9' is not controllable
--- update ---
Just to clarify, could someone tell me if zmtrack.pl is meant only for cameras that have built in motion detection or are motorized?
Just guessing my way though this, I think zmtrack.pl is the key.
However, I can't determine what executes zmtrack.pl or how it is used.
Is modifying zmtrack.pl the correct way to have zm alarms do custom things, such as execute scripts I create such as a script to play a sound file on the server?
If so, how does zmtrack.pl work, when does it get executed, or do I have to launch it manually and have it monitor something?
Tested...
perl -T /usr/bin/zmtrack.pl -m 9
Tracker daemon 9 (experimental) starting at 08/04/12 03:24:59
Monitor '9' is not controllable
--- update ---
Just to clarify, could someone tell me if zmtrack.pl is meant only for cameras that have built in motion detection or are motorized?