home-assistant.github.io/source/_components/device_tracker.bluetooth_le_tracker.markdown
oa- 03ad5afd96 Updated title
Changed the title to differentiate it from the non-LE Bluetooth tracker
2016-08-29 11:46:34 +02:00

1.4 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_iot_class ha_release
page Bluetooth LE Tracker Instructions for integrating bluetooth low-energy tracking within Home Assistant. 2016-08-24 00:00 true false true true bluetooth.png Presence Detection Local Poll 0.27

This tracker discovers new devices on boot and in regular intervals and tracks bluetooth low-energy devices periodically based on interval_seconds value. It is not required to pair the devices with each other! Devices discovered are stored with 'BLE_' as the prefix for device mac addresses in known_devices.yaml.

Requires PyBluez. If you are on Raspbian, make sure you first install `bluetooth` and `libbluetooth-dev` by running `sudo apt install bluetooth libbluetooth-dev`

To use the Bluetooth tracker in your installation, add the following to your configuration.yaml file:

device_tracker:
  platform: bluetooth_le_tracker

As some BT LE devices change their MAC address regularly, a new device is only discovered when it has been seen 5 times. Some BTLE devices (e.g. fitness trackers) are only visible to the devices that they are paired with. In this case, the BTLE tracker won't see this device.

BTLE tracking requires root privileges.

For additional configuration variables check the Device tracker page.