OpenSprinkler › Forums › Comments, Suggestions, Requests › WiFi rain or soil moisture sensor (ESP8266) › Reply To: WiFi rain or soil moisture sensor (ESP8266)
Ray
@Mike: the ‘wl’ variable is a global variable that gets applied to all. However, each program has a ‘Use Weather’ flag which allows you to select whether ‘wl’ will be applied to that program or not. If ‘Use Weather’ flag is off, that program is not affected by ‘wl’. Otherwise the station run times are all multiplied by ‘wl’. So it’s essentially a binary choice. Now, do you need each program to potentially use a different ‘wl’?
I should mention that it’s certainly also possible to use a script to change the station water time within each program (i.e. modify the program directly). This way you get the maximum flexibility.