Home🏠 Smart Home › Plant Pal

Plant Pal — ESP32 Smart Watering

Keep your plants alive without thinking about it. Soil-moisture-triggered watering, no app required.

★★★★☆ 4.6 (184 reviews)

30-second demo: dry soil triggers pump, LED turns green when wet
TL;DR: An ESP32-C3 reads a capacitive soil-moisture sensor every 15 minutes and drives a mini pump when the soil drops below 30% — all logged to Home Assistant over Wi-Fi.

Step 1 Unbox & Check the BOM

Verify every part against the Bill of Materials on the right. The ESP32-C3 arrives pre-flashed with the Plant Pal firmware.

Step 2 Wiring

Insert the capacitive sensor into the soil up to the line marked on the probe. Connect the pump to the relay output.

A0Moisture Sensor OUT
GPIO 5Pump Relay IN
3V3Sensor VCC   GNDSensor GND

Step 3 Flash Firmware (already done)

Pre-flashed with the ESPHome config below. The pump triggers when moisture < 30% and stops at 60% to avoid overwatering.

YAML — ESPHome
sensor:
  - platform: adc
    pin: A0
    name: Soil Moisture
    filters: median
switch:
  - platform: gpio
    pin: 5
    name: Water Pump

Step 4 Mount & Calibrate

Place the reservoir next to the pot. Run the config's calibration step once with dry soil to set your 0% reference, then with a fully-wet sample for 100%.

Step 5 Connect to Home Assistant

HA auto-discovers the moisture sensor and pump switch. Add a gauge card for moisture and a button for manual watering. Set an automation to alert you when the reservoir runs low.

Troubleshooting & FAQ

Readings drift over a few days

Capacitive sensors don't corrode but the soil-air boundary moves. Re-run calibration every 2 weeks, or move the probe 1cm deeper.

Pump never triggers

Check the 30% threshold matches your soil type — sandy soil dries faster, raise the threshold to 40% in the YAML.

Can it run on batteries?

Yes — deep-sleep between reads draws <100µA. A single 18650 cell lasts ~3 months between charges.

🏠 Smart Home

Plant Pal Kit

$24.99

ESPHomeArduinoMicroPy
PartModelQtyPriceStatus
MicrocontrollerESP32-C31$6.99In Stock
Moisture sensorCAP-SMS-011$4.00In Stock
Mini pumpMP-3V-1201$3.00In Stock
RelaySRD-05VDC1$3.00In Stock
Silicone tubeST-6mm-1m1$2.00In Stock
USB-C cableUSB-C 1m1$6.00In Stock
Kit Total$24.99
🔧Every kit tested before shipping
↩️30-day no-questions return. We pay shipping.
📂Code & hardware files on GitHub
💬Built & reviewed by r/esp32 community
$24.99