core icon indicating copy to clipboard operation
core copied to clipboard

IKEA Trådfri 30W Driver Becomes Unresponsive After Pairing via ZHA with Sky Connect

Open Nicxe opened this issue 9 months ago • 3 comments

The problem

I recently purchased a new IKEA Trådfri 30W driver, which I'm using with ZHA and a Sky Connect. Initially, when I add it to ZHA, everything proceeds as expected, and I receive a confirmation of successful pairing. However, just seconds after pairing, the driver becomes unresponsive, and I am unable to control it. Intriguingly, when I connect the same driver to an IKEA DIRIGERA hub, it functions perfectly. The driver is brand new, and according to the IKEA Smart Home app, it is updated to the latest firmware.

I have plenty more of the same driver, both in 30W and 10W that works without an issue.

The driver in approximately 3 cm from the Sky Connect when pairing and trying to control the driver from ZHA.

What version of Home Assistant Core has the issue?

core-2024.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

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

Diagnostics information

config_entry-zha-22718957f6e27b56ca1351b9116fc3b2.json [zha-22718957f6e27b56ca1351b9116fc3b2-IKEA of Sweden TRADFRI Driver 30W-44156075296dfac5d4c2052691586210 (1).json](https://github.com/home-assistant/core/files/15299119/zha-22718957f6e27b56ca1351b9116fc3b2-IKEA.of.Sweden.TRADFRI.Driver.30 home-assistant_zha_2024-05-13T19-17-45.723Z.log W-44156075296dfac5d4c2052691586210.1.json)

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.websocket_api.http.connection
Källa: components/websocket_api/commands.py:239
integration: Home Assistant WebSocket API (dokumentation, ärenden)
Inträffade först: 21:17:00 (2 händelser)
Senast loggade: 21:17:41

[139827727778112] Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 64, in wrap_zigpy_exceptions
    yield
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 84, in wrapper
    return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/util.py", line 131, in retry
    return await func()
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 931, in send_packet
    raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 627, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/usr/src/homeassistant/homeassistant/components/zha/light.py", line 360, in async_turn_on
    result = await self._on_off_cluster_handler.on()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 83, in wrapper
    with wrap_zigpy_exceptions():
  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 75, in wrap_zigpy_exceptions
    raise HomeAssistantError(message) from exc
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

Additional information

Here are the specifics of the driver: Firmware: 1.0.002 Senaste versionen Modell: TRADFRI Driver 30W Produkt-ID: ICPSHC2430EUIL2 Serienummer: 287681FFFEEA3027 Tillverkare: IKEA of Sweden

Nicxe avatar May 13 '24 19:05 Nicxe