The soil moisture sensor I used for my Plant Monitoring was a huge fail. I used a cheap sensor from china that didn't seem to handle water so well!! The conductive foil has deteriated!
The new solution is a lot simpler. 2 wirer soldered to two nails.
Seem to work just fine.