core: Zigbee ZHA Error: ApplicationController is not running since update to 2023.11
The problem
I am receiving an error with Zigbee devices since updating to 2023.11. Devices that are part of automations are now flaky and sometimes do not response and when making service calls via the dashboard or device card i receive this error message: “Failed to call service light/turn_on. Failed to send request: ApplicationController is not running”
Restarting and/or rebooting my Home Assistant Yellow does not resolve the issues, nor does disabling/re-enabling or reloading ZHA
No new devices introduced or any changes to my Home Assistant instance other than updating to 2023.11
What version of Home Assistant Core has the issue?
core-2023.11.0
What was the last working version of Home Assistant Core?
core-2023.10.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA
Link to integration documentation on our website
No response
Diagnostics information
home-assistant_zha_2023-11-02T15-18-07.706Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 15:26:04 (7 occurrences)
Last logged: 15:31:44
[547974951488] Failed to send request: ApplicationController is not running
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.11/site-packages/zigpy/util.py", line 138, in retry
return await func()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/__init__.py", line 377, 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 297, in request
await self._application.request(
File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 768, in request
await self.send_packet(
File "/usr/local/lib/python3.11/site-packages/bellows/zigbee/application.py", line 752, in send_packet
raise ControllerError("ApplicationController is not running")
bellows.exception.ControllerError: ApplicationController is not running
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 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, 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 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, 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/group/light.py", line 189, in async_turn_off
await self.hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, 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 904, in entity_service_call
task.result() # pop exception if have
^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1219, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, 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 83, in wrapper
with wrap_zigpy_exceptions():
File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__
self.gen.throw(typ, value, traceback)
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: ApplicationController is not running
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Reactions: 2
- Comments: 20 (3 by maintainers)
Same here and adding my 2 cents. Same config, situation as the others, Everything works until it suddenly stops, ie no device is reachable any longer. I end up stopping the add-on, turning off start on boot and watchdog, shutdown my HASSIO Raspberry, go downstairs unplug SkyConnect, reconnect, start the add-on, and then reload ZHA. That tends to fix it the mess, yet it is a timebomb and I don’t know whether it is functional for an hour or a day.
…forgot to add a step: restore a prior backup. I think next time it happens I will restore back to 2023.11.0
I have since discovered that a full reboot of my HA Yellow does resolve the issue for a few hours but the state of the Zigbee/Matter network does regress and the issues resurfaces.
The restart of the Multi-Pan Add-on does not have the same effect of temporarily stabilising the system.
Also - the issues is still present in the latest core update to 2023.11.1 and Matter server update to 4.10.2
+1 to Zigbee ZHA issues after upgrade. Devices started failing about a day after upgrade, when i reloaded ZHA it said my configuration was corrupted and i had to load a backup. Doing that caused all devices to go offline. Tried a restore of HA to before i updated to 2023.11.0, Zigbee still didn’t work. Had to re-pair every single zigbee device. After running all over the house to find all my devices, back to working and on 2023.10.5. Hopefully this can be fixed and a fix to 2023.11.0 can be pushed out.