Not sure where to post this. I got HA running okay, but some Zigbee devices seem very hit and miss. Maybe 60-80% of the time they work, then they don’t, then later they do for no obvious reason. Here is my error log … are there clues here? I am just using the web UI dashboard to toggle on a Zigbee light (Sengled 100w zigbee light).
2023-09-08 08:10:37.288 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547348809536] Failed to send request: Failed to deliver packet: <TXStatus.MAC_TRANSACTION_EXPIRED: 240>
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py”, line 64, in wrapper
return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/util.py”, line 132, in retry
return await func()
^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/zcl/init.py”, line 375, in request
return await self._endpoint.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/endpoint.py”, line 253, in request
return await self.device.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy/device.py”, line 293, in request
await self._application.request(
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 824, in request
await self.send_packet(
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py”, line 453, in send_packet
raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver packet: <TXStatus.MAC_TRANSACTION_EXPIRED: 240>
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 226, in handle_call_service
await hass.services.async_call(
File “/usr/src/homeassistant/homeassistant/core.py”, line 1974, in async_call
response_data = await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 2011, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 870, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 942, in _handle_entity_call
result = await task
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/light/init.py”, line 591, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File “/usr/src/homeassistant/homeassistant/components/zha/light.py”, line 471, in async_turn_off
result = await self._on_off_cluster_handler.off()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py”, line 75, in wrapper
raise HomeAssistantError(message) from exc
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver packet: <TXStatus.MAC_TRANSACTION_EXPIRED: 240>