mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 19:18:09 +01:00
19 lines
371 B
YAML
19 lines
371 B
YAML
|
spi:
|
||
|
- id: spi_bmp280
|
||
|
clk_pin: ${clk_pin}
|
||
|
mosi_pin: ${mosi_pin}
|
||
|
miso_pin: ${miso_pin}
|
||
|
|
||
|
sensor:
|
||
|
- platform: bmp280_spi
|
||
|
spi_id: spi_bmp280
|
||
|
cs_pin: ${cs_pin}
|
||
|
temperature:
|
||
|
id: bmp280_temperature
|
||
|
name: Outside Temperature
|
||
|
pressure:
|
||
|
name: Outside Pressure
|
||
|
id: bmp280_pressure
|
||
|
iir_filter: 16x
|
||
|
update_interval: 15s
|