The document has the following conditional for the control of the water pumps:
if (value>550)
digitalWrite(IN1, LOW);
}
else
{
digitalWrite(IN1, HIGH);
}
This will turn on the pump if the value from the moisture sensor goes below 550. However, when reading values from the moisture sensor, it appears that lower values are more moist, e.g. the ambient air has a reading of 573 and water a reading of 264. If this is correct, the conditional should be reversed, where a lower values turns on the pump and higher value shuts it off.