A question about filters and/or time settings

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

A question about filters and/or time settings

Post 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?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

Post 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!
ddalton
Posts: 67
Joined: Wed Jun 22, 2005 6:53 pm

Day/Night

Post by ddalton »

How and where do you establish the day / night profiles you mentioned?
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Post by Baylink »

See Phil's posting, immediately above, where he step-by-steps this process... :-)
ddalton
Posts: 67
Joined: Wed Jun 22, 2005 6:53 pm

Thanks

Post by ddalton »

I skipped right over that.
Locked