Request for help: External trigger

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
alabamatoy
Posts: 349
Joined: Sun Jun 05, 2016 2:53 pm

Request for help: External trigger

Post by alabamatoy »

What is the easiest way to trigger (zmtrigger.pl, right?) Zoneminder with a simple open/closed circuit connection?

IOW, I have an external sensor which when it senses what I want to sense, it closes a simple relay circuit. I need to detect that relay closure (presence of a connection) with ZM and crank specific cameras to record an event (go into alarm).

I have seen this solution, but it seems quite complex. I dont think I am capable of building such a device. Does someone offer these for sale?

Other solutions that I have overlooked?
User avatar
snake
Posts: 337
Joined: Sat May 21, 2016 2:20 am

Re: Request for help: External trigger

Post by snake »

alabamatoy wrote: Tue Sep 04, 2018 6:04 pm What is the easiest way to trigger (zmtrigger.pl, right?) Zoneminder with a simple open/closed circuit connection?
  • Connect relay or alarm to computer.
  • Have computer telnet to ZM Server and send the necessary packet when alarm is set off.
A bash script should be enough.

There's some instructions at https://wiki.zoneminder.com/ZMTrigger
alabamatoy
Posts: 349
Joined: Sun Jun 05, 2016 2:53 pm

Re: Request for help: External trigger

Post by alabamatoy »

snake wrote: Wed Sep 05, 2018 1:12 am
  • Connect relay or alarm to computer.
Respectfully, this is what I am asking how to do. I dont get how to connect the relay or alarm to the computer.
snake wrote: Wed Sep 05, 2018 1:12 am There's some instructions at https://wiki.zoneminder.com/ZMTrigger
Thx, I will look through that and see if I missed it.
Post Reply