Tyfoon
(@Tyfoon)
February 3, 2019, 10:17am
1
With bluetooth tracking now enabled I’m getting a very big known_devices.yaml files. After just a few weeks it was over 100.000 lines…
Would love to see an extra flag for device_trackers that allows ignoring any new devices/avoiding they get added to known_devices.yaml.
I don’t know in what degree the long known_devices impacts performance but it also impossible to find anything anymore.
Florian
February 3, 2019, 10:53am
2
Are you using this component?
You can disable tracking with it already:
# Example configuration.yaml entry
device_tracker:
- platform: bluetooth_le_tracker
track_new_devices: false
Tyfoon
(@Tyfoon)
February 3, 2019, 11:00am
3
No, using the Google home component.
However -also according the docs - setting ‘track_new_devices: false’ will NOT avoid them being added to the known_devices.yaml. This is also the behavior I see.
Florian
February 3, 2019, 11:01am
4
did you configure it this way?
device_tracker:
- platform: googlehome
host: IP_ADDRESS
new_device_defaults:
track_new_devices: false
1 Like
Tyfoon
(@Tyfoon)
February 3, 2019, 11:15am
5
Yes. And it is my first entry in device trackers (which for some reason also has impact, see here )
- platform: googlehome
host: 192.168.1.190
rssi_threshold: -100
interval_seconds: 8
consider_home: 400
new_device_defaults:
track_new_devices: false
hide_if_away: false
Florian
February 3, 2019, 11:33am
6
Since you’ve configured it as per documentation and it does not work as expected, you should file a bug so the devs can see it. I’ll doubt this gets the required attention if you report it here as feature request.