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

Not able to receive the event logs on my terminal #120

Open
AchillesTD opened this issue Jul 30, 2024 · 0 comments
Open

Not able to receive the event logs on my terminal #120

AchillesTD opened this issue Jul 30, 2024 · 0 comments

Comments

@AchillesTD
Copy link

I'm working on a Python script that uses the ONVIF and Zeep libraries to retrieve NVR event logs and display them on my terminal. My goal is to access logs related to alarms such as motion detection, video tampering, scene changes, and video loss.

Currently, I’m able to fetch basic device information like the model, firmware version, system date and time, and RTSP URLs for my streams. I’ve also successfully obtained the event service capabilities, which indicate support for features such as WSSubscriptionPolicy, WSPullPoint, and others.

Here’s the current output for event service capabilities:
--- Event Service Capabilities ---
{
'_value_1': None,
'WSSubscriptionPolicySupport': True,
'WSPullPointSupport': True,
'WSPausableSubscriptionManagerInterfaceSupport': False,
'MaxNotificationProducers': 10,
'MaxPullPoints': 5,
'PersistentNotificationStorage': None,
'_attr_1': {
'PersistenNotificationStorage': 'false'
}
}

What steps should I take to get the event logs displayed on my terminal? Is it possible to retrieve these logs directly from my DAHUA NVR without using additional tools like MQTT?
My NVR model is DHI-NVR5216-16P-I
any help would be appreciated!!

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

1 participant