Bluetooth tracker - added to configuration.yaml but nothing seems to happen

|hassio|true|
|host_os|HassOS 4.10|
|installation_type|Home Assistant|
|os_name|Linux|
|os_version|4.19.126-v7|
|python_version|3.7.7|
|supervisor|227|
|timezone|Europe/London|
|version|0.111.2|
|virtualenv|false|

I’m trying to use bluetooth tracking. I’ve added the following configuration as documented:

default_config:

device_tracker:
  - platform: bluetooth_tracker
    interval_seconds: 15
    consider_home: 150
    track_new_devices: yes

Rebooted the Pi etc. but nothing seems to happen. Nothing shows up in ~/config/devices/dashboard, no known_devices.yaml file appears. No logs indicating any errors.

Not sure what I am doing wrong?

1 Like

Did you try out the workaround?

In some cases it can be that your device is not discovered. In that case let your phone scan for Bluetooth devices while you restart Home Assistant. Just hit Scan on your phone all the time until Home Assistant is fully restarted and the device should appear in known_devices.yaml .

From Bluetooth Tracker - Home Assistant

I have indeed tried that, unfortunately no improvement.

I am having the same issue. No BT device is being found.

Does anyone have an idea why Bluetooth is noch available in an HASS.OS installation?

I gave up in the end, couldn’t get it to work. Switched to using esphome bluetooth tracker on a esp32 board and all works great.

Hi all.
I really need/want this to work.
Did anyone find a solution.

This is an old thread but maybe someone will find it from searching as I did when looking for solutions.

What worked for me was to put the phone into pairing mode and that created the entry in known_devices.yaml. I did it differently for another phone I tested. I found the device name amd bluetooth MAC in Settings, About and just created the entry in known_devices manually,. Reboot HA.

I found that consider_home values less than 30 seconds caused the system to constantly cycle from Home to Not Home every few seconds. Using interval_seconds did not work at all (I tried 8 seconds for testing).

Configuration.yaml just has
device_tracker:
- platform: bluetooth_tracker

known_devices has
Motorola_Fusion: (from About on phone)
name: This is my phone (override if desired)
mac: BT_30:xx:xx:xx:xx:xx (note BT_ prefix)
consider_home : 90 (default is 180 seconds)
track: true

Everything except the first line on each should be indented … does not show on here.