• 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.

openweathermap not working

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 2 Posters 324 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 Mar 28, 2025, 3:34 PM Mar 28, 2025, 3:32 PM

    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 Mar 28, 2025, 3:33 PM Reply Quote 0
    • S Away
      sdetweil @Sam 0
      last edited by Mar 28, 2025, 3:33 PM

      @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 Mar 29, 2025, 8:49 PM Reply Quote 0
      • S Offline
        Sam 0 @Sam 0
        last edited by Mar 29, 2025, 8:28 PM

        @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 Away
          sdetweil @sdetweil
          last edited by Mar 29, 2025, 8:49 PM

          @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 Apr 1, 2025, 6:59 AM Reply Quote 0
          • S Offline
            Sam 0 @sdetweil
            last edited by Apr 1, 2025, 6:59 AM

            @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 Apr 1, 2025, 12:03 PM Reply Quote 0
            • S Away
              sdetweil @Sam 0
              last edited by Apr 1, 2025, 12:03 PM

              @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 Apr 4, 2025, 10:51 AM Reply Quote 0
              • S Offline
                Sam 0 @Sam 0
                last edited by Apr 4, 2025, 9:44 AM

                @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 Apr 4, 2025, 10:51 AM

                  @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 Apr 4, 2025, 12:53 PM Reply Quote 0
                  • S Offline
                    Sam 0 @sdetweil
                    last edited by Apr 4, 2025, 11:05 AM

                    @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 Apr 4, 2025, 11:09 AM

                      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
                      1 / 2
                      • First post
                        1/11
                        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