If distance/reach is an issue, one may consider a LoRa based Soil Sensor.
There is a community using these. I have only recently been trying these out, so can not yet attest to how well they can hold up to weather, water, etc. but they have been sprayed with a waterproof coating, which I believe is the manufacturer’s own special sauce.