rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

WeatherAdjust with schedule interval more than 2 days #138

Open taHC81 opened 5 years ago

taHC81 commented 5 years ago

Hello, I just realized if I set schedule with interval like 3 days, WA still calculates with a conditions from previous day only. It may lead to over-watering if today minus 2 days was heavy precipitation, but yesterday was hot and dry. Also the oppositely less watering when d-2 was very hot and d-1 thunderstorm with some extra precipitation. Have no idea how to fix that - as I have custom weather plugin, I can provide any meteo data I need (like 2 or 3 day sum), but I have to change code every time I change interval... This is mostly a note, because fix would be really difficult.