Closed shivamdixit closed 1 year ago
Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
According to the log, your stick is unresponsive. Please enable ZHA debug logging (https://www.home-assistant.io/integrations/zha/#debug-logging) and post a log.
Seems we have the same problem.
Hello, same issue for me I think: when trying to add the Sonoff zigbee dongle plus, it is detected but configuration fails. I tried to restart HA, restart the Raspberry, flash the dongle... Nothing worked.
Probably related issue with my intallation. The dongle worked flawlesely til roughly one week ago. It now does not start anymore. Also reloading a nackup configuration does not work.
Logger: homeassistant.config_entries Source: components/zha/core/gateway.py:205 First occurred: 20:13:02 (7 occurrences) Last logged: 21:02:53
Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus - Sonoff Zigbee 3.0 USB Dongle Plus for zha Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 228, in load_network_info await self._load_network_info(load_devices=load_devices) File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 112, in _load_network_info and await self.nvram.osal_read( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy_znp/nvram.py", line 171, in osal_read raise KeyError(f"NV item does not exist: {nv_id!r}") KeyError: 'NV item does not exist: <OsalNvIds.BDBNODEISONANETWORK: 85>'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 116, in initialize await self.load_network_info(load_devices=False) File "/usr/local/lib/python3.11/site-packages/zigpy_znp/zigbee/application.py", line 168, in load_network_info await self._znp.load_network_info(load_devices=load_devices) File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 230, in load_network_info raise NetworkNotFormed() from e zigpy.exceptions.NetworkNotFormed
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 390, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/init.py", line 122, in async_setup_entry await zha_gateway.async_initialize() File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize raise exc File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize self.application_controller = await app_controller_cls.new( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 194, in startup await self.initialize(auto_form=auto_form) File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 129, in initialize await self.backups.restore_backup(last_backup) File "/usr/local/lib/python3.11/site-packages/zigpy/backups.py", line 151, in restore_backup await self.app.write_network_info( File "/usr/local/lib/python3.11/site-packages/zigpy_znp/zigbee/application.py", line 195, in write_network_info await self._znp.write_network_info( File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 348, in write_network_info await self.reset_network_info() File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 329, in reset_network_info await self.nvram.osal_write( File "/usr/local/lib/python3.11/site-packages/zigpy_znp/nvram.py", line 139, in osal_write await self.znp.request( File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 1026, in request raise InvalidCommandResponse( zigpy_znp.exceptions.InvalidCommandResponse: Expected SRSP response SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>), got SYS.OSALNVWriteExt.Rsp(Status=<Status.NV_OPER_FAILED: 10>)
#
Hi everbody,
I seem to have the same problem: Dongle: TI CC2531 USB CDC
Message:
`Logger: homeassistant.config_entries Source: components/zha/core/gateway.py:205 First occurred: 15:33:54 (1 occurrences) Last logged: 15:33:54
Error setting up entry TI CC2531 USB CDC, s/n: __0X00124B001CD4A271 - Texas Instruments for zha Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 684, in _skip_bootloader result = await responses.get() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/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/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/zha/init.py", line 138, in async_setup_entry await zha_gateway.async_initialize() File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 220, in async_initialize raise exc File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 205, in async_initialize self.application_controller = await app_controller_cls.new( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 219, in new await app.startup(auto_form=auto_form) File "/usr/local/lib/python3.11/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.11/site-packages/zigpy_znp/zigbee/application.py", line 115, in connect await znp.connect() File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 726, in connect self.capabilities = (await self._skip_bootloader()).Capabilities ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 683, in _skip_bootloader async with async_timeout.timeout(CONNECT_PROBE_TIMEOUT): File "/usr/local/lib/python3.11/site-packages/async_timeout/init.py", line 129, in aexit self._do_exit(exc_type) File "/usr/local/lib/python3.11/site-packages/async_timeout/init.py", line 212, in _do_exit raise asyncio.TimeoutError TimeoutError ` Could it be related to this error message:
`Logger: zigpy.application Source: /usr/local/lib/python3.11/site-packages/zigpy/application.py:196 First occurred: 15:32:56 (3 occurrences) Last logged: 15:33:49
Couldn't start application Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 684, in _skip_bootloader result = await responses.get() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/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/lib/python3.11/site-packages/zigpy/application.py", line 193, in startup await self.connect() File "/usr/local/lib/python3.11/site-packages/zigpy_znp/zigbee/application.py", line 115, in connect await znp.connect() File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 726, in connect self.capabilities = (await self._skip_bootloader()).Capabilities ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/zigpy_znp/api.py", line 683, in _skip_bootloader async with async_timeout.timeout(CONNECT_PROBE_TIMEOUT): File "/usr/local/lib/python3.11/site-packages/async_timeout/init.py", line 129, in aexit self._do_exit(exc_type) File "/usr/local/lib/python3.11/site-packages/async_timeout/init.py", line 212, in _do_exit raise asyncio.TimeoutError TimeoutError `
Closing because the original author has not responded in two months, this issue is stale.
@87Vortex87 the CC2531 is known to lock up. Unplug it and plug it back in, it should start working after that. I would suggest migrating to a more stable coordinator in the near future if you want to avoid issues like this, as the CC2531's firmware is no longer being developed and will not receive future bugfixes.
i had this exact problem as well. However, after clicking "Configure" again on ZHA and setting it to use the existing network settings, everything was okay.
i had this exact problem as well. However, after clicking "Configure" again on ZHA and setting it to use the existing network settings, everything was okay.
Same here, had to keep doing that and I got it configured.
The problem
When setting up Sonoff Zigbee 3.0 USB Dongle Plus through HA, I see following exception message:
I tried restarting my raspberry pi and Home Assistant container, but that didn't help. I also tried disconnecting and re-connecting the dongle, but that didn't help either. The dongle is correctly identified by HA and only when I click configure, then it fails.
What version of Home Assistant Core has the issue?
core-2023.6.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Zigbee Home Automation
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
No response