Battery Powered CO₂ Sensor Enclosure (ESP32 + SCD41 + 2.13in epaper) based on ESPHome (Home Assistant)
This enclosure is designed for a compact, battery-powered CO₂ sensor with an ePaper display, focused on long battery life and a clean, minimal look.
The sensor automatically measures indoor air quality and shows the current CO₂ level with temperature and humidity on the display. Sensor is connected to the HomeAssistant and uploads the values to the HA.
With actual version of ESPHome code (link at the bottom of the text) it refreshes values on the eInk every 5 minutes and connects to HA every 15 minutes. In this mode with 2x 18650 3200 mAh is battery lifetime about 3 months. Code details are described at github.
Print profile
- Print profile doesn't need the AMS. HASS logo and the texts are only in the 1st layer, so it is possible to print with one manual change of the filament.
- Includes two versions of the back cover:
- V1 hanging directly on the wall on one screw, no arretation on position
- V2 with separate plate mounted by 2 screws on the wall with arreatation on the right position
What this enclosure is for
- Indoor CO₂ monitoring (bedroom, living room, office)
- Battery-powered operation – no permanent USB cable
- Wall-mounted or free-standing use
- Clean and discreet design suitable for living spaces
Key highlights
- Designed for ESP32 + Sensirion SCD41
- Space for a 2.13" ePaper display (WeActStudio)
- Optimized airflow for accurate CO₂ readings
- Easy access for charging and maintenance
- model contains 2 versions of back cover:
- V1 for one screw directly in the wall without any back plate
- V2 with separate wall mounted back plate
Smart behavior
- The device sleeps most of the time to save battery
- The display keeps the last reading without power
- When the battery is low, it shows a Low Battery indicator
- Automatically resumes normal operation after charging
- Firmware updates can be done wirelessly (OTA)
You don’t need to interact with it every day – it just works.
Ideal for
- Air quality awareness without distractions
- Smart homes using Home Assistant
Used Components:
ESP Home code:
CO2-sensor-for-Homeassistant/README.md at main · OK2CME/CO2-sensor-for-Homeassistant