Moisture sensors need to be in direct contact with the soil. Some models measure the conductivity of the soil to detect the amount of water it contains. Other models use capacitive sensing.
It is important to understand the composition of the soil to make good use of the metered data.
Soil moisture sensors can be used to track irrigation needs, or even to directly control the irrigation system through the ezeio controller.