Page 1 of 1

New Real time Event Notification Service for ZM

Posted: Wed Oct 07, 2015 4:26 pm
by asker
What is it?

A secure web socket based event notification system to report new events in real time.
Ties into ZM authentication

As of Oct 24 2015, version 0.3 also fully supports APNS/GCM if you write your own app that needs them. If you are using zmNinja, all the push work is already done for you. Read the README for the event server.

Why do we need it?

using filters to report events is far from real time

Who uses it?

You are supposed to use it with your own app. But zmNinja uses it too. Demo HERE

Awesome, what can it do, how do I use it, how do I install it, is the moon blue today?

Answers to all your questions HERE

Re: New Real time Event Notification Service for ZM

Posted: Wed Oct 07, 2015 7:12 pm
by aaronl
Is this a requirement for zmNinja, or just recommended?

Re: New Real time Event Notification Service for ZM

Posted: Wed Oct 07, 2015 7:32 pm
by asker
aaronl wrote:Is this a requirement for zmNinja, or just recommended?
Neither required nor recommended - strictly optional :-)

Re: New Real time Event Notification Service for ZM

Posted: Mon Oct 19, 2015 2:22 pm
by asker
I've just released a new version of the Event Server (0.2). It's currently in the "experimental" branch. Will be migrated to stable branch soon
https://github.com/pliablepixels/zmeven ... perimental

New features:
  • you can now register specific monitors for which events will be broadcasted
  • Supports iOS APNS fully - however its of no use to you unless you have an iOS developer account - you will need to re-compile zmNinja as well using your Push certificates. Like I said before, this won't change unless I host my own push server at my own cost.
  • new commands added and JSON normalized further - see README

Re: New Real time Event Notification Service for ZM

Posted: Tue Oct 20, 2015 10:53 pm
by segordon
Here's a project I started last night which works in conjunction with the real time event server.

It allows me to receive those alerts on my desktop, and optionally open them for review in my web browser.

It's crude, but it works. I'll be smoothing out the rough edges in the next few days.

Multi-platform support in the works.

https://github.com/segordon/zm-tattletale

Re: New Real time Event Notification Service for ZM

Posted: Thu Oct 22, 2015 11:22 pm
by asker
Very nice!

Re: New Real time Event Notification Service for ZM

Posted: Mon Oct 26, 2015 5:08 am
by kenneth558
Work on other aspects of my system has kept me from finding this out for myself:
Judging from the settings of average score among others, my guess is that an alert can not get emailed until the event [that triggered my emailing filter] is completely ended, am I right? IOW, if an event that matches my filter to email me continues on for a long time before ending, my guess is that ZM is unable to notify me for that "long time". Can someone confirm or deny my suspicions?

If my suspicions are correct, does this improvement, the one this thread is about, improve that ZM 'flaw' (as I see it, anyway)?

Re: New Real time Event Notification Service for ZM

Posted: Mon Oct 26, 2015 11:34 am
by segordon
segordon wrote:Here's a project I started last night which works in conjunction with the real time event server.

It allows me to receive those alerts on my desktop, and optionally open them for review in my web browser.

https://github.com/segordon/zm-tattletale

Re-wrote it with options for logging to file, alerting with sound files, alerting with dialog windows, and timestamps. More features on the way. Also it's now pretty multi-platform friendly.

Re: New Real time Event Notification Service for ZM

Posted: Tue Nov 03, 2015 5:14 pm
by asker
Kenneth, Zoneminder updates an event the moment it occurs - it does not wait till the end.
The real time event server also detects this and reports it right away - so its immediate.

If you are referring to filters, I haven't looked at the code - but its somewhat unrelated to how the event server works.
kenneth558 wrote:Work on other aspects of my system has kept me from finding this out for myself:
Judging from the settings of average score among others, my guess is that an alert can not get emailed until the event [that triggered my emailing filter] is completely ended, am I right? IOW, if an event that matches my filter to email me continues on for a long time before ending, my guess is that ZM is unable to notify me for that "long time". Can someone confirm or deny my suspicions?

If my suspicions are correct, does this improvement, the one this thread is about, improve that ZM 'flaw' (as I see it, anyway)?

Re: New Real time Event Notification Service for ZM

Posted: Mon Mar 30, 2020 2:05 am
by mrd
Is this included in the most recent release of ZM now?

Re: New Real time Event Notification Service for ZM

Posted: Tue Apr 07, 2020 4:52 pm
by asker
mrd wrote: Mon Mar 30, 2020 2:05 am Is this included in the most recent release of ZM now?
No. Recent versions of ZM have an option to auto-enable it on ZM start, but the installation process is separate.
Start here https://zmeventnotification.readthedocs ... stall.html

Re: New Real time Event Notification Service for ZM

Posted: Tue Apr 07, 2020 7:11 pm
by mrd
Thanks!