Skip to content

Commit b57ec02

Browse files
authored
Allow using BT and BLE devices from HA
This closes #484 by allowing the powering on of bluetooth inside the Home Assistant container and using the `hci` devices otherwise not accessible. This was initiated to be able to use the Airthings Wave Plus device that uses BLE from an integration interacting with `bluetoothd` and the `/dev/hci` directly.
1 parent dc9df51 commit b57ec02

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.templates/home_assistant/service.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ home_assistant:
88
volumes:
99
- /etc/localtime:/etc/localtime:ro
1010
- ./volumes/home_assistant:/config
11-
11+
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
12+
devices:
13+
- "/dev/ttyAMA0:/dev/ttyAMA0"
14+
- "/dev/vcio:/dev/vcio"
15+
- "/dev/gpiomem:/dev/gpiomem"
16+
privileged: true

0 commit comments

Comments
 (0)