Page 1 of 1
easy way to disable/enable the system?
Posted: Tue Apr 12, 2016 10:20 pm
by 777funk
I am having to disable each MoDect one camera at a time. Is there an easy way to let them monitor but turn MoDect for them ALL on/off at will?
Re: easy way to disable/enable the system?
Posted: Tue Apr 12, 2016 11:57 pm
by asker
Yup - just define two run states
Re: easy way to disable/enable the system?
Posted: Wed Apr 13, 2016 3:35 am
by SteveGilvarry
Asker is that in the User guide? I did a quick search and couldn't see anything about states, we may need to add something so we can link to it.
777funk for reference it is at the top of the console under the Running or Stopped State. Set monitors how you want them and Add a New state.
Re: easy way to disable/enable the system?
Posted: Wed Apr 13, 2016 11:32 am
by asker
its in the FAQ under extending Zoneminder.
However I do think it warrants being elevated to the main docs - this is a common need. I'll add it.
Re: easy way to disable/enable the system?
Posted: Fri Apr 15, 2016 2:27 am
by 777funk
I see extending Zoneminder in the FAQ but all I see is cron jobs which I'm somewhat familiar with. I'm not looking to schedule anything however, just looking for an easy way to enable/disable MoDect on all cameras with a single action.
Re: easy way to disable/enable the system?
Posted: Fri Apr 15, 2016 9:55 am
by SteveGilvarry
https://github.com/ZoneMinder/ZoneMinde ... eb-console
See Point I (Capital i)
This will make it to the docs eventually, but most often people setup the states and use cron to change them on a schedule. In your case configure your required run states and swap between them as desired. So in your particular case, set all monitors to Monitor, click on "Running" add new state (I think that saves it), then change all to modect and then add another state. Then when you click on State link it will give you options in drop down to swap to your saved states.
Re: easy way to disable/enable the system?
Posted: Fri Apr 15, 2016 6:21 pm
by 777funk
That works great! Thanks! Does it also save Filter states? I'd like different filters for different run states.
Re: easy way to disable/enable the system?
Posted: Fri Apr 15, 2016 6:30 pm
by asker
nope
Re: easy way to disable/enable the system?
Posted: Fri Apr 15, 2016 6:58 pm
by 777funk
I think it might save filter states. I just changed the email filter state and nothing happened (still emailing alerts). Then I saved the run state with the updated filter state and the emails stopped (matching my filter criterion).