Page 1 of 1

Electric devises control

Posted: Fri Oct 01, 2004 6:03 am
by kiocon
I wonder if i can control some swiches for on / of a light or my fire allarm with the zoneminder.

Posted: Fri Oct 01, 2004 4:45 pm
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

Posted: Fri Oct 01, 2004 7:20 pm
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.

interface for devise control

Posted: Fri Oct 01, 2004 9:30 pm
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

Posted: Fri Oct 01, 2004 11:09 pm
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,

Posted: Sat Oct 02, 2004 3:47 am
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.

Posted: Sat Oct 02, 2004 2:01 pm
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/

Posted: Sat Oct 02, 2004 3:07 pm
by fernando
1-wire have many open projects mostly oriented to weather. temperature control.

lets wait for phil and see the generic interface.

Posted: Mon Oct 04, 2004 6:23 am
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... :)

electic devises control

Posted: Mon Oct 04, 2004 11:33 am
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

electic devises control

Posted: Mon Oct 04, 2004 11:33 am
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

Posted: Mon Oct 04, 2004 2:33 pm
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?

Posted: Mon Oct 04, 2004 5:57 pm
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.