Page 1 of 1

Alarm state info with Zone Name

Posted: Tue Oct 02, 2018 4:38 pm
by p3k074
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.

Re: Alarm state info with Zone Name

Posted: Fri Oct 05, 2018 8:48 pm
by p3k074
Anyone ?

Re: Alarm state info with Zone Name

Posted: Fri Oct 05, 2018 9:02 pm
by asker
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.

Re: Alarm state info with Zone Name

Posted: Sat Oct 13, 2018 10:04 pm
by p3k074
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 ?