A battery-powered temperature, humidity and pressure sensor that joins any smart home over Matter — and runs for 1.5+ years on a charge.
This is a small, rechargeable environmental sensor that reports temperature, humidity and air pressure to your smart home using Matter over Thread — so it drops straight into Apple Home, Google Home, Alexa or Home Assistant with no bridge or cloud account. Built around an ESP32-C6 SuperMini in a custom 3D-printed case, it sleeps almost all the time and only wakes its radio when something actually changes, which is how a single 1000 mAh battery lasts well over a year.
- Matter over Thread — a standard smart-home device that works with Apple Home, Google Home, Alexa and Home Assistant out of the box.
- 1.5+ year battery life — the chip is in deep sleep roughly 99% of the time, checking the sensor only every 15 minutes.
- Adaptive reporting — it only powers up the radio when the temperature moves more than 0.8 °C, humidity more than 3%, or pressure more than 2 hPa — otherwise it stays silent and saves power.
- Daily heartbeat — even with no change, it reports at least once every 24 hours so you always know it's alive.
- Rechargeable — an on-board TP4056 USB-C charging circuit tops up the LiPo cell.
- Simple pairing and reset — a status LED walks you through a 5-minute pairing window on first boot, and a held button does a clean factory reset when you move networks.
- Custom enclosure — a 3D-printable case (STL included) houses the board and battery.
| Part | Choice |
|---|---|
| Microcontroller | ESP32-C6 SuperMini (Matter + Thread radio built in) |
| Sensor | GY-BME280 over I²C (temperature, humidity, pressure) |
| Power | 3.7 V 1000 mAh LiPo + TP4056 USB-C charger with protection |
| Case | Custom 3D-printed enclosure (PLA or PETG) |
The firmware keeps the last reported readings in RTC memory that survives deep sleep. On each 15-minute wake it reads the sensor, compares against those values, and only brings the Thread radio up (with a short warm-up and cool-down) if a threshold was crossed or 24 hours have passed. The onboard LED doubles as a status indicator during pairing and factory reset.
- Arduino IDE setup — add the ESP32 boards URL
https://espressif.github.io/arduino-esp32/package_esp32_index.json, install esp32 by Espressif, and install the Adafruit BME280 library. - Critical settings — Board: ESP32C6 Dev Module, USB CDC On Boot: Enabled, Partition Scheme: Huge App (3MB No OTA/1MB SPIFFS) (the Matter library won't fit otherwise).
- Flash
Sensor.inoover the ESP32's USB port. - Pair — on first boot the LED turns solid blue; you have 5 minutes to add it with the Matter QR code shown in the Serial Monitor.
Factory reset: unplug and replug, then hold the Boot button for 3 seconds while the LED is green (the first 10 seconds of boot).
ESP32-C6 · Arduino · Matter over Thread · BME280 · TP4056 · 3D printing
MIT.
