Low-cost, Plug-and-play, and Customizable Air Quality Monitor System Built on ESPHome (No Soldering Required)

This solution uses Home Assistant to monitor the air quality in a room, easy-to-build, and no soldering is needed. The project uses an Adafruit QT (You can replace it with XIAO ESP32C3) and Grove SEN54.

It will be step-by-step instructions for how to set up Home Assistant and ESPHome on the XIAO-compatible board, how to connect the environment detection sensor, and how to configure the device to send air quality data to Home Assistant. Once the monitor is built and configured, it can be used to monitor the air quality in a room in real-time, and the air quality data can be displayed in Home Assistant, allowing you to track changes over time and take action to improve the air quality in your home.

Seeed Hardware: Seeed Studio XIAO ESP32C3 (recommended), Grove – SEN54 All-in-one environmental sensor – VOC, RH, Temp, PM1.0/2.5/4/10 with proprietary algorithms, HVAC, Air Purifier

Software: ESPHome、Arduino IDE

Industry: Smart Home


Indoor air quality can have a significant impact on our health and well-being. Poor air quality can lead to respiratory problems, allergies, and other health issues, especially for people who spend a lot of time indoors, such as children, the elderly, and those with pre-existing health conditions.

The Challange

Building an air quality monitoring solution requires careful consideration of compatibility, security, scalability, usability, cost, and privacy. By keeping these factors in mind, you can build a smart home system that is safe, secure, and functional, and that meets the needs of you and your household.

  • Compatibility: Ensure that the devices you choose are compatible with each other and with the smart home platform you plan to use. This will help ensure that all devices can communicate with each other and can be controlled through a single interface;
  • Security: Smart home devices are connected to the internet and can be vulnerable to cyber-attacks. Ensure that any devices you choose have strong security features, such as encryption, two-factor authentication, and regular software updates;
  • Scalability: Consider how easy it will be to add new devices or expand your smart home system in the future. Look for devices that are easy to install and integrate with your existing system;
  • Usability: Consider how easy it will be to use the smart home system and whether it will be accessible to all members of your household. Look for devices with intuitive interfaces and consider adding voice control features to make it easier to control devices;
  • Cost: Smart home devices can be expensive, so consider your budget when selecting devices. Look for devices that provide the features you need at a price point that is reasonable for you.

The Solutions

1.Use XIAO ESP32C3 which is already compatible with ESPHome

XIAO ESP32C3’s configuration with ESPHome can be divided into several steps:

  • Download the sensor library to your Home Assistant
  • Keep the XIAO ESP32C3 and Home Assistant on the same LAN
  • Change the XIAO ESP32C3 configuration yaml file
  • Upload firmware to XIAO ESP32C3

Please check more details on Seeed’s wiki page.

2.No need for Soldering, connect the All-in-one Environmental sensor with XIAO via Grove Connector

All the hardware can be connected with Seeed’s Grove connector, which allows for easy plug-and-play functionality without worrying about wiring or soldering. Grove sensor is a special product line offered by Seeed, it offers the following advantages:

  • wide range of compatible modules: a wide range of sensors are offered to cover different detection needs, light, temperature, humidity, light, motion, proximity, humidity, biometric, and sound, to name a few
  • easy prototyping: grove connector makes it easy to prototype, without needing to spend a lot of time on wiring and setup.
  • simple connections: grove connector uses a simple, standardized interface that makes it easy to connect multiple components to a project without needing to worry about compatibility or wiring
  • Flexibility: you can easily add or remove components from their projects as needed.

The Results

This project aims to show how easy it is for anyone to build a smart home air quality monitoring system. By demonstrating the simplicity of building a DIY air quality monitor, we hope to encourage more people to take control of their indoor air quality and enjoy the benefits of a more connected and intelligent home. By monitoring air quality in real time, homeowners can make informed decisions about ventilation, cleaning products, and other factors that affect air quality, leading to a healthier and more comfortable living environment. Overall, this project is a step towards empowering individuals to manage their homes in a smarter and more scientific way.

More Information

Learn More Project Details on Hackster: XIAO ESP32C3 accesses Home Assistant via ESPHome service

Seeed Studio XIAO Series

Please feel free to reach out to [email protected] for any inquiries or if you’d like to engage in further project discussions. Your questions and interest are welcomed.

About Author


June 2023