Homeowner Automates Systems Using Seven ESP32 Sensors Under $10
A Joliet resident replaced expensive commercial gear with DIY electronics, relying on ESP32 boards to manage doors, weather, and water tanks.
By Harper Collins ·

A local resident has replaced expensive smart home equipment with seven inexpensive sensors, each costing less than $10. The project centers on ESP32 microcontrollers paired with Home Assistant, creating a fully automated system without relying on proprietary hardware. According to the builder, this approach removes the need for costly devices while maintaining full control over household automation.
The setup includes an electromechanical magnetic reed switch for security. The sensor connects to an ESPHome board and operates without a battery or internet connection. This design allows the system to alert the homeowner if the back door or windows remain open. The builder noted that the device continues to function even when the network is down, providing a reliable layer of security.
A temperature and humidity sensor feeds data directly into Home Assistant. This information is displayed on a weather card for the family to check before leaving the house. The builder also combines this data with Pirate Weather for local forecasts and feeds it into a locally hosted large language model. The goal is to generate better clothing recommendations and help plan room renovations to prevent mold.
Presence detection relies on a Passive Infrared, or PIR, sensor. The builder initially powered the device from a 3.3V pin instead of the required 5V pin, which caused early setup issues. After correcting the wiring, the sensor works with ESPHome firmware to trigger presence-based automations. It also alerts the homeowner when stray dogs enter the garden.
A Light Dependent Resistor, or LDR, controls indoor lighting based on outdoor brightness. This method replaces fixed time-based schedules, allowing for more natural transitions at sunrise and sunset. The builder also uses the brightness data to adjust camera settings, including aperture, ISO, and shutter speed, for photography.
Sound detection sensors monitor the washing machine by picking up specific hums and rattles. Home Assistant sends a notification when the laundry cycle completes. To reduce false positives caused by neighbors' music, the builder pairs this with the PIR sensor to create a DIY security system. This combination helps distinguish between laundry noise and external activity during the night.
A water level depth sensor monitors storage tanks to prevent overflow. The system alerts the homeowner to shut off the pump if the water level gets too high. The builder, who lives in a flood-prone area, also uses the sensor to track water accumulation outside the home. This setup has saved gallons of water by preventing tank overflows during heavy rains.
A soil hygrometer measures moisture levels in garden plant beds. The sensor reports data to help the family determine how much water the plants need. The builder's mother, the primary gardener, uses this information to avoid overwatering. The current challenge is protecting the sensor from splashes, so the builder is exploring 3D printing options for custom enclosures.






