I moved from Domoticz to HA recently, installed on a NUC with Linux Mint in a container. It discovered ZiGate+ USB, everything works, but it cannot discover my bluetooth integration and trying to add the integration manually, it gives me the error mentioned above.
The dongle works on Linux fine and discovers devices. But I googled and messed with it fro HA by now 3 whole days till the late night without any success. I found some threads of RedHat and on GitHub, so I installed dbus and bluez. But I got an error:
root@ha:~# systemctl status dbus-broker.service
● dbus-broker.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus-broker.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-05-04 15:11:12 CEST; 16min ago
TriggeredBy: ● dbus.socket
Docs: man:dbus-broker-launch(1)
Main PID: 671 (dbus-broker-lau)
Tasks: 2 (limit: 4394)
Memory: 4.3M
CPU: 295ms
CGroup: /system.slice/dbus-broker.service
├─671 /usr/bin/dbus-broker-launch --scope system --audit
└─682 dbus-broker --log 4 --controller 9 --machine-id 8283e071490343188007b10cb544d01b --max-bytes 536870912 --max-fds 4096 --max-matches 131072 --audit
May 04 15:11:12 ha systemd[1]: Starting D-Bus System Message Bus...
May 04 15:11:12 ha dbus-broker-launch[671]: Deprecated policy context in /etc/dbus-1/system.d/kerneloops.conf +18. The 'at_console' context is deprecated and will be ignored in the future.
May 04 15:11:12 ha dbus-broker-launch[671]: Deprecated policy context in /etc/dbus-1/system.d/com.hp.hplip.conf +15. The 'at_console' context is deprecated and will be ignored in the future.
May 04 15:11:12 ha dbus-broker-launch[671]: AppArmor enabled, but not supported. Ignoring.
May 04 15:11:12 ha systemd[1]: Started D-Bus System Message Bus.
May 04 15:11:13 ha dbus-broker-lau[671]: Ready
May 04 15:11:13 ha dbus-broker-launch[671]: Activation request for 'org.freedesktop.network1' failed: The systemd unit 'dbus-org.freedesktop.network1.service' could not be found.
There is org.freedesktop.networkl.conf in the folder /usr/share/dbus-l/system.d/ and
org.freedesktop.networkl.service in /usr/share/system-services/
It’s quite urgent issue, because I have a bunch of Mijia temp/hum LCD sensors with custom fw and my home ventilation depends on these.
Adding this:
Network works fine. The dongle is BCM20702A1 on the port hci0. And I just found that for BCM adapters there is mentioned:
“These adapters may require additional patch files available at GitHub - winterheart/broadcom-bt-firmware: Repository for various Broadcom Bluetooth firmware for stable operation.”
I will try to install this patch. No, it didn’t help!
Thank you, dear Google and HA community, too! I missed -v /run/dbus:/run/dbus:ro from running the container. Maybe it’s beneficial for someone, I less my question here.