Open Rihan9 opened 2 hours ago
I don't know if it can help, but a simple test with zigpy-cli done inside the container throw a very similar error, if not the same:
e4aeb9b510a7:/config# zigpy radio znp /dev/ZBDongle-E info
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 695, in _skip_bootloader
result = await responses.get()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/queues.py", line 158, in get
await getter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/zigpy", line 8, in <module>
sys.exit(cli())
^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/decorators.py", line 45, in new_func
return f(get_current_context().obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy_cli/cli.py", line 20, in inner
return loop.run_until_complete(cmd(*args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy_cli/radio.py", line 82, in info
await app.connect()
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 103, in connect
await znp.connect()
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 738, in connect
self.capabilities = (await self._skip_bootloader()).Capabilities
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py", line 694, in _skip_bootloader
async with async_timeout.timeout(CONNECT_PROBE_TIMEOUT):
File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 141, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.12/site-packages/async_timeout/__init__.py", line 228, in _do_exit
raise asyncio.TimeoutError
The problem
Hi, I'm trying to migrate from Z2M to ZHA. I'll love to do it in order to reduce the number of containers in my server and in hope to resolve an instability problem in my network.
But I can't. The setup of ZHA always fail with the error:
I don't even have the ability to enable the debug logging in the integration. The setup works until I choose to maintain my network. Here the setup took a while and then throw that error. I choose the EZP driver, with 115200 as baundrate and software flow control. Reboot HA doesn't help. Phisical remove the dongle and reinserted it neither.
Can someone explain why this behavior? It seem like a timeout error but I don't know why..
What version of Home Assistant Core has the issue?
core-2024.9.2
What was the last working version of Home Assistant Core?
-
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ZHA
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Coordinator type: EmberZNet Coordinator Name: SOnOff ZBDongle-E Coordinator Version: 7.4.3 [GA]
Works "fine" on Z2M (Various instability issues and lagging. I'm hoping is not a coordinator problem, but I still don't know. Still, the coordinator is recognized and the network is able to works)