Study of In-plant Sensing for the Precise Control of Water Use in Agriculture