How can we help?


Wunderground - fails to update since Sep 5 2019 - solution found

Pinned

Comments

11 comments

  • Avatar
    David Langley (Edited )

    Very interesting. I have 2 rainmachines. Since Sept 5th, my 8 port device has been unable to get observer data from Wunderground. The blank apikey had worked fine since Wunderground ceased to support free apikeys. My 12 port device continues to get observed data with a blank api key. I just tried the fake 32 character apikey on my 8 port, and it still doesn't work. It gives a different error, but I think that is because Wunderground interprets a non-blank apikey as a request for forecast info as well as observed data. The fact that the date of the change (Sept 5th) is the same as yours seems to suggest the same issue, but your solution doesn't work in my case...

    0
    Comment actions Permalink
  • Avatar
    Julius

    It is working fine this way on my 8 port... Make sure you don't have space in front or behind apikey. And use the one I listed above that's embedded in url as it is working for me.

    0
    Comment actions Permalink
  • Avatar
    David Langley

    Thanks Julius. I just tried that, but still get "Error: no forecast or station data received." In the weather settings it also no longer lists the IDs of the nearest stations which may, or may not, be significant. I entered the IDs of the two nearest stations separated by a comma, but so far no luck. I'm running 4.0.999 firmware

    0
    Comment actions Permalink
  • Avatar
    David Langley

    Shouldn't the Wunderground apikey be 16 characters, not 32? Either way, I'm not getting any joy using a blank apikey or a 16 character one. I'm baffled that the 12 port continues to work with a blank key, but I can't get any observed data on my 8-port. I really need to adjust my watering based on observed weather. Without this, the rainmachine product loses most of it's benefit for me.

    0
    Comment actions Permalink
  • Avatar
    Julius (Edited )

    https://photos.app.goo.gl/F49cTh6oUcdX9t6YA

    Dunno, this is a screenshot of my current setup that works.

     

     

    0
    Comment actions Permalink
  • Avatar
    David Langley

    Thanks for the photo. It gave me an idea. I see that you have a large number of alternative stations listed in the "use nearby stations" list. So, I added the complete list of my nearby stations (10 of them) to my config. I did this with a blank API Key. It has now received observed data for the first time since Sept 5th. Note that I didn't add a fake API Key. Very strange. Up to this point I only listed 2 alternative stations. Maybe those 2 stations are slow in responding and it times out? I can view them through Wunderground on the browser just fine. Very strange... Thanks for working with me on this. 

    0
    Comment actions Permalink
  • Avatar
    Tod

    My Wunderground PWS data started showing the "no station data received" error in early October after working fine for since the RM firmware update to workaround IBM killing free API keys.   After pulling my hair out trying to get it working and I logged into my WU account and found that I have an API key available again?!?!?!  Plugged the API key into RM and I am back to a green "Success" for WUnderground.  Interestingly, on the API key tab on WU, there's a link to a Google doc that describes the API for PWS owners.   Is the API for PWS owners back?  Is this fluke?  Who knows?  Strange.

    In the meantime, I am tired of all the WU nonsense over the past couple of years and will probably migrate to a weeWX+RTL+Raspberry Pi solution to cut out the unreliable WU middleman.

    0
    Comment actions Permalink
  • Avatar
    Jon Waland

    think WU have updated the API - 

     

    https://api.weather.com/v2/pws/observations/current?stationId=KCTWESTH45&format=json&units=e&apiKey=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

    Access Denied

    You don't have permission to access "http://api.weather.com/v2/pws/observations/current?" on this server.

    Reference #18.3615da8b.1578548646.4f7d9f55

     

    No APIKey value gives

    {"metadata":{"transaction_id":"##############"},"success":false,"errors":[{"error":{"code":"CDN-0001","message":"Invalid apiKey."}}]}

     

    and no APIKEY at all gives

    {"metadata":{"transaction_id":"##############"},"success":false,"errors":[{"error":{"code":"CDN-0004","message":"Missing apiKey."}}]}

    0
    Comment actions Permalink
  • Avatar
    Adrian

    Although I do have an API key on my account for my PWS, WUnderground still didn't work all the time, not sure what actually fails.

    Now looking at this discution I'm starting to think that my key never actually mattered. So I've browsed to their website/my station and looked at the network calls in the browser.For all stations they use this key: 6532d6454b8aa370768e63d6ba5a832e no matter if you are logged in or not. This key seems to work fine for me now !

    So your URL would be: https://api.weather.com/v2/pws/observations/current?stationId=KCTWESTH45&format=json&units=e&apiKey=6532d6454b8aa370768e63d6ba5a832e

    WUnderground service seems very badly designed, and because of that finding an alternative with less reliance to an online service seems to be a good idea.

    1
    Comment actions Permalink
  • Avatar
    David Langley

    Thank you Adrian. I checked this morning, and both my Rainmachines (which had been getting data from local stations fine with no API Key for the past several months) were once again failing to update - the last successful update being earlier this morning. I updated both with the API Key you list above, and now both are working again. I really don't know what is going on, but thanks to folks like you we can keep this working. Thanks again.

    0
    Comment actions Permalink
  • Avatar
    Mark

    Thank you, Adrian.
    By mistake, I found a workaround to get your own API key, for free :)

    So, here it is: as a WU user -  you can add a weather station (presumably yours) for Free. After that, you can generate your API key automatically.
    All you have to do is to log in into your WU account and go to "Member Settings - My Devices" add a weather station, choose one from the big list, I choose NetAtmo (because I have it, but it doesn't matter) and save it. Then go to "API Keys" and generate your key. Use that key on RainMachine WU parser.

    Hope this helps!
    Mark

    0
    Comment actions Permalink

Please sign in to leave a comment.