diff ft-air-quality.yaml @ 6:477883ce71ec

more boards
author drewp@bigasterisk.com
date Thu, 27 Jun 2024 16:25:24 -0700
parents
children 1809be0dbf0a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ft-air-quality.yaml	Thu Jun 27 16:25:24 2024 -0700
@@ -0,0 +1,69 @@
+esphome: 
+  # todo: needs rename 
+  name: air_quality_indoor
+  platform: esp32
+  board: lolin32
+
+logger:
+  level: DEBUG
+  logs:
+    sensor: INFO
+    pmsx003: INFO
+    bme280.sensor: INFO
+    ccs811: INFO
+
+wifi:
+  networks:
+    - ssid: !secret wifi_ssid
+      password: !secret wifi_password
+  
+ota:
+  platform: esphome
+  password: !secret ota_password_1
+
+mqtt:
+  id: mqtt_client
+  broker: 'mqtt2.bigasterisk.com'
+                                               
+light:
+  - platform: status_led
+    id: "status_out"
+    pin: 2
+
+i2c:
+  sda: 21
+  scl: 22
+  scan: True
+  id: bus_a
+        
+# GPIO13/RXD2 num 16 = pms tx (pin 5)
+# GPIO15/TXD2 num 17 = pms rx (pin 4)
+uart:
+  rx_pin: 16
+  baud_rate: 9600
+
+sensor:
+  - platform: bme280_i2c
+    temperature:
+      name: "BME280 Temperature"
+    pressure:
+      name: "BME280 Pressure"
+    humidity:
+      name: "BME280 Humidity"
+    address: 0x76
+    update_interval: 30s
+  - platform: ccs811
+    eco2:
+      name: "CCS811 eCO2 Value"
+    tvoc:
+      name: "CCS811 Total Volatile Organic Compound"
+    address: 0x5A
+    update_interval: 60s
+  - platform: pmsx003
+    type: PMSX003
+    pm_1_0:
+      name: "Particulate Matter <1.0µm Concentration"
+    pm_2_5:
+      name: "Particulate Matter <2.5µm Concentration"
+    pm_10_0:
+      name: "Particulate Matter <10.0µm Concentration"