Some settings are required to ensure that openHAB has access to Bluez.
To allow openHAB to access Bluez via dbus you need to add the following entry within your dbus configuration in `/etc/dbus-1/system.d/bluetooth.conf`
```xml
<busconfig>
<policyuser="root">
...
</policy>
<policygroup="bluetooth">
<allowsend_destination="org.bluez"/>
</policy>
...
</busconfig>
```
and add openHAB to the "bluetooth" group.
```shell
sudo adduser openhab bluetooth
```
Also, in case you don't want to manually enable your bluetooth adapters with `bluetoothctl`, ensure that it's automatically enabled by setting the option `AutoEnable` in your `/etc/bluetooth/main.conf` to `true`.
Restart running services for changes to take effect.
The bluez bridge requires the configuration parameter `address`, which corresponds to the Bluetooth address of the adapter (in format "XX:XX:XX:XX:XX:XX").
Additionally, the parameter `backgroundDiscovery` can be set to true/false.When set to true, any Bluetooth device of which broadcasts are received is added to the Inbox.
## Example
This is how an BlueZ adapter can be configured textually in a *.things file: