🏆 Butlr Wins 2025 Innovation by Design Awards and Expands into Corporate Lab Spaces
Meet Butlr

Discover what spatial intelligence can do for you.

Submit
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

This guide helps hobbyists and homelab builders create reliable sensor projects for temperature, humidity, CO2, and simple motion/security using ESP32 and Raspberry Pi. No prior hardware experience required — focus on simple, privacy-friendly setups that scale.

Quick parts overview (common to most projects)

Microcontrollers and SBCs

Sensors

Connectivity and power

Tools and accessories

Project 1 — Temp & Humidity Monitor

Parts list

Hardware and wiring (high level)

Connect sensor VCC to 3.3V, GND to ground, SDA to ESP32 SDA pin, SCL to ESP32 SCL pin. Use short wires for stable I2C readings and add a small pull-up resistor if your breakout lacks one. Mount the sensor through a vented hole in an enclosure to avoid heat buildup.

Integrating with Home Assistant and MQTT

Configure the ESP32 to publish measurements to an MQTT broker on a regular interval (for example, every 30–60 seconds). In Home Assistant, add MQTT sensor entities for temperature and humidity and configure thresholds, automations, and logs. Keep MQTT and Home Assistant local to avoid cloud dependencies.

Expected cost and build time

Advanced tips

Project 2 — Smart CO2 Monitor

Parts list

Wiring and calibration notes

SCD4x communicates over I2C; wire similarly to temp sensors and power from 3.3V or the board’s recommended supply. Follow the manufacturer’s warm-up/conditioning procedure on first use and allow the sensor to run for a few hours before relying on readings. Periodically perform baseline checks in well-ventilated outdoor air if recommended.

Placement and use cases

Place CO2 sensors at breathing height in rooms you occupy most often. Use CO2 thresholds as a proxy for ventilation needs and combine with automation to trigger HVAC or fans when CO2 rises above set points.

Expected cost and build time

Advanced notes

By clicking "Accept all cookies", you agree to store cookies on your device to improve site navigation, analyze the site and support itour marketing efforts. See our Privacy Policy for more information.