Moisture content of field can be easily analyzed and depending on the moisture content water from the pump can be released.
The biggest challenge we ran into was finding ports of Node MCU. We eventually decided to replace Node MCU with Arduino Uno. The new configuration of Arduino Uno was quite challenging and complex.
Technologies used
Discussion