question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Zigbee Home Automation - RaspBee II doesn't work after HA OS 8.0 upgrade

See original GitHub issue

The problem

Hi, I updated today my HA on OS 8.0 and 2022.5.4 core and Raspbee II device and Zigbee integration doesn’t work since the upgrade. Any suggestions?

Thanks, Petr

What version of Home Assistant Core has the issue?

2022.5.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Zigbee Home Automation

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha

Diagnostics information

How to get diagnostic file?

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Messages from log:
Logger: homeassistant.config_entries
Source: config_entries.py:366
First occurred: 16:48:00 (1 occurrences)
Last logged: 16:48:00

Config entry '/dev/ttyS0' for zha integration not ready yet; Retrying in background

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:96
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 17:06:34 (4 occurrences)
Last logged: 17:06:41

[547224274928] Received invalid command: zha/configuration
[547224274928] Received invalid command: zha/groups
[547224274928] Received invalid command: zha/devices

Logger: homeassistant.components.zha.core.gateway
Source: components/zha/core/gateway.py:182
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 16:48:00 (21 occurrences)
Last logged: 17:07:13

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 182, 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 84, in startup
    self.version = await self._api.version()
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 464, in version
    (self._proto_ver,) = await self[NetworkParameter.protocol_version]
  File "/usr/local/lib/python3.9/site-packages/zigpy_deconz/api.py", line 429, 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 314, 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

Additional information

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:49 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
cahaverlcommented, May 17, 2022

I also had this problem. In my case the root cause was the serial ports for my Zigbee and ZWave USB dongles got switched.

I was using the invariant device name for my Zigbee controller (ConBee II), so after the upgrade to HA OS 8.0 I had

  • Zigbee at /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2499961-if00
  • Zigbee aka /dev/ttyACM0
  • ZWave configured to /dev/ttyACM0

Before the upgrade, the invariant Zigbee name was mapped to /dev/ttyACM1.

With both protocols trying to use the same port, Zigbee and ZWave both didn’t work.

I was able to fix Zigbee by reconfiguring the port used by Z-Wave JS to MQTT. I pasted in the invariant name for the ZWave controller, which for me is /dev/serial/by-id/usb-0658_0200-if00 . For details of where to do this, see here, though note that the instructions recommend using a raw device name, which would likely cause this issue to recur.

To see the device names in all their glory, go to Settings > System > Hardware > 3 Dots Menu > All Hardware

2reactions
NAP141commented, May 17, 2022

I resolved the issue without downgrading.

  1. Delete ZHA integration
  2. Hardware reboot
  3. Add ZHA integration Note: all ZigBee devices are back online but I lost Device and Entity renaming. I had to rename them again to what they were. If this works for you no need to downgrade.
Read more comments on GitHub >

github_iconTop Results From Across the Web

RaspBee2 not working - #8 by John_H_Smith - Zigbee
This is my first try to use home assistant, so I am very new to it. I installed HomeAssistant on my Raspberry Pi...
Read more >
Home Assistant | Is it worth it to upgrade from Raspberry pi 3B ...
Hello all, I am a complete newbie to HA. I wanted to ask if the SONOFF Universal Zigbee 3.0 USB Dongle would work...
Read more >
Home Assistant Yellow | Crowd Supply
You can upgrade to a more powerful version of the Compute Module 4 at any time. Home Assistant Yellow includes the latest and...
Read more >
The best Raspberry Pi for Home Assistant in 2020
The Raspberry Pi is a popular device to run Home Assistant on. ... The Raspberry Pi 4 Model B comes with either 2...
Read more >
Zigbee home automation fail to install conbee ii
The problem with the mi devices is that they say they use zigbee but than ... the latest version of HA, now deCONZ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found