RaspBee II: DeConz works but ZHA doesnt work

Hello community,

I’m new to the home assistent topic, I have a raspberry pi 3b and a raspbee ii connected to it. To “activate” the raspbee I already configurable the config.txt with the following :

enable_uart=1
dtoverlay=pi3-miniuart-bt

Now I can configure the plugin DeConz without any problems. But I want to use ZHA. When I tried to use the integration ZHA (after deinstalling DeConz), he always gives me an error.

My steps:

  1. Search for the ZHA integration
  2. Select the serial path /dev/ttyAMA0 - ttyAMA0
  3. Manually select protocol deCONZ = dresden elektronik deCONZ protocol: ConBee I/II, RaspBee I/II
  4. Check all infos and press submit

Then I get a red message: Connection failed.

I already tried to use the long serial path from the hardware settings but same error

I hope someone can help me
Jeremy

1 Like

I just figured this out myself. This is what got me going if you haven’t figured it out yet.
Get rid of the dtoverlay=pi3-miniuart-bt line
Make sure deconz isn’t also running, then in your /boot/config.txt have the following lines.

dtparam=i2c_arm=on 
dtparam=i2c_vc=on 
dtoverlay=pi3-disable-bt #note: for Pi4 use dtoverlay=disable-bt
dtoverlay=i2c-rtc,pcf85063
enable_uart=1

Then configure ZHA for the raspbee ii with the settings:

serial path: /dev/ttyAMA0
protocol: dresden elektronik
flow control: hardware
baud rate: 38400
2 Likes

This solved my issue, thanks :heart: