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.

    Default weather module stuck loading after latest MM update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    35 Posts 8 Posters 11.3k Views 8 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 Do not disturb
      sdetweil @pritikin71
      last edited by

      @pritikin71

      see
      https://forum.magicmirror.builders/topic/19043/location-title-in-default-module-weather-openweather

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil Thank you a lot.

        I was able to fix the header problem but not the time problem. I looked to a lot of /js files looking for the TimeZone Parameter but I didnt get it.

        4f3c3b4a-a899-4a5c-9e43-9cdb9f97e7d5-image.png

        Also is really weird the 18:48… the different minutes tells that maybe isn’t a timezone problem.

        S karsten13K 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @pritikin71
          last edited by sdetweil

          @pritikin71 weather with openweather 3 uses lat/lon for location
          and time is local system time . make sure you have timezone set correctly

          corrected below… sunrise/sunset time is shown (whichever is next)
          not current wall clock time

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • karsten13K Offline
            karsten13 @pritikin71
            last edited by

            @pritikin71 said in Default weather module stuck loading after latest MM update:

            Also is really weird the 18:48

            this is not an actual time, but sunrise or sunset (depending on what comes next)

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @karsten13
              last edited by

              @karsten13 dang I get that wrong EVERY time!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil said in Default weather module stuck loading after latest MM update:

                @karsten13 dang I get that wrong EVERY time!

                one of the reasons I wrote my own njk …

                83d6bdf4-2130-45d9-9c83-72f2894fec3d-grafik.png

                P 1 Reply Last reply Reply Quote 1
                • P Offline
                  pritikin71 @karsten13
                  last edited by

                  @karsten13 Wow… you kill me… what a Shame jaja Sorry for the misunderstood and great idea your config/

                  @sdetweil thanks too

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

                    @pritikin71 said in [Default weather module stuck loading after latest MM

                      {
                      	module: "weather",
                      	CalendarClasses: "current",
                      	position: "top_right",
                      	header: "Weather Forecast",
                            disabled: false,
                      	config: {
                      		weatherProvider: "openweathermap",
                      		weatherEndpoint: "/onecall",
                      		//updateInterval: "20",
                      		type: "current",
                      		tempUnits: "imperial",
                      		degreeLabel: "false",
                      		location: "XxXxX",
                      		locationID: "XXxXXX", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                      		apiKey: "XxXXXXxxXXXXxXXxXXxX",
                                showFeelsLike: "false",
                      		lat: "2XXXX350",
                                lon: "-8X.3XXxX915"	
                      		
                      	}
                    

                    My code looks exactly like this i even generated a new api key paid setup payment and i am still only getting loading on my npm start i have Zero Errors im so confused

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Sampleswow
                      last edited by

                      @Sampleswow weather is done all in browser, so you have to open the browser developers window condole tab to see any errors

                      ctrl-shift-i

                      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
                        Sampleswow @sdetweil
                        last edited by

                        @sdetweil
                        Thanks for your reply i have found the error it is,
                        Failed to load resource: the api.openweathermap
                        server responded with a
                        status of 401 (unauthorized)

                        how do i adjust this?

                        S 1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @Sampleswow
                          last edited by

                          @Sampleswow said in Default weather module stuck loading after latest MM update:

                          status of 401 (unauthorized)

                          your api key is incorrect

                          the 3.0 apikey requires a credit card, right?

                          see this too
                          https://github.com/MagicMirrorOrg/MagicMirror/issues/3574#issuecomment-2423544713

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 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