6
|
1 esphome:
|
|
2 # todo: needs rename
|
|
3 name: air_quality_indoor
|
|
4 platform: esp32
|
|
5 board: lolin32
|
|
6
|
|
7 logger:
|
|
8 level: DEBUG
|
|
9 logs:
|
|
10 sensor: INFO
|
|
11 pmsx003: INFO
|
|
12 bme280.sensor: INFO
|
|
13 ccs811: INFO
|
|
14
|
|
15 wifi:
|
|
16 networks:
|
|
17 - ssid: !secret wifi_ssid
|
|
18 password: !secret wifi_password
|
|
19
|
|
20 ota:
|
|
21 platform: esphome
|
|
22 password: !secret ota_password_1
|
|
23
|
|
24 mqtt:
|
|
25 id: mqtt_client
|
|
26 broker: 'mqtt2.bigasterisk.com'
|
|
27
|
|
28 light:
|
|
29 - platform: status_led
|
|
30 id: "status_out"
|
|
31 pin: 2
|
|
32
|
|
33 i2c:
|
|
34 sda: 21
|
|
35 scl: 22
|
|
36 scan: True
|
|
37 id: bus_a
|
|
38
|
|
39 # GPIO13/RXD2 num 16 = pms tx (pin 5)
|
|
40 # GPIO15/TXD2 num 17 = pms rx (pin 4)
|
|
41 uart:
|
|
42 rx_pin: 16
|
|
43 baud_rate: 9600
|
|
44
|
|
45 sensor:
|
|
46 - platform: bme280_i2c
|
|
47 temperature:
|
|
48 name: "BME280 Temperature"
|
|
49 pressure:
|
|
50 name: "BME280 Pressure"
|
|
51 humidity:
|
|
52 name: "BME280 Humidity"
|
|
53 address: 0x76
|
|
54 update_interval: 30s
|
|
55 - platform: ccs811
|
|
56 eco2:
|
|
57 name: "CCS811 eCO2 Value"
|
|
58 tvoc:
|
|
59 name: "CCS811 Total Volatile Organic Compound"
|
|
60 address: 0x5A
|
|
61 update_interval: 60s
|
|
62 - platform: pmsx003
|
|
63 type: PMSX003
|
|
64 pm_1_0:
|
|
65 name: "Particulate Matter <1.0µm Concentration"
|
|
66 pm_2_5:
|
|
67 name: "Particulate Matter <2.5µm Concentration"
|
|
68 pm_10_0:
|
|
69 name: "Particulate Matter <10.0µm Concentration"
|