ZONEMINDER AND HORN

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

ZONEMINDER AND HORN

Post 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?
User avatar
tgutwin
Posts: 24
Joined: Thu Jan 12, 2006 4:02 am
Location: North Vancouver, Canada

Re: ZONEMINDER AND HORN

Post 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
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post 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=
MRD
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

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