Check if Monitor is in an Event

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
phils01
Posts: 12
Joined: Fri Mar 19, 2021 5:04 pm

Check if Monitor is in an Event

Post by phils01 »

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 alway accurate if there was a problem with the previous event or the montior crashes.

Zmtrigger does not start a new event if the monitor is already recording a previous event, but I cannot see where it checks that

Thanks in advance
Phil.
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Check if Monitor is in an Event

Post by iconnor »

You can use zmu to query the monitor.
Post Reply