Page 1 of 1

zmtrack.pl

Posted: Sat Apr 12, 2008 6:40 pm
by roach
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?

Posted: Sun Apr 13, 2008 9:14 pm
by zoneminder
It only works (as much as it does) with pan/til cameras that allow you to move directly to a specific pixel location.

Posted: Tue Apr 15, 2008 5:17 am
by cordel
If all you want to do is play audio on your browsr for your monitors, but a sound file in the web directory with the zm php files then enter the file name where provided in the options under the web tab.

Posted: Tue Apr 22, 2008 12:44 pm
by roach
cordel wrote:If all you want to do is play audio on your browsr for your monitors, but a sound file in the web directory with the zm php files then enter the file name where provided in the options under the web tab.
No, not that way. That won't work well at all.

~

On the server, console.
I found as script.

[solved]