I see that ZM lets you filter events by times, AFTER they are recorded. What I don't see how to do, is set a zone to only record during a certain time.
For instance, I may have a camera in a busy hallway, and only want to record events from 6pm-6am. Otherwise the disk would fill up with events from all the activity that I dont care about.
Since this seems like a logical option/feature that anyone would want, I'm assuming I just don't see how to set it (probably because I dont have a camera attached yet so am limited in my exploration of the interface).
Can someone point me in the right direction?
A question about filters and/or time settings
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Currently this is only possible through using run states. So get your system how you want it at night say and then save that run state (click on 'Running' on the consle), then alter the monitor run modes to be how you want them during the day, and save that one as well. Then you can use cron or something else to get ZM into those states by doing
so at 6pm you'd prompt ZM to go into 'night' state and at 6am into 'day' state. It's not very elegant and a better interface is on the to do list but it should get you started. You can also change run states from the web console manually of course.
Phil
Code: Select all
zmpkg.pl <state name>
Phil
Thanks for that workaround. I hope adding time restrictions to zones is high on the ToDo list? I'm assumming that if I change the run state via cron, that the current running web/monitor page will not change to reflect this (You wont see a camera view switch from monitor mode to MoDetect).
It would be much nicer if times were part of the zone definition. I'm pretty good at perl, once I get my cameras and can really start testing Zm fully, I will offer my assistance one I look at the code.
Thanks for creating a great product!
It would be much nicer if times were part of the zone definition. I'm pretty good at perl, once I get my cameras and can really start testing Zm fully, I will offer my assistance one I look at the code.
Thanks for creating a great product!