Early beta (0.1.0), not yet for critical processes. See the roadmap
PNeX logo

Water the plant automatically

A relay and a small pump, driven by a flow when the soil gets too dry — and an alert when it does

Medium 45 min
#garden#flows

Before you start

Prerequisites

Finish these tutorials first.

  1. and

Parts & services

What this tutorial needs.

Actuators

  • 1×1-channel relay module, 5 V, opto-isolated
  • 1×Submersible water pump, 5 V

Wiring

  • 1×Silicone tube, 8 mm
  • 3×Dupont jumper wires (F-F, M-F)

Tools

  • 1×Soldering ironoptionalOnly if the pump has bare wires
Already covered by the prerequisites
  • Monitor a plant's soil moisture

    Capacitive soil moisture sensor v1.2 · Dupont jumper wires (F-F, M-F) · USB charger, 5 V 2 A · DHT22 temperature & humidity sensor

  • Register and flash your first board

    ESP32 DevKit (WROOM-32) / NodeMCU v3 (ESP8266) / ESP32-C3 SuperMini · USB data cable (not charge-only) · 2.4 GHz Wi-Fi network · Chrome or Edge (Web Serial)

  • Set up PNeX on a Raspberry Pi · depending on your choice

    Raspberry Pi 5 (8 GB) / Raspberry Pi 4 (4 GB+) · Official Raspberry Pi USB-C power supply · microSD card, 32 GB, high endurance · USB 3 SSD · Raspberry Pi Imager

  • Set up PNeX on a Linux VM · depending on your choice

    Linux VM or server (Debian/Ubuntu)

  • Get alerts by email or on your phone

    SMTP account (host, port, login) / ntfy app on your phone / Telegram bot token