Zigbee (Conbee II) was working fine now getting "Failed to set up"

Disclosure… I’m new to this who HA thing. Loving it, but very new still.

I’ve got a new install on a pi4 with HA installed on an ssd and it all hardwired into my network in the “nespi 4 case” (the one that looks like an NES).

I’ve been slowly getting going setting up rooms and renaming things and even (successfully) added some zigbee devices via my conbee2 stick. The devices showed up in the dashboard and I was able to create automations using an Ikea remote, and some Smartthings sensors.

But out of the blue the devices all are saying “unavailable” and under my Integrations, Zigbee Home Automation is showing an alert symbol and reading “failed to set up”.

What am I missing and how to I get past this? Thanks in advance for any and all help on this and sorry for my inevitable basic follow up questions.

No problem. Look under system, logs and see what it says

Copy any relevant errors (things saying ZHA or Zigbee or Zig… Anything) and paste the under a formatted text block (</> button above) in a post.

1 Like

Logger: homeassistant.config_entries
Source: components/zha/core/gateway.py:209
First occurred: September 19, 2023 at 10:11:26 PM (1 occurrences)
Last logged: September 19, 2023 at 10:11:26 PM

Error setting up entry ConBee II for zha
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py”, line 313, in _command
return await fut
^^^^^^^^^
asyncio.exceptions.CancelledError

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 198, in startup
await self.initialize(auto_form=auto_form)
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 117, in initialize
await self.load_network_info(load_devices=False)
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/zigbee/application.py”, line 323, in load_network_info
(network_info.network_key.tx_counter,) = await self._api[
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py”, line 430, in read_parameter
r = await self._command(Command.read_parameter, 1 + len(data), param, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/zigpy_deconz/api.py”, line 312, in _command
async with asyncio_timeout(COMMAND_TIMEOUT):
File “/usr/local/lib/python3.11/asyncio/timeouts.py”, line 111, in aexit
raise TimeoutError from exc_val
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 180, in async_setup_entry
await zha_gateway.async_initialize()
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 222, in async_initialize
raise exc
File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 209, in async_initialize
await self.application_controller.startup(auto_form=True)
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 201, in startup
await self.shutdown()
File “/usr/local/lib/python3.11/site-packages/zigpy/application.py”, line 406, in shutdown
await self._dblistener.shutdown()
File “/usr/local/lib/python3.11/site-packages/zigpy/appdb.py”, line 187, in shutdown
await self._set_isolation_level(None)
File “/usr/local/lib/python3.11/site-packages/zigpy/appdb.py”, line 205, in _set_isolation_level
await self._db._execute(lambda: setattr(self._db, “isolation_level”, level))
File “/usr/local/lib/python3.11/site-packages/aiosqlite/core.py”, line 126, in _execute
raise ValueError(“Connection closed”)
ValueError: Connection closed

I think that’s what you’re asking for. Thanks for you help!