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 7.1k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Medo
      last edited by

      @Medo et al,

      You can also use the darksky api with NOAA3. I find this to be very accurate for my location

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dommer
        last edited by

        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
        • bheplerB Offline
          bhepler Module Developer @Medo
          last edited by

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

          C 1 Reply Last reply Reply Quote 0
          • T Offline
            thobach
            last edited by

            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

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • C Offline
                coloradokb @bhepler
                last edited by

                @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}}]}

                LusbuebL 1 Reply Last reply Reply Quote 2
                • LusbuebL Offline
                  Lusbueb @coloradokb
                  last edited by

                  @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