Low cost ESP32 development board such as WEMOS ESP32 LOLIN32 Lite paired with a CO2 / VOC sensor CJMCU-811. The WEMOS LOLIN32 development board does not have all the same GPIO as other similar ESP32 boards.
Pinout
LOLIN32 | CJMCU-811 |
V3.3 | VCC |
22 (GPIO22) | SCL |
19 (GPIO19) | SDA |
GND | WAK |
ESPHome example
i2c:
sda: GPIO15
scl: GPIO2
sensor:
- platform: ccs811
eco2:
name: "CCS811 eCO2 Value"
tvoc:
name: "CCS811 Total Volatile Organic Compound"
address: 0x5A
baseline: 0x9AB9
update_interval: 60s