How To Replace a Rain Sensor With Wireless a Soil Moisture Sensor
By Tim the Techno-Gardener
We’ve all seen sprinklers running in the rain and thought about the waste of water and money. Many sprinkler timers offer a rain sensor input to help solve this issue, but these sensors are outdated and unreliable.
Rain sensors, still marketed by big-name irrigation brands, consist of a stack of hygroscopic disks that expand when wet and contract when dry — somewhat like sponges. As they expand, they press down on a push-button switch, signaling the sprinkler controller to shut off. This century-old technology is anything but innovative.
The problem is that rain sensors have only a loose correlation with actual soil moisture. They’re often mounted on rooftops — far from the plants they're supposed to protect. Wind or heat can dry them prematurely, leading your sprinkler system to turn back on while the ground is still soaked.
Adjusting their sensitivity is also finicky. Some models offer notched disks or adjustable windows, but even with careful tuning, seasonal changes can throw them off.
The reality is, most people are overwatering because their sprinklers aren’t measuring real soil moisture. That’s where wireless soil moisture sensors come in.
Why Wireless Soil Moisture Sensors Are Better
Wireless soil moisture sensors, like the Vegetronix VH400, measure moisture directly in the soil. No more guessing. With this setup, you’ll connect the sensor to a WiFi VegeHub that transmits data wirelessly to a second hub equipped with a relay.
This relay mimics the output of a rain sensor. When the soil is moist, it closes the relay to stop your sprinkler controller from watering. It’s simple, reliable, and works much better than traditional methods.
How I Set It Up
My wireless soil moisture sensor is battery-operated and mounted on a PVC mast in the garden. The receiving hub with the relay is installed next to my sprinkler controller. Two wires run from the relay into the rain sensor input.
I used my phone to configure the hubs. The sensor hub sends data to the relay hub and optionally to VegeCloud for cloud-based graphing. I can also set the moisture threshold directly from my phone.
The whole setup took about 20 minutes and started saving water immediately. However, since sprinkler timers typically support only one sensor input for all zones, the savings potential is limited.
Parts List
I used these parts:
- 1x VH400-2M (VH400 Soil Moisture Sensor)
- 1x VG-HUB1S (VegeHub WiFi Sensor Reader)
- 1x VG-HUB1S-1R (VegeHub WiFi Controller with Relay)
- 1x BH-AA-9V (Battery holder, 9V, 6 AA)
- 1x BATTERY-BOX-6AA (Weather resistant battery boxes)
- 1x 9V Power Adapter
You can mount the Sensor Hub to a 3/4" PVC post using these optional brackets:
- 1x BRACK-PVC-BAT6A-0_75 (3/4" PVC mast mounting bracket for 6AA battery Box)
- 1x BRACK-PVC-50-0_75 (3/4" PVC mast mounting bracket for HUB1)
Are you ready to get started with Vegetronix technology. Click on this button, and it will add all of the parts you need for this kit into your shopping cart. Afterward you can add, delete and substitute parts from your cart to create the perfect solution. You can also swap out cable lengths, if you need longer cables.
Add Tree Monitoring Kit Parts to Cart
Upgrade for Zone-Specific Optimization
To truly optimize water use, I recommend upgrading to a modern sprinkler controller that supports individual sensor inputs per zone. For example, this 8-channel 24VAC controller I use allows each zone to be controlled by its own wireless moisture sensor.
There’s also a quad latching valve controller with four wireless sensor inputs. It’s energy-efficient enough to run on batteries, but I’ve connected mine to a small solar panel for continuous operation.
These systems often pay for themselves in just one growing season thanks to the water savings they provide.
Thanks for reading!
📩 Contact me if you need help setting up your rain sensor replacement.
