OpenSprinkler Forums OpenSprinkler Unified Firmware Difference between local weather service WL and Opensprinkler logged WL


Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #61675

    matthew garton

    Like many I have been monitoring what has been happening with the changes since weather underground and I think the team is doing a great job. This is particular evident in this post;

    My own research is showing inconsistency in watering percentage logged by OpenSprinkler and retrieved through the API and the data returned by the weather service.

    The specifics are this – the opensprinkler log is showing the watering level at around 3% but the weather service is showing that it should be more like 87%. This discrepancy is not explainable by me after I have tried checking the obvious things like same location, temperature, humidity, and rainfal sensitivity setting in the Zimmerman method.

    Here is what I have done:
    I am using a RPI 3
    I have setup the local weather service using these instructions:

    I am able to get a result on my local system by calling this url through a browser:,151.06980&wto=%22h%22:100,%22t%22:100,%22r%22:100,%22bh%22:70,%22bt%22:59,%22br%22:0
    The result looks like:

    The key being that the scale setting returned shows: 87%.

    In the opensprinkler UI I set it up to use the local weather service ( attachment 1). For any one readin who does not know this was done by going to :
    Perhaps the only odd thing about this setup is the use of localhost rather than IP but the UI is happy about and shows that weather service calls are successful.

    After a couple of days I started to compare the results. First I pulled the data out of opensrpinkler’s log:…..&hist=0&type=wl
    This returns:
    [ [ 0, ‘wl’, 7, 1563235927 ],
    [ 0, ‘wl’, 6, 1563239529 ],
    [ 0, ‘wl’, 6, 1563243132 ],
    [ 0, ‘wl’, 6, 1563246734 ],
    [ 0, ‘wl’, 3, 1563250335 ],
    [ 0, ‘wl’, 3, 1563253937 ],
    [ 0, ‘wl’, 3, 1563257539 ] ]

    This shows a consistent WL of around 3% vastly different from the 87% the weather service is returning!

    I checked the data being supplied to the weather service call and the setting in Opensprinkler and they appear the same. Please see attachment 2

    I also calle the api to check the settings there:…
    This returned

    Interestingly all the settings for WTo are not set. I assume that is due to the lack of uSD stated in the API doco but not sure how works.

    At this point I am unable to see what I have configured incorrectly between the local weather service data and what is being logged in opensprinkler. Any insight would be great.



    Can you check the result? Or you can simply do a… which prints out all settings. The fact that your wto is basically empty means your Weather Adjustment Method has not been set to Zimmerman (it might also be due to other reasons such as you were trying to use WU API key which is not supported any more). In any case, if you can print out the /ja page I can take a look at what settings may be wrong.

    I assume you are running firmware on OSPi or Linux-based system, because on the microcontroller-based OpenSprinkler (OS 2.x or 3.0), using your own weather service does not support custom port number (the :8081 is not supported on those systems).


    matthew garton

    Hi Ray,
    Thank you for your response. Yes I am running OSPI.

    When I read this I was worried that giving you /ja would not work because I had just run firmware upgrade in the hope that this would reset everything.

    For complete transparency that is I did:
    1. git pull
    2. sudo ./ ospi
    3. sudo /etc/init.d/ restart

    After that I set the location and set the Zimmerman method (please note UI screenshot attached).

    I have run /ja but the settings for WTO appear the same…


    I will attempt to fully purge opensprinkler from the device and install again.

    Thanks for any further insights.


    matthew garton


    I fully deleted the firmware and re-installed it.

    I updated a location setting and set to Zimmerman method and the /ja looks better now – ie it has relevant WTO settings

    They look like this now:

    I will monitor this a for a few days and see if the weather service and open UI are now aligned. I will come back if they are not. Thanks for the consideration.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Difference between local weather service WL and Opensprinkler logged WL