Skip to content

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

@AchillesTD

Description

@AchillesTD

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions