Mercurial > code > home > repos > micro
comparison air-quality/ft-air-quality.yaml @ 20:ec7e7d2c763f
aq sync and refactors; start hw.md
author | drewp@bigasterisk.com |
---|---|
date | Tue, 13 Aug 2024 22:38:39 -0700 |
parents | ft-air-quality.yaml@1809be0dbf0a |
children |
comparison
equal
deleted
inserted
replaced
19:075b7e4854ba | 20:ec7e7d2c763f |
---|---|
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 # pms pin 1 to 5V | |
40 # pms pin 2 to gnd | |
41 # pms pin 3 NC | |
42 # original setup | |
43 # GPIO13/RXD2 num 16 = pms tx (pin 5) | |
44 # GPIO15/TXD2 num 17 = pms rx (pin 4) | |
45 # or on T-Display ESP32, | |
46 # pms tx pin 5 to esp 13 | |
47 # pms rx pin 4 tp esp 12 | |
48 uart: | |
49 rx_pin: 16 | |
50 baud_rate: 9600 | |
51 | |
52 sensor: | |
53 - platform: bme280_i2c | |
54 temperature: | |
55 name: "BME280 Temperature" | |
56 pressure: | |
57 name: "BME280 Pressure" | |
58 humidity: | |
59 name: "BME280 Humidity" | |
60 address: 0x76 | |
61 update_interval: 30s | |
62 - platform: ccs811 | |
63 eco2: | |
64 name: "CCS811 eCO2 Value" | |
65 tvoc: | |
66 name: "CCS811 Total Volatile Organic Compound" | |
67 address: 0x5A | |
68 update_interval: 60s | |
69 - platform: pmsx003 | |
70 type: PMSX003 | |
71 pm_1_0: | |
72 name: "Particulate Matter <1.0µm Concentration" | |
73 pm_2_5: | |
74 name: "Particulate Matter <2.5µm Concentration" | |
75 pm_10_0: | |
76 name: "Particulate Matter <10.0µm Concentration" |