Hello,
I have ZM installed on a machine running Linux Mint (Mint 18, ZM 1.29.0), I've been tinkering around for a couple of days and everything is working great. Got it installed and recording pretty quickly. For testing, I setup the trigger and set my camera to nodect, sent a command via Python and I'll be darned, it worked first try!
My project I'm working on is monitoring a machine in our shop. From my machine, I can get status when it faults, I can send that to ZM and trigger it to record (and this currently works). This may sound silly, but what I really need is a certain amount of time prior to the event to see what might have caused it. So I imagine it like this, I'm constantly recording, an external event happens, save an event at 20 seconds prior to the trigger and record for the next 20 seconds (sent with the external trigger). I searched around for a bit and although I've seen a few posts asking for what seemed like the same thing, I didn't see any responses.
Should I just forget it? Or does anyone have a clever way to accomplish this?
I was thinking that a round about way would be to have a constant recording and a nodect on the same monitor. Then when I see an event on the nodect, I could try to find that point in the constant recording. It would just be a little clunky. Especially if you showed up an hour after the event happened.
Thanks for reading!
Trigger Function - n Time Prior
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: Trigger Function - n Time Prior
In monitor setup go to Buffer tab and checkout pre and post event buffers. Never tried that with triggers, but I believe it should work. Note buffers are in frames so 20 x FPS.
http://zoneminder.readthedocs.io/en/sta ... uffers-tab
http://zoneminder.readthedocs.io/en/sta ... uffers-tab
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Trigger Function - n Time Prior
This is by definition what the prebuffer does, and yes they work with triggers.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Trigger Function - n Time Prior
Oh my goodness, there it is, right in the manual! Thanks for showing me. I'm excited to try this out!
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: Trigger Function - n Time Prior
RTFM FTW!!!
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: Trigger Function - n Time Prior
Touché sir, touché.SteveGilvarry wrote:RTFM FTW!!!