Page 1 of 1

A question about filters and/or time settings

Posted: Wed Jun 22, 2005 6:25 am
by Blazer
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?

Posted: Wed Jun 22, 2005 10:21 am
by zoneminder
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

Code: Select all

zmpkg.pl <state name>
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

Posted: Wed Jun 22, 2005 5:18 pm
by Blazer
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!

Day/Night

Posted: Wed Jun 22, 2005 6:56 pm
by ddalton
How and where do you establish the day / night profiles you mentioned?

Posted: Wed Jun 22, 2005 7:00 pm
by Baylink
See Phil's posting, immediately above, where he step-by-steps this process... :-)

Thanks

Posted: Wed Jun 22, 2005 7:03 pm
by ddalton
I skipped right over that.