Hi all,
I simply relocated my HA based on Raspi4 working well for months to have it connected by cable instead of wifi. Result is sadly, that my ZHA no longer comes up and I don´t know why.
The error showing up is this:
Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:172
First occurred: 09:14:43 (1 occurrences)
Last logged: 09:14:43
Error setting up entry /dev/ttyACM0 for zha
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 136, in change_loop
await asyncio.sleep(CHANGE_NETWORK_WAIT)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 605, in sleep
return await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 110, in start_network
await self._change_network_state(NetworkState.CONNECTED)
File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 139, in _change_network_state
await asyncio.wait_for(change_loop(), timeout=timeout)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 102, in async_setup_entry
await zha_gateway.async_initialize()
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 172, in async_initialize
self.application_controller = await app_controller_cls.new(
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 102, in new
await app.startup(auto_form=auto_form)
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 80, in startup
await self.start_network()
File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 112, in start_network
raise FormationFailure() from e
zigpy.exceptions.FormationFailure
I have had problems in my past already with the interference of radio with the Wifi and being too close to it, so I had implemented then a logner USB extension cable, which is now 1,5m (and not only 20cm).
Remembering that, I tried already multiple times:
- restart HA
- reboot whole host
- reconnecting the cable with the stick
- complete shutdown and making powerless for a minute
- always with re-locating the stick in changing direction and angle and everything
but nothing helped, it never started.
Then I was wondering, when I was re-powering my Raspi last time and I think this is really long ago. So I though maybe was there any change in ZHA that could cause this? Or what else can I do to make it work again?
Thanks in advance for any help, really appreciate!
BR, Jo