mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 14:34:54 +01:00
20 lines
361 B
YAML
20 lines
361 B
YAML
|
spi:
|
||
|
- id: spi_bme280
|
||
|
clk_pin: 16
|
||
|
mosi_pin: 17
|
||
|
miso_pin: 15
|
||
|
|
||
|
sensor:
|
||
|
- platform: bme280_spi
|
||
|
cs_pin: 12
|
||
|
temperature:
|
||
|
id: bme280_temperature
|
||
|
name: BME280 Temperature
|
||
|
humidity:
|
||
|
id: bme280_humidity
|
||
|
name: BME280 Humidity
|
||
|
pressure:
|
||
|
id: bme280_pressure
|
||
|
name: BME280 Pressure
|
||
|
update_interval: 15s
|