41 lines
No EOL
834 B
YAML
41 lines
No EOL
834 B
YAML
esp32:
|
|
board: esp32-c3-devkitc-02
|
|
framework:
|
|
type: esp-idf
|
|
|
|
i2c:
|
|
sda: GPIO8
|
|
scl: GPIO9
|
|
|
|
uart:
|
|
- id: uart_mhz19
|
|
rx_pin: GPIO21
|
|
tx_pin: GPIO20
|
|
baud_rate: 9600
|
|
- id: uart_pm1006
|
|
rx_pin: GPIO10
|
|
baud_rate: 9600
|
|
|
|
sensor:
|
|
- platform: bme280_i2c
|
|
temperature:
|
|
name: "${friendly_devicename} Temperatuur"
|
|
oversampling: 1x
|
|
pressure:
|
|
name: "${friendly_devicename} Luchtdruk"
|
|
oversampling: 1x
|
|
humidity:
|
|
name: "${friendly_devicename} Luchtvochtigheid"
|
|
oversampling: 1x
|
|
address: 0x76
|
|
update_interval: 60s
|
|
- platform: mhz19
|
|
co2:
|
|
name: "${friendly_devicename} Co2 Concentratie"
|
|
update_interval: 60s
|
|
id: uart_mhz19
|
|
- platform: pm1006
|
|
id: uart_pm1006
|
|
pm_2_5:
|
|
name: "${friendly_devicename} 2.5µm Concentratie"
|
|
id: pm25 |