OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler and PWS

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #79012

    John Park
    Participant

    Hi guys,

    I just bought an OSPi and absolutely love it. I also have my own PWS which is uploading data to Ecowitt and Wunderground and I have a couple of questions regarding this.

    I note that in the Wunderground API key section of the help system (https://openthings.freshdesk.com/support/solutions/articles/5000017485-getting-a-weather-underground-wu-api-key) it says “you cannot choose ET as the weather adjustment method, because WU PWS data lacks ‘solar radiation’ parameter required by ET” but my PWS (https://www.wunderground.com/dashboard/pws/ISUNSH720) reports solar radiation?

    I see that I can host my own weather service but it appears that all I’m doing is redirecting the same WU data stream to a local weather server, how is this different to obtaining the data directly from WU? If there’s not enough information being provided from a WU data source, can I use a more comprehensive data source such as Ecowitt?

    #79021

    Ray
    Keymaster

    1) At the time the ET algorithm was implemented, solar radiation was not a required field by WU. So while some WU stations report solar radiations, a lot didn’t. I am not sure about what’s the current situation, whether it’s required now or not, but if you are able to host your own weather service, then

    2) You can modify the weather code to allow using ET with WU. In fact, users who host their own weather service primarily because they want to customize the weather code. So what you were asking regarding the ‘difference’ is mainly that you can modify the code and enable ET with WU, or you can customize it in any other way you want. I am not familiar with Ecowitt. The OpenSprinkler weather code:
    https://github.com/OpenSprinkler/OpenSprinkler-Weather
    supports several weather providers, it’s relatively easy to add additional providers, as long as you have their APIs.

    #79027

    John Park
    Participant

    Thanks for your response Ray. I’m now hosting my own weather server but waiting for the 24 hour gathering period to conclude. Will ETo work ‘out of the box’ when hosting my own weather server if my PWS reports solar radiation? Or do I need to modify code to achieve this?

    #79034

    Ray
    Keymaster

    You need to modify the code. Most noticeably, the ETo algorithm will throw an error if the weather data source is pws:
    https://github.com/OpenSprinkler/OpenSprinkler-Weather/blob/master/routes/adjustmentMethods/EToAdjustmentMethod.ts#L20

    #79036

    John Park
    Participant

    Thanks again for your response Ray. The eto calculation seems to work using my PWS without any code modification (see screenshot attached). I can see that solar radiation, humidity etc. are being logged in the observations.json file.

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

OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler and PWS