python-onvif-zeep icon indicating copy to clipboard operation
python-onvif-zeep copied to clipboard

Not able to receive the event logs on my terminal

Open AchillesTD opened this issue 6 months ago • 0 comments

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!

AchillesTD avatar Jul 30 '24 05:07 AchillesTD