A watering valve doesn't need to be replaced wholesale to gain network control. In a project shared on Hackaday.io, Giulio Pons modified a Claber Aquauno valve so a Wemos Wi-Fi board could operate it, with a capacitive moisture sensor alongside it. His goal was straightforward: water balcony plants while away on vacation.
Created on October 20, 2019, the project combines an existing irrigation mechanism with a small controller and a homemade Android app. It's a compact example of an IoT retrofit, with the useful details concentrated at the boundaries between plumbing, power and networking.
A relay connects the controller to the valve
Pons reports using a 5 V relay to open and close the solenoid valve, with firmware written in the Arduino IDE. The capacitive moisture sensor measures moisture in a plant container, adding information about the watering process rather than relying solely on elapsed time.
That distinction matters, but it shouldn't be stretched into a claim of fully automatic irrigation. The overview describes remote valve control and moisture sensing; it doesn't spell out a moisture threshold, a closed-loop watering algorithm or measured results. The sensor is part of the build, while the precise decision-making logic remains unspecified.
The power supply needs somewhere to put its heat
A 9 V wall supply powers the system through a 7805 voltage regulator. Pons fitted the regulator with a heat sink to deal with heat, and explicitly notes that the battery symbol in his schematic represents the wall-powered supply—not an actual 9 V battery.
The heat sink is a small but consequential detail. A linear regulator sheds energy as heat while dropping the supply voltage, so supplying a Wi-Fi controller and relay involves more than choosing the right output voltage. Pons's account records that thermal concern, though it doesn't provide current measurements or operating temperatures.
Remote access goes through the home router
The Android app was made with Adobe PhoneGap, packaging HTML, CSS and JavaScript into an APK. To reach the Wemos when his phone wasn't on the home Wi-Fi, Pons configured the router to forward an external port to the board's local IP address.
That provides a direct route home without a described cloud service, but internet reachability and access protection are separate jobs. The overview doesn't document authentication or encrypted transport, so its port-forwarding arrangement shouldn't be treated as a complete security design to copy unchanged.
For anyone extending this retrofit, the most useful next step would be to define its unattended behavior: what closes the valve if communication fails, how long watering may continue, and what happens when the moisture reading is implausible. Remote control solves the problem of reaching the valve; dependable unattended watering also needs clear limits on what the valve is allowed to do.