Configuration Options
On first startup, BlueTracker copies the default configuration from config.toml
to bluetracker_config.toml.
This provides a template configuration file that users can easily modify to suit their specific MQTT broker settings and the devices they want to track.
[bluetooth]
consider_away = 180
scan_interval = 12
scan_timeout = 3
[mqtt]
discovery_topic_prefix = 'homeassistant'
homeassistant_token = 'a_token'
host = '127.0.0.1'
password = 'a_password'
port = 1883
username = 'a_user'
[[devices]]
mac = 'aa:bb:cc:dd:ee:f0'
name = 'Device 1'
[[devices]]
mac = 'aa:bb:cc:dd:ee:f1'
name = 'Device 2'
The available options are shown in the table below.
Name |
Description |
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Sets the environment for the application (production, development, or testing). This affects logging levels and other behaviors. Not required, defaults to production. |
||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
|
|