ZONEMINDER AND HORN

Support and queries relating to all previous versions of ZoneMinder
Post Reply
User avatar
drock2006
Posts: 6
Joined: Fri Mar 10, 2006 2:51 pm
Contact:

ZONEMINDER AND HORN

Post by drock2006 » Mon Mar 19, 2007 5:24 pm

I have a customers that wants to have camera record via Motion Detection and record to a DVR. I can do this without any problem.

However they have asked that we add a horn or some external loud noice whenever the motion detection sensor is activated.

Has anyone ever had this request and if so what equipment did you use?

User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada
Contact:

Re: ZONEMINDER AND HORN

Post by tgutwin » Mon Mar 19, 2007 6:19 pm

My 1st thought would be to use the X10 control portion of ZM and use either an X10 Buzzer, or control a X10 controlled outlet that a horn is plugged into.
Essentially you could control anything you want to have plugged in.

The how-to is in the manual.

tom
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Thu Mar 22, 2007 8:06 pm

I just posted something along these lines in and old "Feature Requests" thread. You might be interested.

http://www.zoneminder.com/forums/viewto ... highlight=
MRD

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Wed Mar 28, 2007 6:05 pm

I wonder if anyone is willing to try recompiling with this change so I can test out a better approach to audio alerts.

[mrd@ministry src]$ diff zm_monitor.cpp new_zm_monitor.cpp
21a22,23
> #include <sys/types.h>
> #include <unistd.h> // defines: pid_t fork();
1121a1124,1135
>
> if (fork() == 0)
> {
> execlp("/usr/bin/SoundWrapper.pl,"/usr/bin/SoundWrapper.pl",
> name,
> alarm,
> (char *) NULL);
>
> perror("Got here: SoundWrapper.pl failed");
> exit(1);
> }
>
1178a1193,1204
>
> if (fork() == 0)
> {
> execlp("/usr/bin/SoundWrapper.pl,"/usr/bin/SoundWrapper.pl",
> name,
> alarm,
> (char *) NULL);
>
> perror("Got here: SoundWrapper.pl failed");
> exit(1);
> }
>
[mrd@ministry src]$
MRD

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests