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.

    Weather module does not work (Please set the correct openweather appid in the...)

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 2 Posters 4.1k Views 2 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.
    • K Offline
      Klinge
      last edited by

      Hi,
      I am a complete newbie to raspberry pi. I installed the MagicMirror and now I have problems with the weather module.

      When I start the MagicMirror I get the following error

      Please set the correct openweather appid in the…

      I have searched here in the forum, but I did not find a solution to my concrete problem.

      The code in my config.js

          module: 'currentweather',
                          position: 'top_right',
                          config: {
                                  location: 'New York',
                                  appid: '5128581'
                          }
                  },
                  {
                          module: 'weatherforecast',
                          position: 'top_right',
                          header: 'Wettervorhersage',
                          config: {
                              location: 'New York',
                                  locationID: '5128581',  //ID from http://www.openweathermap.org
                      appid: '5128581'
                          }
                  },
      

      Is it interesting, that I start the MagicMirror in Germany?

      Thanks for helping me.

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        As the config file suggests you need to go to http://www.openweathermap.org and request an appid from there.

        1 Reply Last reply Reply Quote 0
        • K Offline
          Klinge
          last edited by

          Thanks for your answer.

          But I did it. In my example is the correct New York appid.

          1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by

            Not really.
            There is a locationID to identify your location if you don’t use the location name field.
            In addition you need an appid. Therefore you go to http://www.openweathermap.org, click on “Sign up” on the top and create an account. Afterwards you can generate a unique appid which should not be shown to anyone and is tight to your useraccount.

            0_1481629515354_api key.JPG

            1 Reply Last reply Reply Quote 0
            • K Offline
              Klinge
              last edited by

              Ah, ok! I misunderstood the logic of appid. Now it works!

              Thanks for your help!

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