ZHA devices go unavailable

Dear reader,

Multiple times a day some devices in my zigbee network go unavailable. I dont know why, recently added some more zigbee devices (now have 54) and I get the following errors.

I think its because of the error ‘No more available slots MulticastId subscription’ but iam not sure.

Searching google doesn’t help much, so I could really use some help. Thanks!

1 Like

Here are the sources of the logs:

Logger: bellows.multicast
Source: components/zha/__init__.py:151
First occurred: 4 January 2025 at 23:25:19 (32 occurrences)
Last logged: 11:50:31
No more available slots MulticastId subscription
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:112
First occurred: 11:50:44 (1 occurrences)
Last logged: 11:50:44
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/zigpy/device.py", line 190, in group_membership_scan
    await ep.group_membership_scan()
  File "/usr/local/lib/python3.13/site-packages/zigpy/endpoint.py", line 181, in group_membership_scan
    res = await self.groups.get_membership(groups=[])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/zigpy/zcl/__init__.py", line 375, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/endpoint.py", line 270, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<11 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/device.py", line 371, in request
    async with self._limit_concurrency(priority=priority):
               ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/contextlib.py", line 221, in __aexit__
    await anext(self.gen)
  File "/usr/local/lib/python3.13/site-packages/zigpy/device.py", line 120, in _limit_concurrency
    async with self._concurrent_requests_semaphore(priority=priority):
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/zigpy/datastructures.py", line 32, in __aexit__
    await self.context_manager.__aexit__(exc_type, exc, traceback)
  File "/usr/local/lib/python3.13/site-packages/zigpy/datastructures.py", line 184, in __aexit__
    self.release()
    ~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/zigpy/datastructures.py", line 160, in release
    raise ValueError("Semaphore released too many times")
ValueError: Semaphore released too many times
Source: core.py:2815
First occurred: 11:00:34 (2 occurrences)
Last logged: 11:51:56
Error executing service: <ServiceCall light.turn_on (c:01JGTYGRHZ:al:IFSG:ntrv:AQ): entity_id=['light.signify_netherlands_b_v_lta009_light'], params=transition=45.0, brightness=153>
Error executing service: <ServiceCall light.turn_on (c:01JGV1BX2W:al:IFSG:ntrv:BO): entity_id=['light.signify_netherlands_b_v_lta009_light'], params=transition=45.0, brightness=153>
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 67, in wrap_zigpy_exceptions
    yield
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 85, in wrapper
    return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/zigpy/util.py", line 136, in retry
    return await func()
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/zigpy/zcl/__init__.py", line 375, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/endpoint.py", line 270, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<11 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/device.py", line 378, in request
    await send_request()
  File "/usr/local/lib/python3.13/site-packages/zigpy/application.py", line 835, in request
    await self.send_packet(
    ...<14 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/bellows/zigbee/application.py", line 852, in send_packet
    raise zigpy.exceptions.DeliveryError(
        f"Failed to deliver message: {send_status!r}", send_status
    )
zigpy.exceptions.DeliveryError: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1335, in handler
    return await func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/light.py", line 184, in async_turn_on
    await self.entity_data.entity.async_turn_on(
    ...<6 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/zha/application/platforms/light/__init__.py", line 373, in async_turn_on
    result = await self._level_cluster_handler.move_to_level_with_on_off(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 84, in wrapper
    with wrap_zigpy_exceptions():
         ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    self.gen.throw(value)
    ~~~~~~~~~~~~~~^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/cluster_handlers/__init__.py", line 76, in wrap_zigpy_exceptions
    raise ZHAException(message) from exc
zha.exceptions.ZHAException: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 2815, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/adaptive_lighting/hass_utils.py", line 62, in service_func_proxy
    await existing_service.job.target(call)
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
        hass, entity, func, data, call.context
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 644, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1337, in handler
    raise HomeAssistantError(err) from err
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

I am running HA now for 3-4 months in Proxmox on an Intel NUC with a windows VM and an instance of Pi-hole.

Its been rock solid. The problems started yesterday, I bought 3 new zigbee energy monitors of IKEA. The INSPELNING ones. When I connected the second one I heard one of my switch upstairs go off. I have a two lights in my badroom, one is a mirror light and one is the ceiling light, when the ceiling light goes off my mirror light goes off. What happend is that the ceiling light became unavailable and thats why I heard my mirrorlight switch off.

Now i begin to notice more devices going unavailable paired with the error’s I posted in the other comments

The device I added could have been my 50th device, could that be why these error are occurring?