Arming and dis-arming by editing filters from command line
Posted: Mon Sep 08, 2014 2:05 am
Hello,
I have seen a few posts around where people mention they are arming and dis-arming zoneminder but it's not clear what they are doing to do that but I suspect they are just changing camera function from say "monitor" to "modect" for example.
I on the other hand would prefer cameras to record motion in all circumstances when armed or dis-armed.
For me having the system email me or NOT email me on motion detection would be satisfactory for an arm/disarm scenario however just enabling OPT_EMAIL or disabling still does not suit.
I would like when I am home for system NOT to email me if motion is detected from cameras inside the house but to continue emailing if motion is detected from cameras outside the house. But in both circumstances to continue recorded motion.
Then when I leave home to have email notifications on motion detected from all cameras.
At the moment I achieve this from fiddling with filters and this works but its time consuming.
My question is, can these filters be edited from a command line and if so can someone give me a pointer on a few commands to investigate to edit a filter from the command line. If I can do that then I figure I can then just make a script to arm and disarm by editing filters. ie.. stop and start emailing from certain cameras at the launch of a couple of scripts on my desktop.
Please advise
thank you
I have seen a few posts around where people mention they are arming and dis-arming zoneminder but it's not clear what they are doing to do that but I suspect they are just changing camera function from say "monitor" to "modect" for example.
I on the other hand would prefer cameras to record motion in all circumstances when armed or dis-armed.
For me having the system email me or NOT email me on motion detection would be satisfactory for an arm/disarm scenario however just enabling OPT_EMAIL or disabling still does not suit.
I would like when I am home for system NOT to email me if motion is detected from cameras inside the house but to continue emailing if motion is detected from cameras outside the house. But in both circumstances to continue recorded motion.
Then when I leave home to have email notifications on motion detected from all cameras.
At the moment I achieve this from fiddling with filters and this works but its time consuming.
My question is, can these filters be edited from a command line and if so can someone give me a pointer on a few commands to investigate to edit a filter from the command line. If I can do that then I figure I can then just make a script to arm and disarm by editing filters. ie.. stop and start emailing from certain cameras at the launch of a couple of scripts on my desktop.
Please advise
thank you