Page 1 of 1

ZONEMINDER AND HORN

Posted: Mon Mar 19, 2007 5:24 pm
by drock2006
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?

Re: ZONEMINDER AND HORN

Posted: Mon Mar 19, 2007 6:19 pm
by tgutwin
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

Posted: Thu Mar 22, 2007 8:06 pm
by mrd
I just posted something along these lines in and old "Feature Requests" thread. You might be interested.

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

Posted: Wed Mar 28, 2007 6:05 pm
by mrd
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]$