easy way to disable/enable the system?
easy way to disable/enable the system?
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?
Yup - just define two run states
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: easy way to disable/enable the system?
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.
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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: easy way to disable/enable the system?
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.
However I do think it warrants being elevated to the main docs - this is a common need. I'll add it.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: easy way to disable/enable the system?
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.
-
- Posts: 494
- Joined: Sun Jun 29, 2014 1:12 pm
- Location: Melbourne, AU
Re: easy way to disable/enable the system?
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.
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.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Random Selection of Cameras (Dahua and Hikvision)
Re: easy way to disable/enable the system?
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?
nope
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: easy way to disable/enable the system?
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).