Difference between revisions of "Filters"
From ZoneMinder Wiki
Jump to navigationJump to search
Line 28: | Line 28: | ||
</pre> | </pre> | ||
===Related Links | ===Run filter from cron=== | ||
You can use cron job to run the filter. Don't check the run in | |||
background box .. then in cron job run zmfilter.pl --filter_id=[whatever | |||
the id is] (from forum). | |||
==Related Links== | |||
https://forums.zoneminder.com/viewtopic.php?f=42&t=29280 | https://forums.zoneminder.com/viewtopic.php?f=42&t=29280 | ||
Revision as of 20:47, 14 October 2022
Here are some example filters for use with Zoneminder. If you have a useful filter, please add it here.
Note about purgewhenfull and Additional HDDs
See: https://wiki.zoneminder.com/Using_a_dedicated_Hard_Drive
Examples
Receive email alarm on Weekends
For monitoring on the weekend you might have:
date/time greater than or equal to -1 minute AND alarm frames greater than or equal to 1 AND Weekday equal to Saturday OR Weekday equal to Sunday AND alarm frames greater than or equal to 1 AND date/time greater than or equal to -1 minute
Choose "email details upon match" in the filter. For more details see Email
Receive email for specific monitor on Sunday
Monitor id equal to ### AND Cause not equal to Signal AND Date/Time greater than or equal to -1 minute AND Alarm frames greater than or equal to 10 AND Weekday equal to Sunday
Run filter from cron
You can use cron job to run the filter. Don't check the run in background box .. then in cron job run zmfilter.pl --filter_id=[whatever the id is] (from forum).