Search found 12 matches

by phils01
Wed Dec 04, 2024 12:20 pm
Forum: ZoneMinder 1.36.x
Topic: Question: zmpkg.pl logrot
Replies: 1
Views: 904

Question: zmpkg.pl logrot

Hi I am trying to change my log roatation so that Zonemidner is not restarted at midnight. As far as I can tell the postrotate calls "zmpkg.pl logrot" which in turn calls "zmdc.pl logrot" and simply does some checks then restarts the zoneminder process from its pid. If I change logrotate to use ...
by phils01
Tue Dec 03, 2024 2:52 pm
Forum: ZoneMinder 1.34.x
Topic: zmtrigger stopping events
Replies: 3
Views: 103406

zmtrigger stopping events

Hello All I make heavy use of zmtrigger to sart and stop events from a process running on a differnt server, this has been running reliably for many years Recently I have notived something odd : when I send an "off" trigger for several cameras, the events seem to stop but only the first camera is ...
by phils01
Mon Sep 02, 2024 6:00 pm
Forum: ZoneMinder 1.36.x
Topic: ZMfilter - select events that have completed
Replies: 7
Views: 3262

Re: ZMfilter - select events that have completed

Of if possible add a "Null" option to the data/time picker that pops up.
by phils01
Mon Sep 02, 2024 10:41 am
Forum: ZoneMinder 1.36.x
Topic: ZMfilter - select events that have completed
Replies: 7
Views: 3262

Re: ZMfilter - select events that have completed

Thank you - I worked it out from the code. I was using "IS NOT" but I had 'null' in lowercase. The code in zmfilter.pl explicitly looks for 'NULL' in upercase to decide if it should parse the date field, I changed my filter to be NULL and the events have been processing happily all night. } elsif ...
by phils01
Sun Sep 01, 2024 6:11 pm
Forum: ZoneMinder 1.36.x
Topic: ZMfilter - select events that have completed
Replies: 7
Views: 3262

Re: ZMfilter - select events that have completed

I thought I had this working because the "List Matches" was happily showing me all the events I expected. HOWEVER, I noticed that none actually get processed. The zmfilter log shows : 01/09/24 19:06:01.935925 zmfilter_3[2344208].ERR [ZoneMinder::Filter:465] [Unable to parse date string 'null'] 01/09 ...
by phils01
Fri Aug 23, 2024 10:19 am
Forum: ZoneMinder 1.36.x
Topic: ZMfilter - select events that have completed
Replies: 7
Views: 3262

ZMfilter - select events that have completed

Hello I am in the process of setting up some new ZM servers, and copying filters from my older exisitng setup. I have a raft of filters that work perfectly converting video after an event has completed. However on the new instances, the filter kicks in while the event is still happening - which it ...
by phils01
Tue May 04, 2021 6:13 pm
Forum: ZoneMinder 1.34.x
Topic: Events restart at midnight.
Replies: 2
Views: 1788

Re: Events restart at midnight.

Thank you - I had not thought about logrotate. I will have a look at that, and see if I can find a way to not restart if it is recording an event. Can you point me to what Ajax calls I can use? I have been use sql to query the next event my monitor, but I cannot guarantee that was part of the same ...
by phils01
Mon May 03, 2021 1:27 pm
Forum: ZoneMinder 1.34.x
Topic: Events restart at midnight.
Replies: 2
Views: 1788

Events restart at midnight.

Hi all I have a odd problem, Im sure is a setting i have missed. I use zmtrigger to start/stop events, yesterday I started an event in he afternoon that ran through till the early hours of today. However, ZM shows the event was stopped at 00:00:48 and a new event started immediately. I have event ...
by phils01
Fri Apr 09, 2021 1:59 pm
Forum: ZoneMinder 1.34.x
Topic: zmtrigger does not always return all events
Replies: 4
Views: 2119

Re: zmtrigger does not always return all events

Thank you - if I can provide any more information or test any fixes let me know.

Am I correct in thinking "<IP>/zm/api/monitors/alarm/id:35/command:on.json" should do a similar thing to zmtrigger? as I cannot get that to work.

Phil.
by phils01
Fri Apr 09, 2021 1:26 pm
Forum: ZoneMinder 1.34.x
Topic: zmtrigger does not always return all events
Replies: 4
Views: 2119

Re: zmtrigger does not always return all events

sorry I think I was probably not very descriptive in my message. I have 8 cameras all recording a mahcine in a factory. When they start the machine, a zmtrigger is sent to zonemidner starting an event on each camera (and setting an OSD message in the timestamp), for exmple : 35|on|1|triggered|OSD ...
by phils01
Tue Apr 06, 2021 6:01 pm
Forum: ZoneMinder 1.34.x
Topic: zmtrigger does not always return all events
Replies: 4
Views: 2119

zmtrigger does not always return all events

hi All I have found a weird issue I cannot seem to fathom. I have a script that is triggering zmtrigger.pl passing it 10 differnt triggers "1|on|1|cause|notes<CR>1|on|1|cause|notes<CR>3|on|1|cause|notes........etc", but *somtimes* zmtrigger does not always return ALL the events event tho it is ...
by phils01
Fri Mar 19, 2021 5:08 pm
Forum: ZoneMinder 1.34.x
Topic: Check if Monitor is in an Event
Replies: 1
Views: 1233

Check if Monitor is in an Event

Hi All Is there any way I can check if a monitor is currently in an Event? I am writing some remote software that will trigger ZoneMinder usign zmtrigger, but I need to check first if the Monitor is already recording an event. I can read the database for ene EndTime in the Event, but this is not ...