core: All Mesh Repeaters unavailable after Core Update to 2023.08.0

The problem

FritzBox 7590 is working, but all Fritz Mesh Repeaters are unavailable after Update.

What version of Home Assistant Core has the issue?

core-2023.08.0

What was the last working version of Home Assistant Core?

core-2023.07.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

AVM Fritz!Box Tools

Link to integration documentation on our website

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

Diagnostics information

2023-08-02 22:00:39.148 INFO (SyncWorker_24) [fritzconnection] Unable to retrieve resource 'http://192.168.178.2:49000/igddesc.xml' from the device.
2023-08-02 22:00:40.251 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.2-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:00:40.434 INFO (SyncWorker_12) [fritzconnection] Unable to retrieve resource 'http://192.168.178.3:49000/igddesc.xml' from the device.
2023-08-02 22:00:40.679 INFO (SyncWorker_5) [fritzconnection] Unable to retrieve resource 'http://192.168.178.4:49000/igddesc.xml' from the device.
2023-08-02 22:00:41.527 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.3-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:00:41.804 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.4-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:01:52.922 INFO (SyncWorker_40) [fritzconnection] Unable to retrieve resource 'http://192.168.178.6:49000/igddesc.xml' from the device.
2023-08-02 22:01:53.913 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.6-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:02:00.678 INFO (SyncWorker_39) [fritzconnection] Unable to retrieve resource 'http://192.168.178.2:49000/igddesc.xml' from the device.
2023-08-02 22:02:01.749 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.2-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:02:01.873 INFO (SyncWorker_46) [fritzconnection] Unable to retrieve resource 'http://192.168.178.3:49000/igddesc.xml' from the device.
2023-08-02 22:02:02.345 INFO (SyncWorker_3) [fritzconnection] Unable to retrieve resource 'http://192.168.178.4:49000/igddesc.xml' from the device.
2023-08-02 22:02:03.024 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.3-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:02:03.493 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.4-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:03:14.218 INFO (SyncWorker_39) [fritzconnection] Unable to retrieve resource 'http://192.168.178.6:49000/igddesc.xml' from the device.
2023-08-02 22:03:15.257 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.6-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:03:21.903 INFO (SyncWorker_2) [fritzconnection] Unable to retrieve resource 'http://192.168.178.2:49000/igddesc.xml' from the device.
2023-08-02 22:03:23.023 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.2-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:03:23.448 INFO (SyncWorker_29) [fritzconnection] Unable to retrieve resource 'http://192.168.178.3:49000/igddesc.xml' from the device.
2023-08-02 22:03:23.776 INFO (SyncWorker_1) [fritzconnection] Unable to retrieve resource 'http://192.168.178.4:49000/igddesc.xml' from the device.
2023-08-02 22:03:24.583 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.3-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
2023-08-02 22:03:24.962 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.178.4-coordinator data: argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Example YAML snippet

1x Fritz Repeater 2400 (FritzOS 7.29)
3x Fritz Repeater 600 (FritzOS 7.29)

Anything in the logs that might be useful for us?

1x Fritz Repeater 2400 (FritzOS 7.29)
3x Fritz Repeater 600 (FritzOS 7.29)

Additional information

image

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 16 (4 by maintainers)

Most upvoted comments

@mib1185

Hi @LuckyTriple7,

please disable all, except one, repeater entries in HA (so only one is active in HA), than enable debug logging, restart HA and provide the home-assistant.log. To do so add the following to your configuration.yaml:

logger:
  default: info
  logs:
    homeassistant.components.fritz: debug
    fritzconnection: debug

Further if possible please download and provide the diagnostics data for this integration.

Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.

I have updated all repeaters to FritzOS 7.56 now. Then the core to 2023.08.0. Now everything works. I think the debug logs are no longer necessary. I think but someone else with older FritzOS can do this.

Same problem here:

Logger: homeassistant.components.fritz.common
Source: components/fritz/common.py:479
Integration: AVM FRITZ!Box Tools (documentation, issues)
First occurred: 16:23:12 (14 occurrences)
Last logged: 16:32:32

Unexpected error fetching fritz-192.168.21.1-coordinator data: 'X_AVM-DE_WANAccess'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data
    await self.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices
    wan_access="granted" in host["X_AVM-DE_WANAccess"],
                            ~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: `'X_AVM-DE_WANAccess'

Using:

  • 1x 7581 master (v7.16)
  • 2x 1750E repeaters (v7.30)

All devices are not firmware upgradable anymore. And all was working fine in 2023.7.3.

In addition, I can report that all repeaters with Fritz!OS 7.56 work perfectly in my area. For me 2400 with 7.56 and 1200 with 7.56. My Repeater 1750E with Fritz!OS 7.30 shows the same error.