/var/cache/zoneminder/events latency of writing to log

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
hahobson
Posts: 34
Joined: Mon Jul 19, 2021 8:00 am

/var/cache/zoneminder/events latency of writing to log

Post by hahobson »

I have an application where I need to set up many small zones. Once an event is triggered, a PTZ camera is pointed at that zone. I have been reading that there is some latency between an event happening to writing to the events log file. Does anyone know the time it takes to write to the log file once an event is detected?

I am also looking at PYZM to write a monitoring script that will direct the PTZ camera. If you know of any PYZM tutorial resourses, I would be much obliged.

8) Thank you!
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: /var/cache/zoneminder/events latency of writing to log

Post by asker »

pyzm has documentation: https://pyzm.readthedocs.io/en/latest/s ... dules.html
tutorials: best learned through simple code examples https://github.com/ZoneMinder/pyzm/tree/master/examples

All that being said, I'm not sure pyzm currently has modules to control PTZ. You may have to write one
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
hahobson
Posts: 34
Joined: Mon Jul 19, 2021 8:00 am

Re: /var/cache/zoneminder/events latency of writing to log

Post by hahobson »

Thanks for the reply. I did find this: https://pyzm.readthedocs.io/en/latest/e ... on-example I will look at the link you sent me. Not worried about controlling the PTZ camera. I have to do some of the work :D
Post Reply