The sensor/switch function is independent of weather algorithm. Sensor/switch controls whether a programs runs or not. The weather algorithm controls the water duration. Currently the firmware does not support what you need (i.e. program starts when sensor 2 turns on and ends when sensor 2 turns off). You can certainly implement this function yourself, the entire code is open-source.