Hi out there!
I like to share how I am trying to automate my garden irrigation based on a Sonoff TH10 and capacitive soil moisture sensors:
First of all I am still rather news to this. So it can be very well so that I didn’t take the shortest route to the outcome. I needed a lot of reading and trial and error to get where I am today and I am still not where I want to be!
First of all I am running HA on a raspberry PI4 with a 64GB SD card. It’s the set-up I choose when I started my home automation just less the a year ago. Very much a noob still.
I am working a lot with Sonoff devices and they have proven to be quite reliable. I just integrated them (various types of switches, sensors and even cameras) on the original software. I have automation for the heating, pool, alarm, electricity monitoring etc. and my latest project is irrigation automation.
I noticed via my electricity consumption monitoring that the irrigation (especially the over-irrigation) was one of the most expensive consumers of energy and water. Hence I decided to control it.
Let me explain how the physical part is set up: I have a borehole at about 70m deep with a 380v pump automatically switching on a high and low level floaters in a storage tank. The storage tank is connected with a booster pump keeping pressure on the irrigation system and the irrigation is controlled by some old fashion battery operated Rainbird controllers which control 10 sections in the garden.
The Rainbirds are underground, have no WiFi or cloud capabilities and out of reach of the WiFi or RF433mhz as well.
So what I decided to do is set fixed timings for irrigation with the Rainbird and supply pressure with the booster pump whenever irrigation was required :
That are the basics and it is working fine. I keep an eye on the forecast and switch the pump accordingly. But since I am out of the house sometimes for months I wanted a more scientific control of the irrigation. I want to know if the soil is dry yes or no and whether I need to irrigate. Hence the project was started (to be cont’d)