Closed rrooggiieerr closed 1 year ago
This isn't a software problem: the error indicates that the Conbee isn't responding at all to any commands. Unplug it and plug it back in, or check your USB passthrough if you're using a VM.
Sorry, didn't mention, but I'm using a RaspBee II which is connected to the GPIO of my Raspberry pi.
Rebooting the hardware, seems to fix it, but then after a restart of HA Core (not the hardware) brings it into trouble agian
Is you using hard or software UART for the RaspBee ? Standard is software for the GIPO and hardware for the BT.
I don't know if I use software or hardware UART, is this configured during the ZHA integration installation? Any place where I could look this up?
After a couple of hardware restarts its now working stable. Not sure what happens when I restart again
Pi 3B and older its in the pi config and Pi 4 its little different but look on deCONZ setup instructions / Wiki they is writing it there (was having one RaspBee I that was working OK on Pi 3B+).
I', using a Pi 4. Never knew there were extra steps involved, so I learned something new. A quick check of the /mnt/boot/config.txt
of my Pi reveals enable_uart=1
, so that's good.
@rrooggiieerr since the question instead belongs in https://community.home-assistant.io/ can you close this issue now? See ex:
https://community.home-assistant.io/t/raspbee-ii/370391
https://community.home-assistant.io/t/raspbee-raspberrypi-4/132547
https://community.home-assistant.io/t/raspbee-2-and-homeassistant/383218
Anyway, I believe also need to disable Bluetooth (bt) for GPIO in /boot/config.txt
file in order to free up the UART for RaspBee:
enable_uart=1
dtoverlay=miniuart-bt
dtoverlay=disable-bt
https://r.obin.ch/blog/2022/08/02/integrate-raspbee-2-into-home-assistant/
Not needed disabling the BT comport but moving it to software ones so the GPIO can sing the hardware comport from the SOC so the last config can being left out and getting BT working but not in one good way then software comports is not working great on RPIs (CPU frequencies is not optimal for it).
Since latest HA OS everything is working fine again, even bluetooth
Since todays update of HA my ZHA won't work after a restart, also reloading my the ZHA integration doesn't work