OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Trouble with Zimmerman Method › Reply To: Trouble with Zimmerman Method
Okay, I believe this has been fixed. Please check your OpenSprinkler and see if the correct water level is being shown now.
Some detail: The script was resolving the weather station latitude and longitude to calculate sunrise / sunset times however later in the script the location gets swapped from whatever is provided to the latitude and longitude. This was done before PWS and ICAO locations were supported to allow a uniform query. Of course, this isn’t ideal when using a specific weather station and is also what caused the issue you are both seeing. I have since updated the script (code here: https://github.com/opensprinkler/weather-adjustment) to check if a PWS or ICAO is being used before just changing to latitude and longitude.