Electric devises control

Support and queries relating to all previous versions of ZoneMinder
Locked
kiocon
Posts: 9
Joined: Tue Sep 28, 2004 6:33 pm

Electric devises control

Post by kiocon »

I wonder if i can control some swiches for on / of a light or my fire allarm with the zoneminder.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

ZM can use an X.10 interface to switch on lights when motion is detected etc if required.

Alternately ZM can be armed for motion detection or event capture by an X.10 event sent from a PIR or alarm panel.

Phil
oskin
Posts: 84
Joined: Tue May 25, 2004 7:03 pm
Location: Moscow, Russia

Post by oskin »

I think, that it is meaningful to make execution of the external program in the beginning and at the end of event. To send it number of a zone and start/stop as arguments. I can - make it.
kiocon
Posts: 9
Joined: Tue Sep 28, 2004 6:33 pm

interface for devise control

Post by kiocon »

http://www.thecodeproject.com/csharp/Co ... iances.asp
a hardware interface if somone can add a software via zm controle must great . You dont just monitor a plase but also you can act ex fire alarm door open on/off an device etc
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There is a generic triggering interface in development at the moment if you don't want to use X.10 but it's not quite ready yet. However adding bespoke triggers ro reactors to ZM isn't that difficult really but I'm not a hardward guy so serial ports I can manage, parallel ports I'm not sure about.

Phil,
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

using the paraport can be a problem since most pc's send a post codes on start up. a good way can be using some other way . but mostly need specific harware .. like rs485 devices. they can control ptz cameras. to a light.

phil a long time ago i have send a program that sence and activate the lpt port.
may be a daemon that sence a especific "seteable" command. and send seteable commands on filter. but faster then filter. like if a camera detect motion turn a light on.
Fernando
oskin
Posts: 84
Joined: Tue May 25, 2004 7:03 pm
Location: Moscow, Russia

Post by oskin »

IMHO execution of the external application - a universal way. It will allow to control practically any interface. :) To generate alarms from the outside it is possible by means of the utility zmu.

To kiocon: I Recommend to look on 1-Wire: http://www.maxim-ic.com/1-Wire.cfm http://www.1wire.org/ http://owfs.sourceforge.net/
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

1-wire have many open projects mostly oriented to weather. temperature control.

lets wait for phil and see the generic interface.
Fernando
oskin
Posts: 84
Joined: Tue May 25, 2004 7:03 pm
Location: Moscow, Russia

Post by oskin »

temperature control is one of known applications 1-wire, another - iButton (http://www.ibutton.com). 1-wire is used besides other and for protection of my house. For example chips DS2406 and DS2408 are convenient for connection of various sensors and the executive devices. But it already offtopic... :)
kiocon
Posts: 9
Joined: Tue Sep 28, 2004 6:33 pm

electic devises control

Post by kiocon »

there some easy ways inexpensive to do this but miss the software
1 parallel port rellay board
2 rs 232 port rellay board
3 DTMF port rellay board conecting to sound cart
4 IRDA port rellay board with a irda transmitter
kiocon
Posts: 9
Joined: Tue Sep 28, 2004 6:33 pm

electic devises control

Post by kiocon »

there some easy ways inexpensive to do this but miss the software
1 parallel port rellay board
2 rs 232 port rellay board
3 DTMF port rellay board conecting to sound cart
4 IRDA port rellay board with a irda transmitter
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

parallel port is most easy one..
rs232 i saw one that work with an atmel chip. easy but need to program the chip.

irda . mm i didnt see that one! can you post it?
Last edited by fernando on Mon Oct 04, 2004 6:18 pm, edited 1 time in total.
Fernando
gnuorder
Posts: 35
Joined: Fri Apr 02, 2004 5:38 pm

Post by gnuorder »

The game port and the midi port are other options. As for the LPT port getting probed by bios, perhapes a buffer can be designed so that it doesn't engage the relay board until after bootup. I'm sure it can be done but I'm not hardware savvy enough to come up with one off the top of my head. I'm sure that's how those parallel devices that allow printer data to pass through work.
Locked