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.

    Just upgrade MM and weather app with openweathermap is busted.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 3 Posters 148 Views 3 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 @sTo0z
      last edited by

      @sTo0z did you use the upgrade script? It handles the node upgrade too

      What was your prior version.

      OpenWeathermap told us they are doing away with their free api v2.5 and going to one with a credit card and a free/day limit of 1000 , called 3.0. So we moved weather to the 3.0 api

      You need a new apikey

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

        @sdetweil said in Just upgrade MM and weather app with openweathermap is busted.:

        @sTo0z did you use the upgrade script? It handles the node upgrade too

        What was your prior version.

        OpenWeathermap told us they are doing away with their free api v2.5 and going to one with a credit card and a free/day limit of 1000 , called 3.0. So we moved weather to the 3.0 api

        You need a new apikey

        Hi, apologies but not sure what script you’re referring to.

        I just went into MM dir and did git pull and npm run install-mm as I usually do.

        I also just generated a new api key and put it in there but same result as before, everything is invalid and numbers are NaN.

        Maybe the script piece is what I’m missing but not sure what that is. :)

        Thank you for the reply!

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

          @sTo0z and w apikey 3. Now lat/lon are required

          As for script (they are mine) from the doc

          IMG_4207.png

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sTo0z also, weather is done all in browser, so you can open the developers window console tab

            ctrl-shift-I on MagicMirror screen keyboard, select console tab,
            Put weath in filter field

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              Ah I see, upgrade scripts. I’ll keep that in mind for next time :) Thank you! I do at the moment have MM in general loading and all my other modules are fine.

              So I went back and checked my openweathermap setup and it all seems ok to me… I’ve not filled in anything that has a proper default value, such as apiVersion, apiBase, weatherEndpoint, etc. Since all the default values are what I want.

              Do I still have to specify them if I want the default values? (Was going off of I don’t need to).

              So given that the default apiVersion is 3.0 and I’m using the default /onecall, I went ahead and added the required lat and lon as you said.

              And I’m still using my newly generated key.

              Still loads broken. :(

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

                I believe there is a different URL for the V3 key. It is something I would do, put in a new key and not change the URL.

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

                  @RonR the default uses the proper v3 /onecall api

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sTo0z you should not specify parm’s if the defaults are good

                    Did you look on the dev window to see the error?

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

                      @sdetweil Ah, I completely misunderstood what you said about the api 3.0 free access, and was getting a 401 unauthorized error.

                      I was able to config api 2.5 and get the current weather again, per their docs.

                      Thank you for the guidance on the dev console and the api changes. :) I almost never touch this thing because it runs so nicely, lol.

                      1 Reply Last reply Reply Quote 0
                      • S sTo0z has marked this topic as solved
                      • 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