Zigbee devices becomes unavailable

Every other day or so all my Zigbee devices becomes unavailable. The problem doesn’t seem to fix itself but a restart of HA does.

I’ve searched around a lot trying to find a solution for the issue without any luck. I’ve noticed that others also have the problem, but maybe not as frequent as I do.

I’ve tried to:

  • Move the NUC PC with SkyConnect to different locations in the house (yes, the SkyConnect is on a USB cord)
  • Remove some suspect devices from the Zigbee network (mostly battery devices)
  • Update everything to the latest version (HA, Skyconnect, Zigbee device firmwares)
  • Changed Zigbee channel and wifi network channel to minimize interference

After each change everything works for a day or two, then all devices becomes unavailable again.

This is starting to get pretty annoying …

Can not find a way to attach the whole log file but this seems to be the first error that popped up today (@ 11:15:00):

2023-12-04 11:14:58.611 DEBUG (MainThread) [zigpy.zcl] [0xBD6A:1:0x0000] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=102, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
2023-12-04 11:14:58.612 DEBUG (MainThread) [zigpy.zcl] [0xBD6A:1:0x0000] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2023-12-04 11:14:58.612 DEBUG (MainThread) [zigpy.util] Duplicate 102 TSN
2023-12-04 11:15:00.303 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xF12E:1:0x0702]: failed to get attributes '['current_summ_delivered', 'status']' on 'smartenergy_metering' cluster: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2023-12-04 11:15:00.303 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xBD6A:1:0x0702]: async_force_update
2023-12-04 11:15:00.304 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xBD6A:1:0x0702]: Reading attributes in chunks: ['current_summ_delivered', 'status']
2023-12-04 11:15:00.304 DEBUG (MainThread) [zigpy.zcl] [0xBD6A:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=160, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
2023-12-04 11:15:00.305 DEBUG (MainThread) [zigpy.zcl] [0xBD6A:1:0x0702] Sending request: Read_Attributes(attribute_ids=[0, 512])
2023-12-04 11:15:00.322 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xF452:1:0x0702]: failed to get attributes '['current_summ_delivered', 'status']' on 'smartenergy_metering' cluster: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2023-12-04 11:15:00.323 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xDE0D:1:0x0b04]: async_update
2023-12-04 11:15:00.323 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xDE0D:1:0x0b04]: Reading attributes in chunks: ['active_power', 'rms_current', 'rms_voltage']
2023-12-04 11:15:00.323 DEBUG (MainThread) [zigpy.zcl] [0xDE0D:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=162, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
2023-12-04 11:15:00.324 DEBUG (MainThread) [zigpy.zcl] [0xDE0D:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
2023-12-04 11:15:00.329 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xF12E:1:0x0b04]: failed to get attributes '['active_power', 'rms_current', 'rms_voltage']' on 'electrical_measurement' cluster: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2023-12-04 11:15:00.330 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xDE0D:1:0x0702]: async_force_update
2023-12-04 11:15:00.330 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xDE0D:1:0x0702]: Reading attributes in chunks: ['current_summ_delivered', 'status']
2023-12-04 11:15:00.330 DEBUG (MainThread) [zigpy.zcl] [0xDE0D:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=164, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
2023-12-04 11:15:00.331 DEBUG (MainThread) [zigpy.zcl] [0xDE0D:1:0x0702] Sending request: Read_Attributes(attribute_ids=[0, 512])
2023-12-04 11:15:00.347 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xF452:1:0x0b04]: failed to get attributes '['active_power', 'rms_current', 'rms_voltage']' on 'electrical_measurement' cluster: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

This is my Zigbee diagnostics file:

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.11.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Stockholm",
    "os_name": "Linux",
    "os_version": "6.1.59",
    "supervisor": "2023.11.6",
    "host_os": "Home Assistant OS 11.1",
    "docker_version": "24.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {},
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "after_dependencies": [
      "onboarding",
      "usb"
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga",
      "@puddly"
    ],
    "config_flow": true,
    "dependencies": [
      "file_upload"
    ],
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp",
      "universal_silabs_flasher"
    ],
    "requirements": [
      "bellows==0.36.8",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.106",
      "zigpy-deconz==0.21.1",
      "zigpy==0.59.0",
      "zigpy-xbee==0.19.0",
      "zigpy-zigate==0.11.0",
      "zigpy-znp==0.11.6",
      "universal-silabs-flasher==0.0.14",
      "pyserial-asyncio-fast==0.11"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "1A86",
        "pid": "55D4",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus v2"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "0403",
        "pid": "6015",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate+"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*zigate*",
        "known_devices": [
          "ZiGate"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      },
      {
        "type": "_zigstar_gw._tcp.local.",
        "name": "*zigstar*"
      },
      {
        "type": "_uzg-01._tcp.local.",
        "name": "uzg-01*"
      },
      {
        "type": "_slzb-06._tcp.local.",
        "name": "slzb-06*"
      }
    ],
    "is_built_in": true
  },
  "data": {
    "config": {
      "zigpy_config": {
        "ota": {
          "otau_directory": "/config/zigpy_ota",
          "ikea_provider": true,
          "ikea_update_url": "http://fw.test.ota.homesmart.ikea.net/feed/version_info.json",
          "inovelli_provider": true,
          "ledvance_provider": true,
          "salus_provider": true,
          "sonoff_provider": true,
          "thirdreality_provider": true
        },
        "database_path": "/config/zigbee.db",
        "device": {
          "path": "/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_4846f1783691ed11a793bfd13b20a988-if00-port0",
          "baudrate": 115200,
          "flow_control": "software"
        },
        "validate_network_settings": true
      },
      "device_config": {},
      "enable_quirks": true
    },
    "config_entry": {
      "entry_id": "bc36cc5d43ca1e0864fad92da8b9035b",
      "version": 3,
      "domain": "zha",
      "title": "SkyConnect v1.0",
      "data": {
        "device": {
          "path": "/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_4846f1783691ed11a793bfd13b20a988-if00-port0",
          "baudrate": 115200,
          "flow_control": "software"
        },
        "radio_type": "ezsp"
      },
      "options": {},
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "usb",
      "unique_id": "**REDACTED**",
      "disabled_by": null
    },
    "application_state": {
      "node_info": {
        "nwk": 0,
        "ieee": "**REDACTED**",
        "logical_type": 0
      },
      "network_info": {
        "extended_pan_id": "**REDACTED**",
        "pan_id": 35670,
        "nwk_update_id": 0,
        "nwk_manager_id": 0,
        "channel": 20,
        "channel_mask": 134215680,
        "security_level": 5,
        "network_key": "**REDACTED**",
        "tc_link_key": {
          "key": [
            90,
            105,
            103,
            66,
            101,
            101,
            65,
            108,
            108,
            105,
            97,
            110,
            99,
            101,
            48,
            57
          ],
          "tx_counter": 57344,
          "rx_counter": 0,
          "seq": 0,
          "partner_ieee": "**REDACTED**"
        },
        "key_table": [],
        "children": [],
        "nwk_addresses": {},
        "stack_specific": {
          "ezsp": {
            "hashed_tclk": "04ef4ec8151f0476aa63775ad3ee7a68"
          }
        },
        "metadata": {
          "ezsp": {
            "manufacturer": "Nabu Casa",
            "board": "SkyConnect v1.0",
            "version": "7.2.2.0 build 190",
            "stack_version": 11,
            "can_burn_userdata_custom_eui64": true,
            "can_rewrite_custom_eui64": false
          }
        },
        "source": "[email protected]"
      },
      "counters": {
        "controller_app_counters": {
          "unicast_rx": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='unicast_rx', _raw_value=159, reset_count=0, _last_reset_value=0)"
          },
          "unicast_tx_success": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='unicast_tx_success', _raw_value=128, reset_count=0, _last_reset_value=0)"
          },
          "broadcast_tx_failure_unexpected": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='broadcast_tx_failure_unexpected', _raw_value=1, reset_count=0, _last_reset_value=0)"
          },
          "unicast_tx_failure": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='unicast_tx_failure', _raw_value=23, reset_count=0, _last_reset_value=0)"
          }
        },
        "ezsp_counters": {
          "MAC_RX_BROADCAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='MAC_RX_BROADCAST', _raw_value=327, reset_count=0, _last_reset_value=0)"
          },
          "MAC_TX_BROADCAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='MAC_TX_BROADCAST', _raw_value=108, reset_count=0, _last_reset_value=0)"
          },
          "MAC_RX_UNICAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='MAC_RX_UNICAST', _raw_value=414, reset_count=0, _last_reset_value=0)"
          },
          "MAC_TX_UNICAST_SUCCESS": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='MAC_TX_UNICAST_SUCCESS', _raw_value=281, reset_count=0, _last_reset_value=0)"
          },
          "MAC_TX_UNICAST_RETRY": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='MAC_TX_UNICAST_RETRY', _raw_value=78, reset_count=0, _last_reset_value=0)"
          },
          "MAC_TX_UNICAST_FAILED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='MAC_TX_UNICAST_FAILED', _raw_value=12, reset_count=0, _last_reset_value=0)"
          },
          "APS_DATA_RX_BROADCAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DATA_RX_BROADCAST', _raw_value=1, reset_count=0, _last_reset_value=0)"
          },
          "APS_DATA_TX_BROADCAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DATA_TX_BROADCAST', _raw_value=1, reset_count=0, _last_reset_value=0)"
          },
          "APS_DATA_RX_UNICAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DATA_RX_UNICAST', _raw_value=159, reset_count=0, _last_reset_value=0)"
          },
          "APS_DATA_TX_UNICAST_SUCCESS": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DATA_TX_UNICAST_SUCCESS', _raw_value=128, reset_count=0, _last_reset_value=0)"
          },
          "APS_DATA_TX_UNICAST_RETRY": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DATA_TX_UNICAST_RETRY', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "APS_DATA_TX_UNICAST_FAILED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DATA_TX_UNICAST_FAILED', _raw_value=23, reset_count=0, _last_reset_value=0)"
          },
          "ROUTE_DISCOVERY_INITIATED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='ROUTE_DISCOVERY_INITIATED', _raw_value=25, reset_count=0, _last_reset_value=0)"
          },
          "NEIGHBOR_ADDED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='NEIGHBOR_ADDED', _raw_value=7, reset_count=0, _last_reset_value=0)"
          },
          "NEIGHBOR_REMOVED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='NEIGHBOR_REMOVED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "NEIGHBOR_STALE": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='NEIGHBOR_STALE', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "JOIN_INDICATION": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='JOIN_INDICATION', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "CHILD_REMOVED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='CHILD_REMOVED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "ASH_OVERFLOW_ERROR": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='ASH_OVERFLOW_ERROR', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "ASH_FRAMING_ERROR": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='ASH_FRAMING_ERROR', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "ASH_OVERRUN_ERROR": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='ASH_OVERRUN_ERROR', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "NWK_FRAME_COUNTER_FAILURE": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='NWK_FRAME_COUNTER_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "APS_FRAME_COUNTER_FAILURE": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_FRAME_COUNTER_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "UTILITY": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='UTILITY', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "APS_LINK_KEY_NOT_AUTHORIZED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_LINK_KEY_NOT_AUTHORIZED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "NWK_DECRYPTION_FAILURE": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='NWK_DECRYPTION_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "APS_DECRYPTION_FAILURE": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='APS_DECRYPTION_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "ALLOCATE_PACKET_BUFFER_FAILURE": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='ALLOCATE_PACKET_BUFFER_FAILURE', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "RELAYED_UNICAST": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='RELAYED_UNICAST', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PHY_TO_MAC_QUEUE_LIMIT_REACHED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PHY_TO_MAC_QUEUE_LIMIT_REACHED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PACKET_VALIDATE_LIBRARY_DROPPED_COUNT": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PACKET_VALIDATE_LIBRARY_DROPPED_COUNT', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "TYPE_NWK_RETRY_OVERFLOW": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='TYPE_NWK_RETRY_OVERFLOW', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PHY_CCA_FAIL_COUNT": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PHY_CCA_FAIL_COUNT', _raw_value=401, reset_count=0, _last_reset_value=0)"
          },
          "BROADCAST_TABLE_FULL": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='BROADCAST_TABLE_FULL', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PTA_LO_PRI_REQUESTED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PTA_LO_PRI_REQUESTED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PTA_HI_PRI_REQUESTED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PTA_HI_PRI_REQUESTED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PTA_LO_PRI_DENIED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PTA_LO_PRI_DENIED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PTA_HI_PRI_DENIED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PTA_HI_PRI_DENIED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PTA_LO_PRI_TX_ABORTED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PTA_LO_PRI_TX_ABORTED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "PTA_HI_PRI_TX_ABORTED": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='PTA_HI_PRI_TX_ABORTED', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "ADDRESS_CONFLICT_SENT": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='ADDRESS_CONFLICT_SENT', _raw_value=0, reset_count=0, _last_reset_value=0)"
          },
          "EZSP_FREE_BUFFERS": {
            "__type": "<class 'zigpy.state.Counter'>",
            "repr": "Counter(name='EZSP_FREE_BUFFERS', _raw_value=251, reset_count=0, _last_reset_value=0)"
          }
        }
      },
      "broadcast_counters": {},
      "device_counters": {},
      "group_counters": {}
    },
    "energy_scan": {
      "11": 43.057636198227904,
      "12": 78.25348754651363,
      "13": 68.14622793558128,
      "14": 43.057636198227904,
      "15": 70.89933442360993,
      "16": 73.50699819621309,
      "17": 80.38447947821754,
      "18": 78.25348754651363,
      "19": 78.25348754651363,
      "20": 25.74050169409602,
      "21": 78.25348754651363,
      "22": 65.26028270288712,
      "23": 59.15797905332195,
      "24": 52.75969252664325,
      "25": 49.512515447068886,
      "26": 62.257682586134884
    },
    "versions": {
      "bellows": "0.36.8",
      "zigpy": "0.59.0",
      "zigpy_deconz": "0.21.1",
      "zigpy_xbee": "0.19.0",
      "zigpy_znp": "0.11.6",
      "zigpy_zigate": "0.11.0",
      "zhaquirks": "0.0.106"
    }
  }
}

EMF from some source close the the Zigbee Cooridnator adapter and/or devices with issues? Is the Zigbee Coordinator plugged into a USB 2.0 port or via a USB 2.0 hub and not directly into a USB 3.x/4.x port, and not close to any USB 3.x/4.x devices or cables?

Follow-up questions is if you have enough “known good” Zigbee Router devices that are well placed in a location where they act as good Zigbee reperaters/extenders? Quick tip is to buy three or more ready-made dedicated known good" Zigbee Router devices and place them between your Zigbee Coordinator and all Zigbee devices that have issues. Better tip is to buy a few Zigbee Coordinator USB adapters, re-flash them with Zigbee Router firmware and use them as dedicated Zigbee Router devices by powering them with USB-changers, (hide them away so that no unplugs them).

Highly recommend that you read and try to follow all the tips here → Guide for Zigbee interference avoidance and network range/coverage optimization

Summery; Zigbee radios are extremely sensitive to almost all sources of EMF/EMI/RMI and Zigbee radios are very weak and by design rely on its Zigbee mesh (mesh networking) technology to relay messages and thus a stable Zigbee network need many “known good” Zigbee Router devices that are always connected/available.

Thanks! I’ve read the guide and that’s the reason why I have tried to move the PC/Skyconnect to different places and also tried different Zigbee/WIFI channels.

The Skyconnect is connected, using a cord, to a USB 2.0 port in the computer (it doesn’t have USB 3). I used to have the PC pretty close to an Access Point but not at the moment.

I’m aware that I need Zigbee Routers around the house and I’ve made sure that at least one is pretty close when I’ve tried a new location. I have quite a few Tuya routers and that worries me a bit. It will be very expensive to replace them all and I have no idea if it will help or not.

However, I can not understand why a simple restart always solves the problem? If it would be an hardware/network issue, how can a restart of HA make everything instantly work again?

Does Home Assistant send some special command to the network when it restarts? If such command exists it would be interesting to test that next time it happens, instead of restarting.

It seems like the issue is resolved, everything have been working for almost a week now which is, by far, a new record. I did the following changes:

  • Removed one of my bulbs. While digging through the log I noticed that several error messages involved a Livarno Home HG08131B bulb (similar to this one: Livarno Home HG08131C)
  • Disabled Zigbee debug logging

I’ll update this post if I ever figure out which one solved the issue.