OpenSprinkler Forums OpenSprinkler Unified Firmware Free Weather Underground API keys for PWS non-commercial users

This topic contains 8 replies, has 5 voices, and was last updated by  franzstein 2 weeks, 3 days ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #53976

    franzstein
    Participant

    According to information from Victoria Gardner, Weather Underground the gateway for obtaining keys on the new API for PWS non-commercial users is planned to open on February 15, 2019. All current WU API keys that are linked to a PWS will stay open through Friday, March 1, 2019. Links to documentation and details about data can be found at Weather Underground API Update. That gives only two full weeks to sign up for a new key and change the calls.

    I’m not an expert in programming, but I think there need to be some changes made to the OpenSprinkler Weather Service and probably the OpenSprinkler App. Are there plans for OpenSprinkler to update the interface to WU that it can still be used by PWS owners?

    The Zimmerman Method in conjunction with my own PWS reporting to WU was working perfect for me and it would be very nice to have this feature still working.

    #54073

    RottenMutt
    Participant

    I see the weather api link at the bottom of their page, but that appears to be the old system.

    https://www.wunderground.com/weather/api

    #54165

    franzstein
    Participant

    Weather Underground has opened the gateway for obtaining keys on the new API for PWS non-commercial users. It is now possible for PWS owners to obtain the NEW API key. The documentation for the NEW API’s commands can be found here.

    The big question now: Will there still be an OpenSprinkler interface to Weather Underground? What are the plans for the OpenSprinkler Weather Service? It would be very nice to get some answers?

    #54171

    Samer
    Keymaster

    Honestly Weather Underground has gone down for too long for most customers with no recourse plan. Unfortunately, this left us focusing on OpenWeatherMaps as an alternative. We are going to be focusing our efforts there and no longer going to be accepting a Weather Underground API key from the app nor using it in the Weather API side.

    We have also dropped Yahoo weather service in the app as the API is also gone. We added an endpoint to our API to grab the weather data from OWM and provide it for the app.

    The weather API is written in JS/node and is easy to contribute to if anyone would like to add in support for this new weather API however I do not think we will be putting the effort to adopt this new API, especially when I do not own a PWS and won’t have a key to test off of.

    #54199

    steveb
    Participant

    Similar issue for me. My sprinklers haven’t run for 2 days and when I check it thinks I have had 12cm of rain (no way – maybe 1mm if lucky).
    I have my own weather station which used to feed weather underground but whatever opensprinkler is using at the moment is way off and stopping all watering.

    #54201

    Samer
    Keymaster

    @franzstein I agree with you there is a discrepancy in the quality of data we have now versus with WUnderground. We just upgraded our OWM account to provide better forecast data and we are planning on implementing a caching system so we can lower the number of redundant calls to the API (both the app and the device are querying the same location for the same data now). Once we have this caching system in place, we will add historical API to our Weather API and allow it to properly get the data needed when it’s missing or use the cached data when appropriate.

    This isn’t a small undertaking but the problem before was the large array of weather APIs we interfaced with caused me not to truly focus on any single one. I am hoping my choosing just OWM, we can continue to refine and improve this service for everyone. I agree with you the current state is not very usable for Zimmerman calculation and we are hoping to improve that.

    For the record, @peter added a PR to the Weather API we provide which allows you to query a local weather station directly and allow OpenSprinkler to directly use this data. There is more information on this post here: https://opensprinkler.com/forums/topic/cutting-the-weather-underground-cord-homebrew-solution/. I am reviewing this and hoping to include it in our master branch moving forward to assist people with weather stations that would allow local polling.

    #59364

    franzstein
    Participant

    @samer: Netatmo weather stations and the accompanied Netatmo or Meteoware Plus weather services don’t provide any means to connect to OpenWeatherMap. For this reason I don’t think that the change to OWM will be a solution for me in the near future?

    Looking for an alternative to OWM, I have programmed a ESP32 NodeMCU to retrieve weather data from WeatherUnderground’s new API, perform the Zimmerman calculation and update the OpenSprinkler’s water level. Details are available at my GitHub repository.

    The hardware used are a ESP32 NodeMCU Board and a USB power supply. There is some understanding of installing the ESP32 on the Arduino IDE and some programming effort needed to get the ESP32 working. However, it is a low-cost solution providing mainly the same functionality in regards to garden watering as the “old” OpenSprinkler WU Interface.

    • This reply was modified 1 month, 1 week ago by  franzstein. Reason: Clarification that the new WU API is used
    Attachments:
    #59636

    Wokkeltje
    Participant

    I bought OpenSprinkler only because of the link with a PWS using Wunerground. I also bought a Netatmo weather station because of the link with Wunderground. All is still working perfectly except OpenSprinkler decided to start using OpenWeathermap. I understand the possible issues with Wunderground for people not having a PWS.

    1 big problem, Openweathermap is useless and providing wrong data. That data is the only reason why we use a weather service.

    No rain until now and OWM reporting 34mm
    https://www.wunderground.com/weather/bx/staden/ISTADEN2
    https://openweathermap.org/city/2786227

    I don’t understant OS is removing Wunderground. Why not leaving the code so who want to use it, just can. The code is already written, so no effort to leave it.
    Or why not providing a easy to use procedure for the OSPi users so we can run a weather service on the RPi to connect to Wunderground.

    #59640

    franzstein
    Participant

    @Wokkeltje: Please be aware that the newAPI to retrieve weather information from Weather Underground is different to the old API. This means the code used in “OpenSprinkler-Weather” and probably in “OpenSprinkler-App” needs to be adapted or rewritten to use the newAPI. The newAPI is no solution for non-PWS owners. It is at no costs only available for PWS Owners who send their data to Weather Underground.

    I understand the reasons outlined by Samer for not using Weather Underground anymore. However, I’m also not happy with the current situation and OWM is definitely not easily useable for me. I don’t know how many OpenSprinkler PWS Owners are out there and I’m not familiar with Javascript for Node.JS programming. The newAPI is well described by Weather Underground and it’s weather service is reliable as it was before the changes. It’s maybe not such a big deal to make the relevant changes in “OpenSprinkler-Weather. This would be the best solution for OpenSprinkler PWS Owners as it fulfills all the needs requested by the Zimmerman method.

    All I can say for now is that my low-cost ESP32 workaround works perfect for me and provides the same results as the old OpenSprinkler Weather Underground Interface. Nevertheless, it isn’t a general solution and it needs some programming effort to get it working.

    • This reply was modified 2 weeks, 2 days ago by  franzstein. Reason: Added some additional remarks in regards to PWS owners
Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

OpenSprinkler Forums OpenSprinkler Unified Firmware Free Weather Underground API keys for PWS non-commercial users