How to prevent device_tracker from tracking every bluetooth device that comes near my house?

I am having a strange problem where in a house of two phones, we have about 12-13 devices detected within device_tracker, which I can only assume is my Hassio install logging every device that comes within range of my home. Some are our kids game systems like Nintendo, others though likely the pizza guy, mailman, you name it, I seem to be logging every instance/bluetooth id, and they are showing up on my home screen when I log into my local install. Security wise i guess its ok, as I will have a trail if someone ever breaks into my home with a cellphone in their pocket. Though for normal life, is there a way to prevent this, or is something I continually have to delete from my list of known_devices or select hide in the known_devices.yaml file for each one not relevant?

Devices that are registered are showing up as home/away as they should.

Set track_new_devices: false as in the docs

1 Like

Thank you! Missed that one.

Thanks for confirming @HiFi please set the topic to ‘solved’ as it might help others

This doesn’t work with merkai device_tracker
I had to clear over 300k lines of garbage from known_devices.yaml file
Have to do this quite often, otherwise HASS config check and restart take very long.

1 Like

This does not work for the BLE Tracker unfortunately :frowning:

Config as follows:

device_tracker:
  - platform: bluetooth_le_tracker
    track_new_devices: false
    track_battery: false

But known_devices entries still have track_new_devices: true

61_05_a0_8f_b8_e8:
  name: 61:05:A0:8F:B8:E8
  mac: BLE_61:05:A0:8F:B8:E8
  icon:
  picture:
  track: true

5 years ago it did :upside_down_face:

1 Like