I have a weather station in my yard, using weeWX to run a website on my LAN with current and historical weather data. Rather than having OpenSprinkler rely on an active internet connection for weather adjustments, I wanted to be able to get the required data from the local weeWX install. So after reading through the code that drives the OpenSprinkler-Weather service, I’m attempting to provide the same information in a weeWX skin.
The project is still in a pretty rough state. Not all information is available (most importantly, weeWX does not support any timezone operations), and setting adjustment options and sensitivity in the OpenSprinkler UI is currently ignored. But it does seem to be working so far.
Cool, would be interested to see how it compares to OpenSprinkler-Weather adjustments in other areas. 🙂
I’ve uploaded a new version that lets you set Zimmerman Method base parameters and sensitivity in the skin.conf. That’s the best compromise I have for allowing customisation without generating fully dynamic pages (which I may still do, if I can remember how CGI works).
Nice! I have been getting unreliable results from the default service since it moved to OpenWeatherMap, with watering levels close to zero when my stations run around sunrise, like this thread.
Just a little gotcha, which I only worked out from reading the source, that the files have to be served from http://web-server/, no HTTPS, no subdirectories. I had to put some symlinks into my web server at the top level to point to my weewx installation.
Zimmermann adjustment works well enough for me, but weewx knows about evapotranspiration. I might have a play with that.