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 RLC-410-5MP not connecting after latest update. Unknown Error #108328

Closed
stingone opened this issue Jan 18, 2024 · 7 comments
Closed

Reolink RLC-410-5MP not connecting after latest update. Unknown Error #108328

stingone opened this issue Jan 18, 2024 · 7 comments
Assignees

Comments

@stingone
Copy link

The problem

After the latest firmware update my RLC-410-5MP (lokal) without UID is not connecting anymore. The RLC-410-5MP with UID are working. It shows unknown error on connecting. and yes al networking settings are enabled.

What version of Home Assistant Core has the issue?

2024.1.3

What was the last working version of Home Assistant Core?

2024.1.3

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

Logger: homeassistant.components.reolink.config_flow
Source: components/reolink/config_flow.py:174
Integration: Reolink IP NVR/camera (documentation, issues)
First occurred: 23:10:06 (7 occurrences)
Last logged: 23:28:36

Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/reolink/config_flow.py", line 174, in async_step_user
await host.async_init()
File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 98, in async_init
await self._api.get_host_data()
File "/usr/local/lib/python3.11/site-packages/reolink_aio/api.py", line 1503, in get_host_data
if self.model in DUAL_LENS_SINGLE_MOTION_MODELS or (not self.is_nvr and self.api_version("supportAutoTrackStream", 0) > 0):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/reolink_aio/api.py", line 1204, in api_version
if channel >= len(self._abilities["abilityChn"]):
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'abilityChn'

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@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

@stingone sorry for taking so long, I had a vacation and lots of issues to process now.

Could you enable debug logging for the reolink integration, and try to add the RLC-410-5MP that is giving issues again?
I need to see the communication between the integration and the camera to figure out where the problem is.
After the error occurs, please disable debug logging and post the resulting log.txt here.

@stingone
Copy link
Author

stingone commented Feb 8, 2024

No worries. hereby the log the cam ip is 192.168.1.26 in the log.

log.txt

@starkillerOG
Copy link
Contributor

@stingone thanks for the debug log.
Now I understand what was happening.

This change in the upstream library will hopefully fix the issue for you and allow you to setup the RLC-410: starkillerOG/reolink_aio@7cf7379

And this change will at least garentee that the same unexpected error will not occur anymore: starkillerOG/reolink_aio@627f630

I will publish a new release of reolink-aio soon and let you know when it is available in Home Assistant for testing.

If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library or purchase Reolink products through this affiliate link.

@starkillerOG
Copy link
Contributor

@stingone the new reolink-aio version 0.8.8 has been released and integrated in HomeAssistant.
The next HA 2024.2.3 patch release that will be coming out in a few days will include the fix to this issue.

Once you upgraded to HA 2024.2.3 could you test if all RLC-410-5MP (lokal) without UID are working again and let me know?

@stingone
Copy link
Author

stingone commented Feb 23, 2024 via email

@starkillerOG
Copy link
Contributor

Thanks for the feedback

@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants