home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.77k stars 28.91k forks source link

ONVIF with Reolink E1 PRO - issues and unreliable #117349

Open Tehral opened 1 month ago

Tehral commented 1 month ago

The problem

Dear Community,

I have several issues with the integration. The E1 Pro sadly doesn't work with NVR reolink integration thus I had to use ONVIF.

The issues:

Does anyone have the same issue or any idea on how to fix this?

Thank you and best regards

What version of Home Assistant Core has the issue?

core-2024.5.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ONVIF

Link to integration documentation on our website

https://www.home-assistant.io/integrations/onvif/

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.5.0", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.2", "docker": true, "arch": "x86_64", "timezone": "Europe/Zurich", "os_name": "Linux", "os_version": "6.6.25-haos", "supervisor": "2024.05.1", "host_os": "Home Assistant OS 12.2", "docker_version": "25.0.5", "chassis": "embedded", "run_as_root": true }, "custom_components": { "hacs": { "documentation": "https://hacs.xyz/docs/configuration/start", "version": "1.34.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "alarmo": { "documentation": "https://github.com/nielsfaber/alarmo", "version": "v1.10.0", "requirements": [] }, "tesla_custom": { "documentation": "https://github.com/alandtse/tesla/wiki", "version": "3.20.6", "requirements": [ "teslajsonpy==3.10.3" ] } }, "integration_manifest": { "domain": "onvif", "name": "ONVIF", "codeowners": [ "@hunterjm" ], "config_flow": true, "dependencies": [ "ffmpeg" ], "dhcp": [ { "registered_devices": true } ], "documentation": "https://www.home-assistant.io/integrations/onvif", "iot_class": "local_push", "loggers": [ "onvif", "wsdiscovery", "zeep" ], "requirements": [ "onvif-zeep-async==3.1.12", "WSDiscovery==2.0.0" ], "is_built_in": true }, "data": { "config": { "entry_id": "39f70dd8143cd981e6581d3fafe532c1", "version": 1, "minor_version": 1, "domain": "onvif", "title": "ReolinkE1_Indoor - REMOVED_SECURITY_REASON", "data": { "name": "ReolinkE1_Indoor", "host": "REDACTED", "port": 8000, "username": "REDACTED", "password": "REDACTED" }, "options": { "extra_arguments": "-pred 1", "rtsp_transport": "tcp", "enable_webhooks": true }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "REMOVED_SECURITY_REASON", "disabled_by": null }, "device": { "info": { "manufacturer": "Manufacturer", "model": "E1 Pro", "fw_version": "v3.1.0.1414_23041201", "serial_number": "REMOVED_SECURITY_REASON", "mac": "REMOVED_SECURITY_REASON" }, "capabilities": { "snapshot": true, "events": true, "ptz": true, "imaging": true }, "profiles": [ { "index": 0, "token": "000", "name": "Profile000_MainStream", "video": { "encoding": "H264", "resolution": { "width": 2560, "height": 1440 } }, "ptz": { "continuous": true, "relative": false, "absolute": false, "presets": [ "000", "001" ] }, "video_source_token": "000" }, { "index": 1, "token": "001", "name": "Profile001_SubStream", "video": { "encoding": "H264", "resolution": { "width": 640, "height": 360 } }, "ptz": { "continuous": true, "relative": false, "absolute": false, "presets": [ "000", "001" ] }, "video_source_token": "000" } ], "services": { "('devicemgmt', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/devicemgmt.wsdl", "('media', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/media.wsdl", "('imaging', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/imaging.wsdl", "('ptz', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/ptz.wsdl", "('events', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl", "('subscription', 'PullPointSubscription')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl", "('pullpoint', 'PullPointSubscription')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl", "('notification', None)": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl", "('pullpoint', 'NotificationConsumer')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl", "('subscription', 'NotificationConsumer')": "/usr/local/lib/python3.12/site-packages/onvif/wsdl/events.wsdl" }, "xaddrs": { "http://www.onvif.org/ver10/events/wsdl": "http://REMOVED_SECURITY_REASON:8000/onvif/event_service", "http://www.onvif.org/ver20/imaging/wsdl": "http://REMOVED_SECURITY_REASON:8000/onvif/imaging_service", "http://www.onvif.org/ver10/media/wsdl": "http://REMOVED_SECURITY_REASON:8000/onvif/media_service", "http://www.onvif.org/ver20/ptz/wsdl": "http://REMOVED_SECURITY_REASON:8000/onvif/ptz_service", "http://www.onvif.org/ver10/events/wsdl/PullPointSubscription": "http://REMOVED_SECURITY_REASON8000/onvif/PullSubManager?Idx=37931901", "http://www.onvif.org/ver10/events/wsdl/NotificationConsumer": "http://REMOVED_SECURITY_REASON:8000/onvif/Notification?Idx=37932697" } }, "events": { "webhook_manager_state": { "type": "<enum 'WebHookManagerState'>", "repr": "<WebHookManagerState.STARTED: 1>" }, "pullpoint_manager_state": { "type": "<enum 'PullPointManagerState'>", "repr": "<PullPointManagerState.STARTED: 1>" } } } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

I sometimes see errors like this:
Error while requesting ONVIF pull point: Failed to request pull point message

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration (onvif) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `onvif` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign onvif` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


onvif documentation onvif source (message by IssueLinks)

swa72 commented 1 month ago

Same issues here. I could provide logs ...