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