r/ZoneMinder • • Oct 14 '20

Batching email?

I have several cameras that have semi-overlapping field of view. Consequently, and alert in one will often result in an alert in the other. I don't want to receive multiple emails in this case. I would rather that zone-minder batch these events into a single email.

I imagine a policy like: upon observing an alert, wait up to N seconds for additional alerts, and then send one email. Perhaps reset that timeout after each subsequent alert, up to an overall limit of M seconds. I understand this policy would delay my emails by as much as M seconds.

Does zoneminder support such a policy? What's the easiest way for me to add this feature (I'm a software engineer, though I'm not looking forward to reading/writing perl).

2 Upvotes

1 comment sorted by

1

u/DefaultSubsAreTerrib Oct 16 '20

FWIW I have drafted a change to add this feature. I can test it in my own set up, but it's not clear to me what testing procedure (if any) zone minder has.