firecrest/firmware/components/sensors.yaml

21 lines
628 B
YAML

sensor:
- platform: bme280_i2c
i2c_id: i2c_bus # shared bus declared in display.yaml — GPIO8 SDA / GPIO9 SCL
address: 0x76 # BME280 default; try 0x77 if SDO is pulled high
update_interval: 30s
temperature:
name: "Ambient Temperature"
id: bme280_temperature
on_value:
then:
- lvgl.label.update:
id: home_temp_label
text:
format: "%.1f °C"
args: ["x"]
humidity:
name: "Ambient Humidity"
id: bme280_humidity
pressure:
name: "Ambient Pressure"
id: bme280_pressure