I think I fried my Raspbee 2?

Just installed a bunch of new Zigbee devices, powered off HA, switched from USB-port power to the official RPi PSU, restarted HA and ZHA failed to start.

Have I fried my Raspbee2 while switching PSUs? Can I check if the Raspbee is alive somehow? … help? :-/

Log of ZHA:

2023-01-10 20:33:57.463 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration pid_controller which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-10 20:33:57.466 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-10 20:33:59.621 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2023-01-10 20:33:59.665 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=24 from 2023-01-09 21:00:10.197996)
2023-01-10 20:34:21.776 ERROR (MainThread) [zigpy.application] Couldn't start application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure
2023-01-10 20:34:21.810 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 1 of 3)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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/components/zha/core/gateway.py", line 174, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 169, in new
    await app.startup(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure
2023-01-10 20:34:35.297 ERROR (MainThread) [zigpy.application] Couldn't start application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure
2023-01-10 20:34:35.308 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 2 of 3)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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/components/zha/core/gateway.py", line 174, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 169, in new
    await app.startup(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure
2023-01-10 20:34:48.768 ERROR (MainThread) [zigpy.application] Couldn't start application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure
2023-01-10 20:34:48.781 WARNING (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator (attempt 3 of 3)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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/components/zha/core/gateway.py", line 174, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 169, in new
    await app.startup(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure
2023-01-10 20:34:48.786 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry  for zha
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 141, 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 116, in start_network
    await self._change_network_state(NetworkState.CONNECTED)
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 144, 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 382, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 111, in async_setup_entry
    await zha_gateway.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 189, in async_initialize
    raise exc
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 174, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 169, in new
    await app.startup(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 146, in startup
    await self.initialize(auto_form=auto_form)
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 122, in initialize
    await self.start_network()
  File "/usr/local/lib/python3.10/site-packages/zigpy_deconz/zigbee/application.py", line 118, in start_network
    raise FormationFailure() from e
zigpy.exceptions.FormationFailure

HA Info:

image

First that comes to mind is a faulty database :thinking:
Just delete it, and try again :wink:

How do I do this and what is this deleting? (sorry, kinda new to this)

edit: moved //config/home-assistant_v2.db to //config/home-assistant_v2.db.bak … restarting now

edit2: That removed the warning, but did not fix the issue

Historical data, written by the recorder.

1 Like

Too bad :smiling_face_with_tear:
If you have a backup, take a copy of it and deploy a new image🤔

Full log with debug info enabled: gist:b65dd41f2040f76247ab6775ed89ba86 · GitHub

Seems like there is some communication happening with the board?

Reinstalling on a different SD card now.

Have you tried “moving back” to usb-port.power ?

Hmm … no … going back to powering the RPi4 from the routers USB port does not make it work again. Didn’t expect to honestly.

I just installed a fresh image, did the enable_uart=1 and dtoverlay=disable-bt change … but ZHA did not come back up successful :frowning: