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.
    • C Offline
      chris1971
      last edited by chris1971

      Hi guys,
      after a while of operation (https://forum.magicmirror.builders/topic/6101/my-1st-mm-project-as-a-noob-1-2m-x-0-6m-with-22-display?page=1) my wheather is not loading anymore on my mirror.
      Sometimes I had to rebbot the mirror several times to get it started - now the wheater module is not loading anymore? Any hints for a noob to check?
      Config:
      {

      module: ‘MMM-WunderGround’,

      position: ‘top_right’,

      config: {

      apikey: ‘xxxxxxxxxxxx’,
      pws: ‘xxxxxxxxxxxxx’,

      hourly: ‘1’,

      fctext: ‘1’,

      fcdaycount: “4”,

      fcdaystart: “0”,

      hourlyinterval: “3”,

      hourlycount: “2”,

      alerttime: 10000,

      alerttruncatestring: “english:”,

      roundTmpDecs: 1,

      coloricon: true,

      daily:1,

      iconset: “colourful”,

      UseCardinals: 0,

      layout: “horizontal”,

      debug: 1,

      sysstat: 0

      }

      With the command npm start dev I see following error:

      {
      “response”: {
      “version”:“0.1”,
      “termsofService”:“http://www.wunderground.com/weather/api/d/terms.html”,
      “features”: {
      }
      ,
      “error”: {
      “type”: “invalidkey”
      ,“description”: “this key is not valid due to exceeding rate plan”
      }
      }
      }

      MMM-WunderGround.js:821 Uncaught TypeError: Cannot read property ‘estimated’ of undefined
      at Class.processWeather (MMM-WunderGround.js:821)
      at Class.socketNotificationReceived (MMM-WunderGround.js:1249)
      at module.js:183
      at r. (socketclient.js:25)
      at r.emit (index.js:133)
      at r.onevent (socket.js:270)
      at r.MMSocket.self.socket.onevent (socketclient.js:19)
      at r.onpacket (socket.js:228)
      at r. (index.js:21)
      at r.emit (index.js:133)

      Any ideas?
      Thanks, Chris

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @chris1971
        last edited by sdetweil

        @chris1971 said in Wheather/ Wunderground not loading:

        ,“description”: “this key is not valid due to exceeding rate plan”

        there it is…

        looking thru google for that error, it is common, but then key becomes disabled… sounds like permanently…
        only a new key will work…

        “I have seen in forums that when the usage exceeds limit the key will be disabled”

        looks like the modules doesn’t handle the error

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          Thanks for the info - how can I implement another key in the module? Do I have to install a new weather module or is Wunderground working with another API key?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @chris1971
            last edited by sdetweil

            @chris1971 u would have to to weatherunderground and get a new key. Note that free keys no longer exist.

            Old ones still work for a while I think

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              WU does not supply new API keys for free - I am looking for an opportunity only to change tie PAKi key in teh confis - an leaf the rest as it is. I was happy to have my mirrior confugured as it is… ;-)

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @chris1971
                last edited by

                @chris1971 I understand… but this is not possible… thus the number of new weather modules using other ‘free’ apis…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  Thanks - then I have to try another module and update MM2…

                  Hope it works out…

                  1 Reply Last reply Reply Quote 0
                  • MedoM Offline
                    Medo
                    last edited by Medo

                    The API was shut down. Heres the official statement (from: https://feedback.weather.com/customer/en/portal/articles/2970681-my-weather-underground-api-key-has-been-disabled-why-?b_id=17298)

                    ***My Weather Underground API key has been disabled. Why?

                    The Weather Underground’s API has been retired. Keys have been closed down on a rolling basis since February 15, 2019. It will close down completely shortly. Information about this has been available through the API itself and online for nearly a year.

                    If you are a contracted, paying customer and feel you have been shut off in error, please click the blue ‘email us’ button below.

                    If you would like to explore paid plans on The Weather Company’s enterprise-grade API, please follow this link and fill out the form on that page.

                    At this time we do not anticipate offering free, ongoing “developer” level keys to The Weather Company’s API.

                    Thank you for your support of the Weather Underground API.***

                    Alternatives?

                    bheplerB 1 Reply Last reply Reply Quote 2
                    • K Offline
                      kasperb
                      last edited by

                      Thanks.

                      Does anyone have suggestions on the next best alternative? I feel like weather underground was relatively accurate, unlike some of the other options out there.

                      MedoM 1 Reply Last reply Reply Quote 0
                      • MedoM Offline
                        Medo @kasperb
                        last edited by

                        @kasperb: I will give this module a try:

                        https://github.com/cowboysdude/MMM-NOAA3

                        It has several options for placing API (weatherdata). So if one closes - i can switch to the next if needed…

                        I installed it today so i cannot say if the data (from weatherbit.io in my case) is reliable…

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 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