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.

    openweathermap not working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 2 Posters 787 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.
    • S Offline
      Sam 0
      last edited by sdetweil

      I can’t get the module to work. I entered the free API key but no data is provided. I suspect a typo or setting that I am not doing correctly. I would appreciate your help with possible working examples. Thank you in advance for your efforts.

      config:
                  {
                      // See 'Configuration options' for more information.
                      weatherProvider: 'openweathermap',
                      weatherEndpoint: '/onecall',
                      apiKey: '57657657576',
                      apiVersion: '3.0',
      location:'Amsterdam,Netherlands'
                      type: 'forecast',
                      colored: true,
                      fade: false,
                      maxNumberOfDays: 3,
                      degreeLabel: 'true',
                      showWindDirectionAsArrow: 'true',
                      decimalSymbol: ','
                  }		},
      
      S S 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Sam 0
        last edited by

        @Sam-0 see https://forum.magicmirror.builders/topic/19323/version-2-30-0-weather-module-stuck-loading-worked-fine-before-upgrade

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @Sam-0 I read your post but I can’t figure it out. Does the entire option not work or did I make a mistake somewhere?

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

            @dontronics

            dont need provider, endpoint, or apiversion as those are the defaults

            the apiKey is the one backed by credit card, right?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil

              I didn’t have to give a credit card, I don’t have one either, so it won’t work at all? Is the location option correct? Thanks for the effort and answering the questions

              S S 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @Sam 0
                last edited by

                @Sam-0 read the top of the linked post.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  Sam 0 @Sam 0
                  last edited by

                  @Sam-0 I have made some changes and now I get a different message, this is what I have in my config now, can anyone help me with what still needs to be done? config:
                  {
                  // See ‘Configuration options’ for more information.
                  weatherProvider: “openweathermap”,
                  apiKey: “drtdgrdgfgfdgdfgfdgfdtestmmmmmmm”,
                  lat: 52.0575,
                  lon: 4.4931,
                  apiBase:‘https://api.openweathermap.org/data/’,
                  weatherEndpoint:‘/onecall’,

                              }		},
                  

                  message on mm invalid that NAN

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

                    @sdetweil I read the topic maybe my English is not so good that I do not understand it well can you indicate what I am doing wrong I have now adjusted the following
                    disabled: false,
                    module: “weather”,
                    position: “top_right”,
                    header: “Weather Forecast”,

                    config:
                    {
                    // See ‘Configuration options’ for more information.

                    apiKey: “ghgjhgjhgjghjgjfghchghf”,
                    lat: 52.0575,
                    lon: 4.4931,

                    } },

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

                      @sdetweil ok I continued searching and now have the following config which seems to work at the moment disabled: false,
                      module: “weather”,
                      position: “top_right”,
                      header: “Weather Forecast”,

                              config:
                              {
                                  // See 'Configuration options' for more information.
                                  			
                      	apiKey: "fnotmyapikey sampletestttghfhghfhfghfhghh",
                      	lat: 52.0575,
                      	lon: 4.4931,
                      

                      apiVersion: ‘2.5’,
                      weatherEndpoint: “/weather”,

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Sam 0
                        last edited by

                        ok I continued searching and now have the following config which seems to work at the moment disabled: false,
                        module: “weather”,
                        position: “top_right”,
                        header: “Weather Forecast”,

                                config:
                                {
                                    // See 'Configuration options' for more information.
                                    			
                        	apiKey: "fnotmyapikey sampletestttghfhghfhfghfhghh",
                        	lat: 52.0575,
                        	lon: 4.4931,
                        

                        apiVersion: ‘2.5’,
                        weatherEndpoint: “/weather”,

                        I added
                        the following values
                        apiVersion:
                        ‘2.5’,
                        weatherEndpoint: “/weather”,

                        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