mirror of
https://github.com/esphome/esphome.git
synced 2024-12-18 03:24:54 +01:00
21 lines
417 B
YAML
21 lines
417 B
YAML
|
spi:
|
||
|
- id: spi_bme280
|
||
|
clk_pin: ${clk_pin}
|
||
|
mosi_pin: ${mosi_pin}
|
||
|
miso_pin: ${miso_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: bme280_spi
|
||
|
spi_id: spi_bme280
|
||
|
cs_pin: ${cs_pin}
|
||
|
temperature:
|
||
|
id: bme280_temperature
|
||
|
name: BME280 Temperature
|
||
|
humidity:
|
||
|
id: bme280_humidity
|
||
|
name: BME280 Humidity
|
||
|
pressure:
|
||
|
id: bme280_pressure
|
||
|
name: BME280 Pressure
|
||
|
update_interval: 15s
|