alex20465 / deskbluez

Connects to a low energy actuator system via bluetooth and allows remote control via command line or internal managed interface.
MIT License
65 stars 12 forks source link

docker container #17

Closed theskyisthelimit closed 3 years ago

theskyisthelimit commented 3 years ago

Hello

This is exactly what I was looking for.

Is it possible to run deskbluez inside a docker container?

alex20465 commented 3 years ago

Its possible if you are able to passthrough the bluetooth device to the container, yes it should be possible.

maxime1992 commented 2 years ago

@theskyisthelimit have you found anything? Could you share it please? :)

Maybe we'd like to achieve the same: I'd like to build a tiny add-on for home assistant. So I need somehow to be able to run this on Docker.

I've found this thread: https://stackoverflow.com/questions/28868393/accessing-bluetooth-dongle-from-inside-docker/36865509 but I'm wondering if you managed to do this without using the --privilege argument

theskyisthelimit commented 2 years ago

Hi @maxime1992

I'm using this tool to move my table with NFC Tags & Siri Shortcuts.

For another project I was able to use bluetooth with Homeassistant whith the --privilege argument. Not sure if it works without.