Alarm state info with Zone Name

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
p3k074
Posts: 8
Joined: Mon Mar 05, 2012 8:35 pm

Alarm state info with Zone Name

Post by p3k074 » Tue Oct 02, 2018 4:38 pm

Hi,

Its possible logging any "alarm state" with name of Zone which is going to alarm state ?
I have few zone define but need parse log only with only one of them. Now i cant. Only whole camera alarm state will be logged.

p3k074
Posts: 8
Joined: Mon Mar 05, 2012 8:35 pm

Re: Alarm state info with Zone Name

Post by p3k074 » Fri Oct 05, 2018 8:48 pm

Anyone ?

User avatar
asker
Posts: 1339
Joined: Sun Mar 01, 2015 12:12 pm

Re: Alarm state info with Zone Name

Post by asker » Fri Oct 05, 2018 9:02 pm

ZoneMinder already records the name of the zone today in the "Notes" field of every even, which is also accessible via APIs

For example:

https://myserver/zm/api/events/282529.json

returns, amongst other fields:

Code: Select all

"Notes": "Motion: door, stairs"
Where door and stairs are the zone names where motion was detected.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

p3k074
Posts: 8
Joined: Mon Mar 05, 2012 8:35 pm

Re: Alarm state info with Zone Name

Post by p3k074 » Sat Oct 13, 2018 10:04 pm

Yes , right.

But will be great when zone name will be logged in standard log on filestystem when some zone going to alarm state.

In my case for now im use external script for watching alert states in real time.
I cant do it on standard ZM filter because its not proper fired in 1-2 sec after alarm state starting.
I have 4-5 min delay - its not possible used it for real time monitoring and executin any external scripts.
Thats why i make script watching log and when any camera going to alarm state my script is fired in 1sec.
Work great and fast. But work only for camer not for zones.

Will be great when alram state for some zone will be loged for log with writing name camera + zone name.

Its possbile ?

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests