-
Notifications
You must be signed in to change notification settings - Fork 11
/
bme280.yaml
30 lines (28 loc) · 858 Bytes
/
bme280.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Configuration for the BME280 temperature, humidity and pressure sensor
#
# Used substitutions:
#
# - i2c_pin_sda: SDA pin of the I²C bus for this sensor
# - i2c_pin_scl: SCL pin of the I²C bus for this sensor
# - bme280_i2c_address: I³c address of the sensor
# - bme280_update_interval: update interval of the sensor
# - bme280_offset_temperature: offset of the temperature, e.g. "-1"
# - node_name: name of the device
i2c:
sda: ${i2c_pin_sda}
scl: ${i2c_pin_scl}
sensor:
- platform: bme280
temperature:
id: t_value
name: "${node_name} temperature"
filters:
- offset: ${bme280_offset_temperature}
humidity:
id: h_value
name: "${node_name} humidity"
pressure:
id: p_value
name: "${node_name} pressure"
address: ${bme280_i2c_address}
update_interval: ${bme280_update_interval}