Execute command seems to make my filter go crazy
Posted: Tue Feb 16, 2016 8:10 pm
I am a new Zoneminder user so please forgive me if this is a silly question.
I've set up a background filter to email me when motion occurs with more than 20 alarm frames. This has been working great. I'm now trying to go one step further and have Zoneminder send me a Telegram message on motion. To that end, I'm writing a Python script that does the business, and I've added it to the "Execute command on all events".
HOWEVER, when I do this, Zoneminder seems to be hitting my script MULTIPLE times, for seemingly random events that do not match the filter at all. I can see in the logs that the script is being fired repeatedly, despite the fact that no alarm has occurred. The Email option seems to behave, as I do not receive any unexpected Emails, but it seems that the "Execute command" lives by a different set of rules altogether.
Any ideas? I've attached a screenshot of my filter (which again, has been working great for Emails so far - no duplication).
I've set up a background filter to email me when motion occurs with more than 20 alarm frames. This has been working great. I'm now trying to go one step further and have Zoneminder send me a Telegram message on motion. To that end, I'm writing a Python script that does the business, and I've added it to the "Execute command on all events".
HOWEVER, when I do this, Zoneminder seems to be hitting my script MULTIPLE times, for seemingly random events that do not match the filter at all. I can see in the logs that the script is being fired repeatedly, despite the fact that no alarm has occurred. The Email option seems to behave, as I do not receive any unexpected Emails, but it seems that the "Execute command" lives by a different set of rules altogether.
Any ideas? I've attached a screenshot of my filter (which again, has been working great for Emails so far - no duplication).