OpenSprinkler Forums OpenSprinkler Unified Firmware Weather question and Weather error: building weather history

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #64588

    gary
    Participant

    Hi,

    I am experiencing an couple of issues with the weather calls.

    First, how often are the weather calls made. I would expect them to be every hour. I sometimes see last call: 14 hours ago. Why does it wait so long? Is there a place to set how often to make the calls?

    Second, the first problem won’t matter if the second is not resolved. Under system diagnostics I see Weather Service: Error and Last Response: Building Weather History.
    Any idea what that is about?

    #64591

    Ray
    Keymaster

    The weather call is made every 2 hours:
    https://github.com/OpenSprinkler/OpenSprinkler-Firmware/blob/master/main.cpp#L58

    Regarding the error ‘Building Weather History”, I just became aware of the weather call error: this has to do with the daylight savings time change yesterday. Apparently our current script has a bug that if DST is not accounted for, then the next day it returns an error that it didn’t get sufficient 24-hour weather data from yesterday. This should resolve itself by midnight today once we are outside of the 24-hour window. but obviously we will fix it so it doesn’t happen again next year.

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

OpenSprinkler Forums OpenSprinkler Unified Firmware Weather question and Weather error: building weather history

We will be away from Thursday July 17 to Monday July 21. Orders placed after 3pm EST July 17
will be shipped on Tuesday July 22. Thank you for your understanding!
This is default text for notification bar