Did a science experiment: measured soil moisture with an inexpensive (as little as $2 apiece) capacitive sensor wired to a cheap Arduino computer which communicates wirelessly with our home hub. If I deploy this system, the biggest expense will be waterproofing the circuitry.