Search found 3 matches

by The00Dustin
Fri Dec 02, 2016 8:13 pm
Forum: ZoneMinder 1.28.x
Topic: Network Triggers Don't Work After Reboot
Replies: 0
Views: 2230

Network Triggers Don't Work After Reboot

I'm running v1.28.1 on an Ubuntu server and recently enabled OPT_TRIGGERS so that zmtrigger.pl would run and I could trigger monitoring via TCP. It was working fine until the server was shut down (sudo init 0) and powered back on. At that point, zmtrigger.pl was running and accepting connections, bu...
by The00Dustin
Fri Dec 02, 2016 7:58 pm
Forum: ZoneMinder Distributions
Topic: Raspberry Pi GPIO for Triggering Record based on Door Contacts
Replies: 2
Views: 11218

Re: Raspberry Pi GPIO for Triggering Record based on Door Contacts

Don't really need to be fancy, just want to be helpful, so here's the code for a normally open contact wired between GPIO11 and GND that triggers recording on monitor 4 while closed: #!/usr/bin/env python import RPi.GPIO as GPIO import signal import socket import time #Define GPIO pin here: thiscont...
by The00Dustin
Tue Nov 22, 2016 10:02 pm
Forum: ZoneMinder Distributions
Topic: Raspberry Pi GPIO for Triggering Record based on Door Contacts
Replies: 2
Views: 11218

Raspberry Pi GPIO for Triggering Record based on Door Contacts

I just spent the last two days writing a pretty simple Python program to monitor door contacts connected to a Raspberry Pi and trigger recording whenever a door is open. I went through several iterations (working with IRQs, forking, etc) before landing with what I have (individually named programs t...