Here's a link to a soil moisture project that some of my IoT students tackled last September. It might give you some ideas to get you started.