zmtrack.pl

Support and queries relating to all previous versions of ZoneMinder
Locked
roach
Posts: 7
Joined: Sat Apr 12, 2008 1:24 am

zmtrack.pl

Post 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?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
roach
Posts: 7
Joined: Sat Apr 12, 2008 1:24 am

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