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

Reolink integration invalid version_string for ONVIF device #141270

Open
G4Cab opened this issue Mar 24, 2025 · 6 comments
Open

Reolink integration invalid version_string for ONVIF device #141270

G4Cab opened this issue Mar 24, 2025 · 6 comments
Assignees

Comments

@G4Cab
Copy link

G4Cab commented Mar 24, 2025

The problem

many log entrys with:

`Logger: reolink_aio.api
Quelle: components/reolink/init.py:151
Erstmals aufgetreten: 08:00:22 (136 Vorkommnisse)
Zuletzt protokolliert: 10:51:28

Host 192.168.101.29:443 (channel 4) failed mapping JSON data: version_string has invalid version format: 1.0, traceback: Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/reolink_aio/api.py", line 3707, in map_channel_json_response self._channel_sw_version_objects[channel] = SoftwareVersion(self._channel_sw_versions[channel]) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/reolink_aio/software_version.py", line 191, in init raise UnexpectedDataError(f"version_string has invalid version format: {version_string}") reolink_aio.exceptions.UnexpectedDataError: version_string has invalid version format: 1.0`

What version of Home Assistant Core has the issue?

2025.3.4

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

Reolink

Link to integration documentation on our website

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

Diagnostics information

config_entry-reolink-c43c71b87cdbd88686cdeefd0eecc13a.json

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

Reolink NVR RLN8-410
Firmware: v3.5.1.356_24110154
Hardware: N7MB01

@home-assistant
Copy link

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

Code owner commands

Code owners of reolink 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 reolink 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)


reolink documentation
reolink source
(message by IssueLinks)

@starkillerOG
Copy link
Contributor

This is caused by the onvif device connected to channel 4 of the NVR.

Could you enable debug logging of the reolink integration, wait 5 minutes, then disable debug logging and post the resulting debug.log file here?

https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging

Then I can check if this ONVIF device is causing more issues.....

@starkillerOG starkillerOG changed the title Reolink integration log is filled with invalid version_string Reolink integration invalid version_string for ONVIF device Mar 25, 2025
@G4Cab
Copy link
Author

G4Cab commented Mar 26, 2025

couldn't upload it here.

put it in my nextcloud:

https://yoruichi.golf-4-cab.de/nextcloud/s/SkJZj4KdSnqoCwA

@starkillerOG
Copy link
Contributor

This commit in the upstream reolink-aio library should fix the issue: starkillerOG/reolink_aio@8812e5c

The third party ONVIF camera will be filtered out and not shown anymore.
It will not give errors/warnings again.

@G4Cab
Copy link
Author

G4Cab commented Mar 28, 2025

hmm, but will the camera stream be available?

cause it's working within reolink app and on the nvr

@starkillerOG
Copy link
Contributor

No, it will not show up anymore.

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

No branches or pull requests

2 participants