First of all, hello to all members
I'm a noob about Zoneminder, and I'm currently discovering it.
Congratulations to all developers/contributors !
My first goal is to have a simple command to enable alarms on all cameras of a group, with a simple command (a shell script, a perl script, or a cgi script callable from a web page)
in brief, avoid necessity to connect to zm, and activate alarm for each camera....
Is it possible to change a value in Mysql database, or to call a perl tool to do that ?
Thanks
Is it possible to enable/disable alarms externally
Is it possible to enable/disable alarms externally
Linux satellite receivers, and Home automation hobbies
Re: Is it possible to enable/disable alarms externally
As far as I understand the easiest solution is to set up different Run-states, I've set upp Home and Away, where Home has all cameras on Monitor och Away have them all on Modect.
It should be possible to switch Run-state from the command line (I don't remember the exact command though, haven't set it up yet).
It should be possible to switch Run-state from the command line (I don't remember the exact command though, haven't set it up yet).
Re: Is it possible to enable/disable alarms externally
Thanks for answer
That seems to be a good idea, but I've to understand how to configure many Run_States....
In the meantime, I've tried the 'zmu' command, like :
the zmu utility return a positive ack, but nothing happens : The camera don't switch , and does'nt detect alarms....
That seems to be a good idea, but I've to understand how to configure many Run_States....
In the meantime, I've tried the 'zmu' command, like :
Code: Select all
root@server:~# zmu -m 4 -v -E --username admin --password my_pass
Monitor 4(Outside)
Enabling event generation
root@server:~#
Linux satellite receivers, and Home automation hobbies
Re: Is it possible to enable/disable alarms externally
Thanks, Nerre !
I'll try that : It's not easy to discover this kind of feature : Have to know the 'status' has to be clicked !
And the logic to store / activate a run_state in the popup window is'nt really 'intuitive' ....
I'll try that : It's not easy to discover this kind of feature : Have to know the 'status' has to be clicked !
And the logic to store / activate a run_state in the popup window is'nt really 'intuitive' ....
Linux satellite receivers, and Home automation hobbies
Re: Is it possible to enable/disable alarms externally
The management of run_state seems to be a bit hazardous....
Sometimes Modect works, sometimes not !
Is it possible to check which run_state is running at a moment ?
the console only displays 'Running'
Sometimes Modect works, sometimes not !
Is it possible to check which run_state is running at a moment ?
the console only displays 'Running'
Linux satellite receivers, and Home automation hobbies
Re: Is it possible to enable/disable alarms externally
zmpkg.pl status
Or is it that command that just returns Running?
Or is it that command that just returns Running?
Re: Is it possible to enable/disable alarms externally
yep, only 'running'Nerre wrote:zmpkg.pl status
Or is it that command that just returns Running?

Linux satellite receivers, and Home automation hobbies