rszimm / sprinklers_pi

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

Edited weather baseline in Weather.cpp not reflecting properly in the adjustments #73

Closed 10481 closed 8 years ago

10481 commented 8 years ago

The baselines in the code by default doesn't really suit my climate very well. During a recent heatwave, it was okay, but once temperatures returned to our average summer levels, the results of the weather adjustment cut the watering down to ~30%. Even a seasonal adjustment wouldn't really help that.

I created a spreadsheet with the calculations from the code and put in my annual average temp and humidity for the baselines so that I could test results throughout the year. By changing the baseline temp to 56 and humidity to 72, everything looks like it would work just fine in calculations, however, nothing has changed in the interface when it pulls the Wunderground info. It still shows the exact same results of about 30% after weather adjustment when my calculations show it should be more like ~130%

I did a factory reset for the program, but that still didn't help. Is this info stored somewhere that needs to be flushed?

Thanks

10481 commented 8 years ago

I was finally able to get the values updated by reinstalling the program over itself and then rebooting.