operating-system: Raspberry pi 4 with deconz zigbee upgrade to 7.4 fails

Describe the issue you are experiencing

Did an upgrade to 7.4 the other day and my raspberry pi refused to start again. After a few hours of troubleshooting by installing a new system and configuring it, I came to the conclusion that one row in config.txt destroys it all. By downgrading to 7.2 all works fine again.

this is the line: dtoverlay=miniuart-bt

The attached log extract is when i start it without this option.

What operating system image do you use?

rpi4-64 (Raspberry Pi 4/400 64-bit OS)

What version of Home Assistant Operating System is installed?

7.4

Did you upgrade the Operating System.

Yes

Steps to reproduce the issue

  1. upgrade to 7.4 with dtoverlay=miniuart-bt in the config.txt

Anything in the Supervisor logs that might be useful for us?

Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:152
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 13:17:29 (2 occurrences)
Last logged: 13:17:36

Couldn't start deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II coordinator
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

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 152, in async_initialize
    self.application_controller = await app_controller_cls.new(
  File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
    await app.startup(auto_form)
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/zigbee/application.py", line 67, in startup
    self.version = await self._api.version()
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 463, in version
    (self._proto_ver,) = await self[NetworkParameter.protocol_version]
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 428, in read_parameter
    r = await self._command(Command.read_parameter, 1 + len(data), param, data)
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 313, in _command
    return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

Anything in the Host logs that might be useful for us?

system refuses to start

System Health information

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 26 (2 by maintainers)

Most upvoted comments

I re-tested this with Home Assistant OS 7.5->7.6 upgrade i.e

  • Shutdown HA
  • comment out the 2 corresponding lines in config.txt
  • Start up HA
  • Run OS upgrade
  • Shutdown HA
  • comment in the 2 corresponding lines in config.txt
  • Start up HA
  • -> works

I didn’t even try to do the OS upgrade without commenting the config.txt lines

This is some unexplainable black magic happening. I did try “your way” of doing this, it didnt work. It got stuck in some boot loop. I got myself a hdmi cable to be able to see whats going on, plugged it in and everything suddenly started up…

So, I’ve managed to successfully upgrade to 7.6 with everything seemingly working.

Thanks a bunch GitPetri for the solution!

Closing this.

Just changed dtoverlay=pi3-miniuart-bt to dtoverlay=pi3-disable-bt and it booted and the RaspBee II works and discovers zigbee devices.

@enjikaka yeah you found the partition… once you boot up, rollback the os as I did, change back in the config.txt and start up again, everything will work, at least it did for me… 😃