After much learning I have Zoneminder and Event server set up successfully. The two combined are doing a wonderful; job for me.
I was wondering if there was a way to speed up the triggering of alerts I am particularly interested in getting mqtt events to Home Assistant asap.
Currently alerts take about 8s. Is it possible to speed this up?
What would influence this?
I am interested in both hardware and software tweeks. Currently I am using an old i5 with 16GB of ram and a fast HDD with Ubuntu 18.4.
Would a SSD speed up alerts?
Are there any software tweeks?
Thanks for any thoughts or sugestions.
Speed up zmeventserver alerts
Re: Speed up zmeventserver alerts
1 - the ES checks for alarms every 5 seconds. To change that, change "event_check_interval" in zmeventnofication.ini and restart ES
2. If you are using hooks, there are many things in objectconfig.ini:
- There is a wait parameter that will wait X seconds till the hook starts. Make sure you are not waiting more than needed.
- Hooks take time - model load/init time. Read the docs on how to improve this part (gpu/mlapi/tinyyolo)
3. Study debug logs and figure out where the delay is and then we can help you more.
2. If you are using hooks, there are many things in objectconfig.ini:
- There is a wait parameter that will wait X seconds till the hook starts. Make sure you are not waiting more than needed.
- Hooks take time - model load/init time. Read the docs on how to improve this part (gpu/mlapi/tinyyolo)
3. Study debug logs and figure out where the delay is and then we can help you more.
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: Speed up zmeventserver alerts
Thanks for the heads up. I am not using hooks (yet!) as for me speed is more important. I will look at the "event_check_interval" and the logs and see where that gets me.