After a reinstall, my sonoff Zigbee USB dongle doesn’t work. ie I can’t install in in HA. I am on a PI4. I get to this point, but when I select submit, it says error. Any suggestions?
Can we please show errors when we are asking about an error?
Have you rebooted the RPi? Does that dev exist? Are there other devs? Are there multiple USB devices on the RPi?
good point. Sorry. I am not sure how to tell the path of the Zigbee USB. Yes rebooted several times. Yes, 2 other dev’s, USB SSD drive and Coral TPU.
`
Logger: aiohttp.server
Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:421
First occurred: 2:07:43 PM (1 occurrences)
Last logged: 2:07:43 PM
Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py”, line 238, in load_network_info
await self._load_network_info(load_devices=load_devices)
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py”, line 113, in _load_network_info
and await self.nvram.osal_read(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/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.12/site-packages/zigpy/application.py”, line 363, in form_network
await self.start_network()
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py”, line 177, in start_network
await self.load_network_info()
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py”, line 144, in load_network_info
await self._znp.load_network_info(load_devices=load_devices)
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py”, line 240, 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/local/lib/python3.12/site-packages/aiohttp/web_protocol.py”, line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py”, line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py”, line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/security_filter.py”, line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/forwarded.py”, line 210, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 88, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/aiohttp_session/init.py”, line 199, in factory
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 295, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/headers.py”, line 32, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/http.py”, line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/decorators.py”, line 71, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 222, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 73, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 122, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 368, in async_configure
result = await self._async_configure(flow_id, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 410, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 518, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/config_flow.py”, line 392, in async_step_form_initial_network
return await self.async_step_form_new_network(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/config_flow.py”, line 398, in async_step_form_new_network
await self._radio_mgr.async_form_network()
File “/usr/src/homeassistant/homeassistant/components/zha/radio_manager.py”, line 277, in async_form_network
await app.form_network()
File “/usr/local/lib/python3.12/site-packages/zigpy/application.py”, line 365, in form_network
await self.form_network(fast=True)
File “/usr/local/lib/python3.12/site-packages/zigpy/application.py”, line 418, in form_network
await self.backups.restore_backup(
File “/usr/local/lib/python3.12/site-packages/zigpy/backups.py”, line 171, in restore_backup
await self.app.write_network_info(
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py”, line 171, in write_network_info
await self._znp.write_network_info(
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py”, line 381, in write_network_info
await self.nvram.osal_write(item, value, create=True)
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/nvram.py”, line 128, in osal_write
await self.znp.request(
File “/usr/local/lib/python3.12/site-packages/zigpy_znp/api.py”, line 1068, in request
raise InvalidCommandResponse(
zigpy_znp.exceptions.InvalidCommandResponse: Expected SRSP response SYS.OSALNVItemInit.Rsp(Status=<Status.NV_ITEM_UNINIT: 9>), got SYS.OSALNVItemInit.Rsp(Status=<Status.NV_OPER_FAILED: 10>)
`