How to pass a regular USB BT adapter to home assistant docker image?

Any how, I can’t get my BT-500 Adapter passed to the docker of home assistant. While it works fine for the zigbee dongle, I can’t see any device in /dev for the BT stick…

This stuff should work by default, and if you care about risk, then create an option for it to be able to detect BT devices…

Is there a any normal way of adding BT to a container then? I want to add plenty of BT sensors to HA and this helds me back, I dont want to create a VM, I want to keep using the docker…

How did you get it to work for the zigbee dongle???

In general VMs and LXC (instances) provide better access to physical resources…

The zigbee device is detected and listed with /Dev/ttyUSB0

The BT dongle only shows on lsusb.

As far as I know, this devices are not initialized due to missing components, basic Bluetooth stuff. Else it should show up in /dev

I bought BT sticks which should be supported in Debian by default, so I think that’s a made decision. Only passing to a VM may work, but that’s no option.

That also means I need to try a BT proxy in HA…

Yes, TrueNAS doesn’t include BT or Wifi drivers… it would have to be done at the App in Home Assistant. That may be why a LXC or VM is needed.

1 Like

HAOS is recommended over container based deployment, anyway.

might be but the container with all shared resources working superb. No issues at all and the update and all is way more easy than the rather bad VM stuff on Truenas Scale.

well that should change in my eyes, at least by an option to enable the same. I think plenty users will only use their Nas even with Wifi… even I thought about it and I do 2500Mbit = 281MB/s over wifi 7 between my Nas and my workstation

so… if it wants to be close to customers, Wifi and BT is a must, at least to be enabled … same as SSH root access can be enabled

I run it on CORE in a VM and we use only the HAOS updater. No problem with that setup so far.

Isn’t SCALE/CE’s virtualisation supposed to be superior to FreeBSD’s? :wink:

1 Like

Yes, CE should enable a LXC with HAOS… no need to waste the RAM needed for a VM.

However, its not as simple as an App. So I understand the desire, but can’t offer a solution. The TrueNAS engineering team have enough trouble troubleshooting community storage configs without adding wireless technology into the base software.

It’s also possible to use it with zigbee2mqtt.

Afaik not really possible with a container.
Myself I just bought an ESP32 board which are very inexpensive and flashed it with ESPHome bluetooth proxy firmware (Ready-Made Projects — ESPHome). Works quite well and can be placed anywhere.

1 Like

HAOS is as far as I know a complete OS distribution that needs a full featured VM or a hardware device.

I just installed that proxy stuff on a ESP32 and it works quite well

1 Like

You might be right…
LXC is flexible for Linux-based deployments, so it might work
I’d be interested if someone tried and reported back.

If you mean running Home Assistant Supervised under LXC, it’s unsupported and (last time I checked) broken, if you run the script it will complain about something and exit.

1 Like

Thanks… that was the info I wanted and other people should see.