Skip to content
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

pull events from cams on an NVR #279

Open
AdyRock opened this issue Jan 25, 2023 · 4 comments
Open

pull events from cams on an NVR #279

AdyRock opened this issue Jan 25, 2023 · 4 comments

Comments

@AdyRock
Copy link

AdyRock commented Jan 25, 2023

I am trying to setup motion events for cameras attached to an NVR. Each camera is a separate profile on the same IP address. I can get the static image URL from the required camera by passing in the token for the profile. I presume I will need to do something similar when creating the pullPoint so it either adds and id to the URL or maybe setup a filter.

I have searched Google for days looking for tips but I can't find anything.

Any suggestions would be be gratefully received.

@agsh
Copy link
Owner

agsh commented Jan 28, 2023

@AdyRock Hi! I've never worked with cameras through NVR. This case needs a lot of investigation and ONVIF specification study (https://github.com/onvif/specs). Because current subscription works with cameras only and I don't know what happens in the NVR hub. @RogerHardiman, can you help?

@AdyRock
Copy link
Author

AdyRock commented Jan 28, 2023

Thanks for looking into this. I can't find anything in the specification. I have also reached out to Reolink support to see if they can help but I am not confident they will get back to me.

@RogerHardiman
Copy link
Collaborator

You cannot subscribe to an event on an ONVIF Profile basis. You have to subscribe to a 'Topic'.
There may be a 'Topic' for each channel on your NVR.
But I expect there will be one Topic and then the payload you get in the event will include something to identify the NVR channel.

@AdyRock
Copy link
Author

AdyRock commented Jan 29, 2023

I will investigate the topic per channel thought further.
I also expect that a channel identifier in the event payload but sadly there is nothing. Also, the NVR only generates event front the camera on channel 0.
Thanks for your input as at least I know I'm not missing something simple 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants