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

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

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

Post by hahobson » Wed Jul 21, 2021 4:27 am

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: 1511
Joined: Sun Mar 01, 2015 12:12 pm

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

Post by asker » Wed Jul 21, 2021 11:17 am

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
Please don't ask me questions via PM. Please post in these forums or GitHub.

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: 2
Joined: Mon Jul 19, 2021 8:00 am

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

Post by hahobson » Thu Jul 22, 2021 3:54 am

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

Who is online

Users browsing this forum: No registered users and 2 guests