OpenSprinkler Forums OpenSprinkler Unified Firmware [Bug] Water Level Estimation -> Wrong Average Temperature

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

    Emiliano Maina
    Participant

    Ciao,

    I just noticed that in OpenSprinkler the average temperature used (see Weather Diagnostic pop-up example) is not aligned with the one provided by Weather Underground itself (see WU screenshot).

    Basically I think that OSpi calculates Mean Temperature as (High + Low) / 2 instead of using the Actual Daily Avg.

    In a day like yesterday (June 2nd), with high difference High/Low but real temp decrease only over night, this can bring to a significant difference => signifcant water level difference:

    pws:ILOMBARD218

    June 2nd – WU
    High => 29.7 °C
    Low => 17.7 °C
    Avg => 24.6 °C

    June 2nd – OSpi
    Mean Temp => 23.7 °C

    Can you check it out if my theory is right ?

    Thanks !

    Regards,
    Emiliano.

    Attachments:
    #38179

    ShawnHarte
    Participant

    The average temp is simply [‘history’][‘dailysummary’][0][‘meantempi’] from the JSON reply provided by WU. This is the temp used to generate the scale. If you are running an older version of the weather python script locally you should update. Otherwise you are simply seeing a display error, that should not change the weather scaling from lining up with the WU data.

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

OpenSprinkler Forums OpenSprinkler Unified Firmware [Bug] Water Level Estimation -> Wrong Average Temperature