-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Hi,
when using the Fritz Integration in Home Assistant it fails to connect to the repater with error: Error refreshing hosts info
It's a FRITZ!WLAN Repater DVB-C on FritzOS 07.04 (which is the latest version available).
Home Assistant is on Version 2025.3.2.
Here the debug-log:
Logger: homeassistant.components.fritz.coordinator
Quelle: helpers/update_coordinator.py:380
Integration: AVM FRITZ!Box Tools ([Dokumentation](https://www.home-assistant.io/integrations/fritz), [Probleme](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+fritz%22))
Erstmals aufgetreten: 19:06:18 (9 Vorkommnisse)
Zuletzt protokolliert: 19:11:43
Unexpected error fetching fritz-192.168.19.188-coordinator data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/fritz/coordinator.py", line 443, in _async_update_hosts_info
hosts_attributes = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.fritz_hosts.get_hosts_attributes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/fritzconnection/lib/fritzhosts.py", line 216, in get_hosts_attributes
storage = HostStorage(get_xml_root(source=url, session=self.fc.session))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/fritzconnection/core/utils.py", line 78, in get_xml_root
source = get_content_from(source, timeout=timeout, session=session)
File "/usr/local/lib/python3.13/site-packages/fritzconnection/core/utils.py", line 56, in get_content_from
return do_request()
File "/usr/local/lib/python3.13/site-packages/fritzconnection/core/utils.py", line 51, in do_request
return handle_response(response)
File "/usr/local/lib/python3.13/site-packages/fritzconnection/core/utils.py", line 44, in handle_response
raise FritzResourceError(message)
fritzconnection.core.exceptions.FritzResourceError: Unable to retrieve resource 'http://192.168.19.188:49000/devicehostlist.lua?sid=64aff76290f232f6' from the device.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/fritz/coordinator.py", line 338, in _async_update_data
await self.async_scan_devices()
File "/usr/src/homeassistant/homeassistant/components/fritz/coordinator.py", line 571, in async_scan_devices
hosts = await self._async_update_hosts_info()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/fritz/coordinator.py", line 452, in _async_update_hosts_info
raise HomeAssistantError(
...<2 lines>...
) from ex
homeassistant.exceptions.HomeAssistantError: Error refreshing hosts info
Metadata
Metadata
Assignees
Labels
No labels