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?
zmtrack.pl
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
No, not that way. That won't work well at all.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.
~
On the server, console.
I found as script.
[solved]