core: ZHA doesn't work - Zigbee devices do not response
The problem
A few days ago some zigbee devices started to stop responding. Mainly I have Aqara Weather and Door Sensors installed. The problems started to begin after updating to Version 2022.12.0.
Meanwhile I re-installed the whole ZHA integration. But the problems remained. The whole system was working fine for nearly half a year before.
What version of Home Assistant Core has the issue?
2022.12.3
What was the last working version of Home Assistant Core?
2022.11.2
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
zha-b3f090497b80dab05d0c6d9a82d5ac2c-Zigbee Coordinator-d61b3b60560acc1d66922f1b3176ec90.json.txt config_entry-zha-b3f090497b80dab05d0c6d9a82d5ac2c.json (1).txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: zigpy_znp.zigbee.application
Source: /usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py:652
First occurred: 21:45:00 (22 occurrences)
Last logged: 22:41:32
Watchdog check failed
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 998, in request
response = await response_future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 650, in _watchdog_loop
await self._znp.request(c.SYS.Ping.Req())
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 994, in request
async with async_timeout.timeout(
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 129, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
Logger: zigpy.application
Source: runner.py:120
First occurred: 22:06:17 (28 occurrences)
Last logged: 22:40:17
Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x853A)
Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xD8A6)
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:97
First occurred: 22:27:37 (1 occurrences)
Last logged: 22:27:37
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 786, in _discover_unknown_device
return await zigpy.zdo.broadcast(
File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 515, in broadcast
return await app.broadcast(
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 760, in broadcast
await self.send_packet(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 1026, in send_packet
response = await self._send_request_raw(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 901, in _send_request_raw
response = await self._znp.request(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 991, in request
self._uart.send(frame)
AttributeError: 'NoneType' object has no attribute 'send'
Logger: zigpy_znp.zigbee.application
Source: /usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py:739
First occurred: 22:22:19 (3 occurrences)
Last logged: 22:44:33
Failed to reconnect
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 1037, in request_callback_rsp
await self.request(request, timeout=timeout, **response_params)
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 998, in request
response = await response_future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 734, in _reconnect
await self.initialize()
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 111, in initialize
await self.permit(0)
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 302, in permit
response = await self._znp.request_callback_rsp(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 1036, in request_callback_rsp
async with async_timeout.timeout(timeout):
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 129, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 36 (8 by maintainers)
@dumpfheimer
Maybe I found a solution. I had the edl21 integration left in the configuration.yaml heading also to the serial port: /dev/ttyUSB0. I removed the lines and rebooted the system.
ZHA integration is running in the moment without any failures. I will test and report here.
That could definitely be the problem