Step 3b. Configuration in YAML
Alternatively, you can add the configuration in configuration.yaml as explained below. The options are the same as in the UI and are explained in the configuration parameters section below. After adding your initial configuration to your YAML file, or applying a configuration change in YAML, a restart is required to load the new configuration. Depending on the sensor, the sensors should be added to your Home Assistant automatically within a few seconds till 10 minutes.
An example of configuration.yaml with the minimum configuration is:
https://custom-components.github.io/ble_monitor/Installation#step-3b-configuration-in-yaml
Alternatively, you can add the configuration in configuration.yaml as explained below. The options are the same as in the UI and are explained in the configuration parameters section below. After adding your initial configuration to your YAML file, or applying a configuration change in YAML, a restart is required to load the new configuration. Depending on the sensor, the sensors should be added to your Home Assistant automatically within a few seconds till 10 minutes.
An example of configuration.yaml with the minimum configuration is:
https://custom-components.github.io/ble_monitor/Installation#step-3b-configuration-in-yaml
ble_monitor:
bt_interface: 'B8:27:EB:2A:96:FA'
bt_auto_restart: False
active_scan: False
discovery: True
period: 30
use_median: False
decimals: 1
log_spikes: False
restore_state: False
report_unknown: False
devices:
# sensor
- mac: '54:EF:44:C4:82:83'
name: 'Motion Sensor 8283 (RTCGQ02LM)'
encryption_key: '4ad82cfd1d1c4796b9869502037dce5d'
temperature_unit: C
decimals: 2
use_median: False
restore_state: default
report_unknown: False
- mac: 'C4:3C:4D:6B:4F:F3'
name: 'Bedroom'
temperature_unit: F
- mac: 'B4:7C:8D:6D:4C:D3'
reset_timer: 35
# device tracker
- mac: 'D4:3C:2D:4A:3C:D5'
track_device: True
tracker_scan_interval: 20
consider_home: 180
# ibeacon
- uuid: 'e2c56db5-dffb-48d2-b060-d0f5a71096e0'
track_device: True
tracker_scan_interval: 20
consider_home: 180
0