Search found 6 matches

by _LD
Thu Jan 04, 2024 10:34 pm
Forum: ZoneMinder 1.36.x
Topic: Filter errors when executed, but 'LIST MATCHES' and 'DEBUG' work as expected
Replies: 2
Views: 55674

Re: Filter errors when executed, but 'LIST MATCHES' and 'DEBUG' work as expected

Ah, thank you much for the info, iconnor. (And, of course, now that you've clarified that, I see the wiki also mentions the automated filters use perl instead of PHP...) I tried every combination I could think of, but I couldn't get the Date::Manip module in perl to calculate the year in combination...
by _LD
Wed Jan 03, 2024 12:58 am
Forum: ZoneMinder 1.36.x
Topic: Filter errors when executed, but 'LIST MATCHES' and 'DEBUG' work as expected
Replies: 2
Views: 55674

Filter errors when executed, but 'LIST MATCHES' and 'DEBUG' work as expected

I'm setting up some annual archive filters. The filters work when selecting 'LIST MATCHES' on the filter page (with the 'System Load' line removed, obviously, to avoid that SQL error), and the 'DEBUG' modal also shows the expected dates; however, executing the filters results in date errors, and the...
by _LD
Tue Jun 21, 2022 4:20 am
Forum: ZoneMinder 1.36.x
Topic: alarm cause from zmMemRead
Replies: 13
Views: 3837

Re: alarm cause from zmMemRead

I've only been using ZM since 1.36, so I dunno how it worked on 1.34, but the Notes field is definitely populated in real-time, while the event is still a "New Event". If you run the query several times while the event is ongoing, the field will continue to update with additional zones as ...
by _LD
Mon Jun 20, 2022 11:35 pm
Forum: ZoneMinder 1.36.x
Topic: alarm cause from zmMemRead
Replies: 13
Views: 3837

Re: alarm cause from zmMemRead

my $alarmcause = zmGetMonitorState($monitor); Does not return the name of the zone in alarm which I need and is now missing in 1.36. but thank you for your response. Well of course it doesn't, because I'm stupid and pulled the wrong code. This is the way I retrieve the zone(s) triggering the alarm ...
by _LD
Mon Jun 20, 2022 11:19 pm
Forum: ZoneMinder 1.36.x
Topic: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17
Replies: 38
Views: 59478

Re: zm_videostore.cpp warning on 1.36.18, was also present on 1.36.17

I'm pretty sure I started noticing these errors filling the web log in 1.36.16; because everything's ostensibly still working, I haven't bothered to troubleshoot it myself.

My cameras are set to Modect on the low-res streams and Nodect on the high-res.
by _LD
Mon Jun 20, 2022 11:11 pm
Forum: ZoneMinder 1.36.x
Topic: alarm cause from zmMemRead
Replies: 13
Views: 3837

Re: alarm cause from zmMemRead

johndul0001 wrote: Fri Jun 10, 2022 8:20 pm

Code: Select all

         my $alarmcause = zmMemRead($monitor, 'shared_data:alarm_cause');
I dunno how the performance compares to the method you have been using, but perhaps you can try replacing the above snippet of code with the following line?

Code: Select all

my $alarmcause = zmGetMonitorState($monitor);