OpenSprinkler › Forums › Comments, Suggestions, Requests › California watering restrictions › Reply To: California watering restrictions
This can certainly be a possibility. Is this a statewide restriction? Can you provide any official information on this (in case it has information such as amount of rainfall to count for restriction, etc.)?
Since the weather adjustment script knows the location, it can check the rain status of the past two days from the data it already has and adjust the watering percentage to 0%. This would be applied regardless of the weather method being used (currently only Zimmerman).
Just FYI, the weather script is also open source and available here: https://github.com/opensprinkler/weather-adjustment. If anyone wants to fork the code, apply the above method, and pull request then I would be happy to review it and make it available.