Search found 63 matches

by montagdude
Wed Nov 29, 2017 4:35 pm
Forum: ZoneMinder 1.30.x
Topic: Analysis FPS
Replies: 8
Views: 6042

Re: Analysis FPS

Not sure if this is the key, but it seems there's a dedicated (different) buffer is analysis_fps is set: https://github.com/ZoneMinder/ZoneMinder/blob/master/src/zm_monitor.cpp#L1369:L1419 Maybe this is only copying the frames being analyzed to it, and therefore only storing those as opposed to the...
by montagdude
Fri Nov 24, 2017 2:10 am
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 28
Views: 24318

Re: Instant notification on alarm

Okay, so actually I'm not done yet. :D In the process of testing this script, I realized that a new event is assigned as soon as a monitor goes into alarm state. Therefore, it's not necessary to check whether the monitor is in alarm state, only whether a new event is available. This has the benefit ...
by montagdude
Thu Nov 23, 2017 7:42 pm
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 28
Views: 24318

Re: Instant notification on alarm

Cool! I only just realized that the alerts weren't really instantaneous. I also like that this enables you to send it to multiple email addresses. Is there any way you think you could modify this to send a notification to one email address or another based on which zone was triggered? So for exampl...
by montagdude
Thu Nov 23, 2017 6:13 pm
Forum: ZoneMinder 1.30.x
Topic: Can't initiate email notifications
Replies: 23
Views: 6498

Re: Can't initiate email notifications

This may have been asked before, but do you have your filter set to run in the background? What if you create a new filter that is not set to run in the background, set it to email you, and then hit Execute? Make sure it is something that will return a match. You can use Submit to check.
by montagdude
Thu Nov 23, 2017 6:45 am
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 28
Views: 24318

Re: Instant notification on alarm

A couple more tweaks: 1. Allow sending notifications to more than one address. Just enter multiple addresses in the @toaddrs list. 2. I was previously getting at least two alerts for each event, one for being in alarm/alert/tape state, and the other for a new event. I added a variable alarm_overload...
by montagdude
Thu Nov 23, 2017 4:26 am
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 28
Views: 24318

Re: Instant notification on alarm

I made a couple changes (edited the code in the first post). 1. I found out that if the run state changes (either stopped -> running or in any other way that causes a different set of monitors to be enabled), the list of monitors needs to be rebuilt. Therefore, I put the code to create the list of m...
by montagdude
Thu Nov 23, 2017 12:12 am
Forum: ZoneMinder 1.30.x
Topic: Can't initiate email notifications
Replies: 23
Views: 6498

Re: Can't initiate email notifications

I believe AutoEmail is the flag that gets set for an event matching your filter conditions when you have "Email details of all matches" checked. Just curious, have you tried it without ssmtp? I suppose another thing you could is to add more Info() calls in zmfilter.pl. That way you could see if the ...
by montagdude
Wed Nov 22, 2017 8:08 pm
Forum: ZoneMinder 1.30.x
Topic: Can't initiate email notifications
Replies: 23
Views: 6498

Re: Can't initiate email notifications

Not exactly a solution for your filter problem, but you could try this motion alert notification script I created. It doesn't depend on filters, so you can see if that works. Be sure to edit the inputs as described in the first post. https://forums.zoneminder.com/viewtopic.php?f=9&t=26758 Feel free ...
by montagdude
Wed Nov 22, 2017 7:15 pm
Forum: ZoneMinder 1.30.x
Topic: [problem] Zoneminder several crash
Replies: 20
Views: 6213

Re: [problem] Zoneminder several crash

I haved try with -x option but not working. (their is some line about wayland) I need command line if anybody can help, this bug is really, really, really blocking. (so painful that I check for alternatives) See this link for enabling downloading source code with apt: https://askubuntu.com/question...
by montagdude
Wed Nov 22, 2017 5:46 pm
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 28
Views: 24318

Instant notification on alarm + machine learning object detection

UPDATE 1/31/19: I have ditched the Perl script below and switched to Python with the ZoneMinder API. I have also implemented object detection to eliminate false alerts. See post 12 for more information and a link to the code. It's easy to set up filters to send SMS or email notifications. The proble...
by montagdude
Sat Nov 18, 2017 11:46 pm
Forum: ZoneMinder 1.30.x
Topic: Another Schedule Question
Replies: 8
Views: 2265

Re: Another Schedule Question

Depending on how many different permutations of zones you want to have, you could just duplicate the monitor but set the zones differently. Then use run states to enable/disable them at different times of the day. This is what I'm doing with one of mine to change motion detection sensitivity for day...
by montagdude
Wed Nov 15, 2017 1:35 pm
Forum: ZoneMinder 1.30.x
Topic: Analysis FPS
Replies: 8
Views: 6042

Re: Analysis FPS

Well, I can partially answer my own question. For one thing, the Analysis FPS doesn't have to be an integer, so I set it to 2.5 while my cameras stream at 5 FPS. It does pretty much what I thought, except that when in Modect mode the events will be saved at the Analysis FPS, not the stream FPS. When...
by montagdude
Wed Nov 15, 2017 1:30 pm
Forum: ZoneMinder 1.30.x
Topic: log analysis help requested
Replies: 4
Views: 1645

Re: log analysis help requested

Are they IP cameras, though? It could be your ISP being flakey, I guess. What is your system load like?
by montagdude
Tue Nov 14, 2017 6:18 pm
Forum: ZoneMinder 1.30.x
Topic: log analysis help requested
Replies: 4
Views: 1645

Re: log analysis help requested

Are these wifi cameras? I had similar problems (with the exception of the ffmpeg warning, as far as I remember) after upgrading my router's firmware, which, as it turned out, made the network unstable and caused the to disconnect frequently. I also ended up with many events caused by "Signal." When ...
by montagdude
Tue Nov 14, 2017 5:22 pm
Forum: ZoneMinder 1.30.x
Topic: Analysis FPS
Replies: 8
Views: 6042

Analysis FPS

Hi, I don't see any documentation on this setting. There is a little bit of info on the forums, but not a lot, so I wanted to get some clarification. I have my IP camera set to stream at 5 FPS. That seems to be plenty for recording events, and my wifi bandwidth handles it fine. If the Analysis FPS d...