ESP32 script to measure the CO2 concentration and temperature using a MHZ19 infrared sensor connected to the ESP32 via UART and submit it to a thinger.io endpoint over WiFi. Can be used to monitor the air quality in rooms to trigger other events like automatic ventilation.
- ESP32 Wroom
- MHZ19 Infrared CO2 Sensor