OpenSprinkler › Forums › Comments, Suggestions, Requests › Request: Weather Adjustment Cutoff › Reply To: Request: Weather Adjustment Cutoff
October 27, 2015 at 7:31 pm
#40628
Anonymous
Inactive
if (prog.use_weather) {
byte wl = os.options[OPTION_WATER_PERCENTAGE];
water_time = water_time * wl / 100;
if (wl < 20 && water_time < 10) // if water_percentage is less than 20% and water_time is less than 10 seconds
// do not water
So if I change “if (wl < 20 && water_time <10)” to “if (wl < 20 && water_time < 600)” that would make it not run if percentage was less than 20 AND less than 10 minutes (600 seconds)?