-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ONVIF event subscription: Return available list of event types supported by the camera #662
Comments
@curtishall is that https://github.com/agsh/onvif/blob/master/examples/example6.js ? Do you have your own patches on top of that? |
Let's take this https://github.com/agsh/onvif/blob/master/examples/example6.js ,
And then some frontend magic. |
I do not |
I'll get started working on that 👍🏾 |
Currently the (old) onvif_tool (out of spec) only supported motion events. Edge based motion events (camera triggered motion events) are overly sensitive and really not that useful for customers when they can use our own motion detection built into our software already.
However more and more cameras, even cheap ones, are starting to support basic AI (person / vehicle / catdog / etc). We should expand on our existing nodejs onvif code base and detect the available event subscription options and return that when queried. In the web UI the end user can select the event type(s) to start recording (respecting the pre/post recording that we have now for onvif triggering (
bluecherry-apps/www/template/ajax/deviceschedule.php
Line 43 in 31fdffc
The nodejs code returns the following when connecting to a ONVIF supported camera that has multiple event types:
When a person is detected:
When the person is no longer detected:
Note: The camera also throws motion detection too....we would encourage users NOT to select motion. Here is the motion alerts from the same event above:
Full log (all events pulled):
The text was updated successfully, but these errors were encountered: