I want to change Zone 'Type' between 'Active' and 'Inactive' by way of the command line and by cron commands. Any pointers are appreciated.
I see from the Wiki documentation some PERL scripts for changing other configuration items, but not Zone configuration.
I can change the database with mysql commands, but they do not seem to be noticed by the running zoneminder.
I may want to change thing like 'Pixel Threshold' later.
What motivates this is different images between day and night(with IR) causing non-optimal triggering.
help with commandline zone configuration
Re: help with commandline zone configuration
Hi,
I believe that will be easier to duplicate the camera and change the zone configuration in the copy. In that way you could change the state of Zoneminder being, for instance:
State DaySettings:
Camera 1- Camera function= Modect, Zone configuration Active
Camera 1(clone)- Camera function=None, Zone configuration Inactive
State NightSettings:
Camera 1 - Camera function=None, Zone configuration Inactive
Camera 1 (clone)- Camera function= Modect, Zone configuration Active
It's easier to switch between states using cron commands, don't you think?
Hope it helps,
PacoLM
I believe that will be easier to duplicate the camera and change the zone configuration in the copy. In that way you could change the state of Zoneminder being, for instance:
State DaySettings:
Camera 1- Camera function= Modect, Zone configuration Active
Camera 1(clone)- Camera function=None, Zone configuration Inactive
State NightSettings:
Camera 1 - Camera function=None, Zone configuration Inactive
Camera 1 (clone)- Camera function= Modect, Zone configuration Active
It's easier to switch between states using cron commands, don't you think?
Hope it helps,
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
Re: help with commandline zone configuration
PacoLM,
What is the script for cron to execute the change of state of Zoneminder in your example?
I know how to do it in interactive mode.
Thanks, Allen
What is the script for cron to execute the change of state of Zoneminder in your example?
I know how to do it in interactive mode.
Thanks, Allen
Re: help with commandline zone configuration
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...