Hello,
I was running a RPI3 and a Raspbee II with ZHA without any problem for months and a week ago my RPI started to freeze (need to restart it twice a day, automations were slow and many other problems).
A that time, I was working on the alarm system, and RPI was behind a UPS managed by the NUT addon for 2 weeks without any problem. A week before first freeze I was trying to add a E3531 usb stick with a 2g sim to have SMS if network is down and alarm fired, but without any luck for now.
I wasn’t doing any thing for days when it start crashing. I didn’t succeed in fixing it so I decided to restore a backup from “before the UPS installation”. It failed. I then decided to get a brand new (good) MicroSD card and did a fresh install, go to UI, restored the backup and look like it succeed, but no more UI.
I spent few days in understanding why. I saw errors with zigppy / deconz in core logs so I was investigating in it, but in the end I saw that docker didn’t map the 8123 port and investigate in network. My RPI3 was wifi connected before the crash, and when I reinstall it it did it with ethernet. This was the problem, configuration in snapshot was linked to wifi. After restoring wifi, everything was up again, but I still have the bug with my zigbee network.
I have between 40 and 50 devices and they are all offline.
In logs I can see this :
2021-03-10 14:43:02 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.read_parameter' command with seq id '0x02'
2021-03-10 14:43:02 ERROR (MainThread) [zigpy.application] Couldn't start application
2021-03-10 14:43:02 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 157, in async_initialize
self.application_controller = await app_controller_cls.new(
File "/usr/local/lib/python3.8/site-packages/zigpy/application.py", line 69, in new
await app.startup(auto_form)
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/zigbee/application.py", line 66, in startup
self.version = await self._api.version()
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 444, in version
(self._proto_ver,) = await self[NetworkParameter.protocol_version]
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 409, in read_parameter
r = await self._command(Command.read_parameter, 1 + len(data), param, data)
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 305, in _command
return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
Some topic here suggest to remove the conbee stick, restart HA and replug, but it’s not a conbee, but a Raspbee one.
I have no idea what to try now to restore my zigbee nework !
Thank you for your help.