Please excuse me, I was unable to find it in the forum, but I know that it is possible ....
I have ZM installed and want to have different configuration for day and night
as example during the day cameras will "record" and night will "modect"
how to do this ?
Thank you in advance
Save / load monitor configuration? HOW?
Save / load monitor configuration? HOW?
Last edited by help40 on Thu Mar 29, 2012 5:32 am, edited 1 time in total.
- nightcrawler
- Posts: 71
- Joined: Fri Aug 12, 2011 9:54 am
- Location: the netherlands
Re: Save / load monitor configuration? HOW?
Hi,
see my post at : http://www.zoneminder.com/forums/viewto ... 21&t=18334
and the wiki at: http://www.zoneminder.com/wiki/index.ph ... or_week.3F
see my post at : http://www.zoneminder.com/forums/viewto ... 21&t=18334
and the wiki at: http://www.zoneminder.com/wiki/index.ph ... or_week.3F
How can I get ZM to do different things at different times of day or week?
If you want to configure ZoneMinder to do motion detection during the day and just record at night, for example, you will need to use ZoneMinder 'run states'. A run state is a particular configuration of monitor functions that you want to use at any time.
To save a run state you should first configure your monitors for Modect, Record, Monitor etc as you would want them during one of the times of day. Then click on the running state link at the top of the Console view. This will usually say 'Running' or 'Stopped'. You will then be able to save the current state and give it a name, 'Daytime' for example. Now configure your monitors how you would want them during other times of day and save that, for instance as 'Nighttime'.
Now you can switch between these two states by selecting them from the same dialog you saved them, or from the command line from issue the command zmpkg.pl <run state>, for example zmpkg.pl Daytime.
The final step you need to take, is scheduling the time the changes take effect. For this you can use cron. A simple entry to change to the Daylight state at at 8am and to the nighttime state at 8pm would be as follows,
Code:
0 8 * * * /usr/local/bin/zmpkg.pl Daytime
0 20 * * * /usr/local/bin/zmpkg.pl Nighttime
Zoneminder @Ubuntu 11 server, ZM 1.25.0 , FFMPEG, 4 Analoge cameras, 1.6ghz P4mobile, 2GB ram, 60GB-HDD.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.
I also have an (homeseer) domotica system up-and-running with touchscreens,light controllers,weather forecast etc.