• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Wheather/ Wunderground not loading

Scheduled Pinned Locked Moved Solved Troubleshooting
17 Posts 10 Posters 6.5k Views 10 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    Dommer
    last edited by Mar 10, 2019, 4:34 PM

    I have found that DarkSkyForecast has been an excellent replacement for the Wunderground module. Format and display looks very similar. I have been using it for a few weeks and I am very happy with it. API keys for DarkSky are free for up to 1000 calls a day. So if you refresh the weather every 15 mins, thats only 96 calls a day.

    Check it out
    https://forum.magicmirror.builders/topic/9181/mmm-darkskyforecast-yet-another-weather-module

    1 Reply Last reply Reply Quote 0
    • B Offline
      bhepler Module Developer @Medo
      last edited by Mar 11, 2019, 4:10 AM

      @Medo - Yeah, my free API key was shut down last week.

      C 1 Reply Last reply Mar 28, 2019, 12:34 AM Reply Quote 0
      • T Offline
        thobach
        last edited by Mar 16, 2019, 12:01 PM

        I migrated my MMM-WunderGround24Hours module also to use the Dark Sky API and it is now available at https://github.com/thobach/MMM-DarkSky24Hours. The migration was super easy.

        1 Reply Last reply Reply Quote 0
        • C Offline
          coloradokb
          last edited by Mar 28, 2019, 12:27 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • C Offline
            coloradokb @bhepler
            last edited by Mar 28, 2019, 12:34 AM

            @bhepler
            May be missing the mark here, but what I’m seeing is if you had a key w/weatherunderground, it’s definitely gone. However, generating keys seems to still be an option. Perhaps I’m grandfathered in.

            Mine isn’t loading either. With newly (longer) generated api key from WU api-key form, there’s documentation showing weather.com returning content. New URL and json below. I’ll try to see about adjusting code to handle new response. I’m new to this module and may not have time for a few days. Hope this helps and if someone could verify that’d be especially helpful.

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

            {“observations”:[{“stationID”:“KMAHANOV10”,“obsTimeUtc”:“2019-03-27T03:17:53Z”,“obsTimeLocal”:“2019-03-26 23:17:53”,“neighborhood”:“1505Broadway”,“softwareType”:“Rainwise IP-100”,“country”:“US”,“solarRadiation”:null,“lon”:-70.86485291,“realtimeFrequency”:null,“epoch”:1553656673,“lat”:42.09263229,“uv”:null,“winddir”:270,“humidity”:71,“qcStatus”:1,“imperial”:{“temp”:24,“heatIndex”:24,“dewpt”:16,“windChill”:24,“windSpeed”:0,“windGust”:0,“pressure”:30.30,“precipRate”:0.00,“precipTotal”:0.00,“elev”:104}}]}

            L 1 Reply Last reply Apr 1, 2019, 6:55 PM Reply Quote 2
            • L Offline
              Lusbueb @coloradokb
              last edited by Apr 1, 2019, 6:55 PM

              @coloradokb

              Yes with the new API key you get current weather data and also forecast. However, most variables have changed their name and you have to adjust the code of “MMM-WunderGround.js” and “node_helper.js”.

              Examples:

              apiBase old: “http://api.wunderground.com/api/”
              apiBase new: “https://api.weather.com/”

              forecast old: “http://api.wunderground.com/api/yourApiKey/conditions/hourly/forecast10day/astronomy/alerts/lang:DL/q/pws:ISAFENWI13.json”
              forecast new: "https://api.weather.com/v3/wx/forecast/daily/5day?postalKey=81657:US&units=e&language=en-US&format=json&apiKey=yourApiKey
              "
              Variables:

              old: wind_mph
              new: windspeed

              old: relative_humidity
              new: relativeHumidity

              The effort to rewrite the existing code is very large, unfortunately I’m not a programmer :(

              greetings from Switzerland
              Peter
              (translated with Google)

              1 Reply Last reply Reply Quote 1
              • 1
              • 2
              • 2 / 2
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy