Page 1 of 1

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

Posted: Wed Jul 21, 2021 4:27 am
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!

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

Posted: Wed Jul 21, 2021 11:17 am
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

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

Posted: Thu Jul 22, 2021 3:54 am
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