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.
Alarm state info with Zone Name
Re: Alarm state info with Zone Name
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:
Where door and stairs are the zone names where motion was detected.
For example:
https://myserver/zm/api/events/282529.json
returns, amongst other fields:
Code: Select all
"Notes": "Motion: door, stairs"
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: Alarm state info with Zone Name
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 ?
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 ?