Closed weltzien closed 8 months ago
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!
(message by CodeOwnersMention)
reolink documentation reolink source (message by IssueLinks)
@weltzien are you 100% sure you were running HA 2024.3.0 when you encountered this error? I specifically attempted to make a fix for this very issue that is first included in HA 2024.3.0. Apperently that may not have been enough.
@weltzien Could you setup the integration while you do not have the internet blocked such that the integration is setup correctly. Then enable debug logging: https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging Then block internet acces. Then restart the reolink integration and wait for it to fail and give the error as reported in this issue. Then disable debug logging and post the resulting log.txt file here.
Hi,
i can only download the debug info on the camera which is working. at the other ones it is not possible. the cams which are not working a RLC-822A. Firmware: v3.1.0.1643_2402219215
config_entry-reolink-29a79d2eae520b9e0445390a494cb1f1.json
Logger: homeassistant.config_entries
Quelle: config_entries.py:504
Erstmals aufgetreten: 18:34:51 (1 Vorkommnisse)
Zuletzt protokolliert: 18:34:51
Error setting up entry Garten for reolink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 504, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/reolink/__init__.py", line 60, in async_setup_entry
await host.async_init()
File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 173, in async_init
await self.subscribe()
File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 401, in subscribe
self.register_webhook()
File "/usr/src/homeassistant/homeassistant/components/reolink/host.py", line 502, in register_webhook
webhook.async_register(
File "/usr/src/homeassistant/homeassistant/components/webhook/__init__.py", line 53, in async_register
raise ValueError("Handler is already defined!")
ValueError: Handler is already defined!
The stack trace doesn't look as expected when asyncio.gather
is used with return_exceptions=True
. Any exceptions should raise when the return results are checked. Not sure what's going on.
It's as if an older version of the code was used.
Hi, i was double checked and found a old "Dev Reolink" HAC Integration, after i removed it, the integration is working now. Thanks for your help.
best regards
Chris
The problem
My cameras are seperated to a other vlan, which have no interent access. with this configuration it is no possible to load the reolink integration for a camera in this vlan, if i enable internet access for the camera it works.
In the logs you can see the timeout and that it check for firmware update. Is it possible to disable this checking or cotinue after timeout?
best regards
chris
What version of Home Assistant Core has the issue?
core-2024.3.0
What was the last working version of Home Assistant Core?
core-2024.3.0
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/#troubleshooting
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response