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 load

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 4 Posters 1.2k Views 4 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
      sdetweil @canlio
      last edited by sdetweil

      @canlio weather is done all in browser, so open the developer window, ctrl-shift-i, select the console tab, put weath in the filter field.

      openweather has changed their business model, the apikey is backed by a credit card

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 1
      • C Offline
        canlio @sdetweil
        last edited by

        @sdetweil thanks a lot for your reply!

        I can see in the console log:

        GET https://api.openweathermap.org/data/3.0/forecast?id=2516479&units=metric&lang=de&APPID=%my_api_key_here%
        

        Status code: 404 not found

        When I call the URL with my browser I get

        {"cod":"404","message":"Method not supported"}
        

        AAH!
        So, I see that the weather module does not call “2.5” per default, as written in the documentation, but it’s the 3.0 API being called, where the construct of the URL won’t help. So, I’ll add

        apiVersion:"2.5",
        

        to my configuration of the weather module!

        Once changed, it worked out!
        Thanks a lot for that hint! I spent about 6 hours of my day on this without applying troubeshooting 101 by not looking in the browser console log …

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

          @canlio cool, but, its not supposed to work. they told us publicly 2.5 was supposed to stop working in October… hmmmm

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C AssassinsA 2 Replies Last reply Reply Quote 1
          • C Offline
            canlio @sdetweil
            last edited by

            @sdetweil that’s really weird, as I have proof it’s working.

            1 Reply Last reply Reply Quote 1
            • AssassinsA Offline
              Assassins @sdetweil
              last edited by

              @sdetweil is work here with 2.5 and not 3.0 om my MM to 2.29.0

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

                @Assassins for 3.0 you must get a new apikey which requires a credit card

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil bit why pair for 3.0, when 2.5 work, and free ???

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

                    @Assassins because they have said they are turning off 2.5
                    the first 1000 calls per day are not charged on 3.0, currently

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil as long as it keeps working with 2.5, I’ll keep it. Once it won’t work, I’ll subscribe for 3.0.

                      K 1 Reply Last reply Reply Quote 1
                      • K Offline
                        kicifans @canlio
                        last edited by

                        @canlio ty for this post and updates how you fixed it. Had same problems, did same workaround and, atleas for now, its working

                        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