Introduction: Why Go Wireless?

The wireless approach has become the standard for domestic sensors. Battery-powered ESP32 projects offer flexibility and autonomy, eliminating the need for bulky power cords. In this article, we explore six concrete projects that demonstrate how wireless power can be more convenient and cost-effective.

Key Advantages

Extended battery life, ease of installation, and reduced risk of overheating thanks to a Li-Ion battery are the main benefits. Additionally, these projects integrate seamlessly with Home Assistant via ESPHome.

1. Door/Window Sensor with Magnetic Relay

This sensor uses a reed switch and an ESP32 to detect when a door or window opens. The module enters sleep mode until a magnet triggers the change.

  • ESP32 DevKitC
  • 18650 Li-Ion Battery
  • 3.3V Voltage Regulator

Optimizing Deep Sleep

Configure the wake‑up on the GPIO interrupt to limit consumption to 10 µA. This allows several months of autonomy.

2. Autonomous Wall-Mounted Thermometer

A DHT22 or DS18B20 sensor mounted on an exterior wall measures temperature and transmits data via MQTT. The ESP32 conserves energy by sleeping between readings.

  • DHT22
  • 3× AA Battery
  • 5V→3.3V Regulation Module

3. Wireless PIR Motion Detector

The ESP32 monitors a PIR sensor and sends a notification as soon as motion is detected. The module can be mounted on the ceiling or door.

PIR + ESP32 = Smart Surveillance

“The simplicity of wireless power opens up infinite possibilities for home security.”

4. Soil Humidity Sensor for Autonomous Gardening

A capacitive sensor measures humidity and triggers a relay if the level is too low. The system runs on battery, ideal for flower pots.

  • Capacitive Sensor
  • 18650 Li-Ion Battery

Alert Management

The ESP32 sends a message via Home Assistant whenever humidity drops below the threshold, while staying in sleep mode.

5. Entry Door Tracking System with Geolocation

By combining an ESP32 and a GPS module, this project alerts your smartphone when the door is opened or closed, even from afar.

  • NEO-6M GPS Module
  • 18650 Li-Ion Battery

6. Wireless RGB LED Light Controller

The ESP32 drives WS2812B LEDs and can be controlled via a Home Assistant interface or smartphone. The module is autonomous thanks to the battery.

RGB LED + ESP32 = Personalized Ambiance

“Autonomy allows you to create an atmosphere without wiring constraints.”

Conclusion: Switch to Wireless Today

These six projects demonstrate that battery power is not only viable but often the best solution for modern smart home automation. Choose the project that fits your needs, acquire the components, and integrate it easily with ESPHome and Home Assistant. Test your own wireless system today and share your results with the community!

Original source
Xda-developers
These 6 ESP32 projects prove that plugging everything into a wall was never the right answer
https://www.xda-developers.com/these-esp32-builds-prove-that-plugging-everything-into-wall-was-never-right-answer/ →