zigpy / zigpy-deconz

A library which communicates with Deconz radios for zigpy
GNU General Public License v3.0
87 stars 20 forks source link

My zigbee network is down #252

Open cuongdm75 opened 7 months ago

cuongdm75 commented 7 months ago

I'm using raspbee II in Pi 4B, it was run for over 2 years with only some minor issues. Last week my zigbee network was down, I tried to reload zha, reboot the system and it could work for sometimes. At the last I tried to reinstall fresh system and added all my devices again. It work for 2 days until today, it is down again.

Here is the log in my home assistant: Logger: homeassistant Source: components/zha/core/cluster_handlers/init.py:513 First occurred: 7:35:28 AM (400 occurrences) Last logged: 7:35:35 AM

Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/zha/sensor.py", line 263, in _refresh await self.async_update() File "/usr/src/homeassistant/homeassistant/components/zha/entity.py", line 256, in async_update await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/homeautomation.py", line 127, in async_update result = await self.get_attributes(attrs, from_cache=False, only_cache=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/init.py", line 513, in _getattributes read, = await self.cluster.read_attributes( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py", line 528, in read_attributes result = await self.read_attributes_raw(to_read, manufacturer=manufacturer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py", line 289, in read_attributes_raw results = await super().read_attributes_raw( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/zigpy/quirks/init.py", line 334, in _read_attributes return await super()._read_attributes( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 253, 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/zigpy_deconz/zigbee/application.py", line 508, in send_packet await self._api.aps_data_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'aps_data_request'

Please help me to close the issue.