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.

    MMM-OpenWeatherForecast

    Scheduled Pinned Locked Moved Solved Troubleshooting
    92 Posts 14 Posters 49.9k Views 14 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.
    • R Offline
      Rakutsi @Rakutsi
      last edited by

      @sdetweil just wanted to say that it worked for me to do that.

      I am new with posting here.

      1 Reply Last reply Reply Quote 2
      • M Offline
        megagprime
        last edited by

        I am also struggling with the new api call. I have set the apiBaseURL string and tried a new api key, but still not loading. The openweather site is a bit confusing, how do i make an V3 api key? i only see option for new key. Thanks

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

          @megagprime you have to
          provide a credit card in case you go over the 1000 requests per day limit

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 2 Replies Last reply Reply Quote 0
          • M Offline
            megagprime @sdetweil
            last edited by

            @sdetweil i did that and have it subscribed, my old key doesnt work and neither does my new key
            d51614d4-8d64-412a-b37c-f43f02fbdca0-image.png
            a72d1dc2-9566-4f68-a775-ebbdff790526-image.png
            777380bf-9d09-4899-8432-fc05be87207a-image.png

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

              This post is deleted!
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @megagprime
                last edited by

                @megagprime comment out the apibase, let the module set it

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MarcLandis Module Developer @sdetweil
                  last edited by

                  @sdetweil MMM-OpenWeatherForecast has V2.5 as default.

                  M M 2 Replies Last reply Reply Quote 0
                  • M Offline
                    megagprime @MarcLandis
                    last edited by

                    @MarcLandis yes we need 3.0

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MarcLandis Module Developer @MarcLandis
                      last edited by

                      @sdetweil https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast/blob/master/MMM-OpenWeatherForecast.js#L53

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

                        @MarcLandis shocking, Tom is usually not behind like that

                        i haven’t checked, is the url unchanged except for the version number?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        M M 2 Replies Last reply Reply Quote 0
                        • M Offline
                          megagprime @sdetweil
                          last edited by

                          @sdetweil tom has new url in readme apiBaseURL for opencall3

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MarcLandis Module Developer @sdetweil
                            last edited by

                            @sdetweil yes - all that is needed is …/2.5/… -> …/3.0/…

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

                              @MarcLandis ok. i have seen some other users post that it had taken some time before the new key worked.

                              without debugging hard to tell. i expect the fetch would fail 401. authentication failed

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                It seems the default API was changed from 2.5 to 3.0 with the recent update. Even it is (not yet) in the documentation.

                                Here is what I did:
                                I inserted in the config.js

                                apiVersion: "2.5",
                                

                                Since the problem occurred after the recent MM2 Update (and worked fine until then) it was clear, that the update has some doing in that.

                                Even if the 2.5 API should be down, it is working just fine.

                                After this change, it works (again) like charm.

                                S H 2 Replies Last reply Reply Quote 1
                                • S Offline
                                  sdetweil @OldGuyBerlin
                                  last edited by

                                  @OldGuyBerlin the doc for 2.29 today

                                  IMG_0361.png

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    Didn’t see this until now.

                                    That is why the workaround with the API Version works. ;-)

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

                                      So let me add one more thing here if I can
                                      if I give these guys my credit card just in case I go over
                                      where in MMM-OpenWeatherForecast will it tell me how many calls it made

                                      M S 2 Replies Last reply Reply Quote 0
                                      • M Offline
                                        MarcLandis Module Developer @Ray
                                        last edited by

                                        @Ray the number of calls depend on the update intervall you set in your config. For example if you have it update every 10 minutes it will be 144 calls a day.

                                        R 2 Replies Last reply Reply Quote 0
                                        • R Offline
                                          Ray @MarcLandis
                                          last edited by

                                          @MarcLandis 000 I did not know that thanks for the update that makes a big difference

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

                                            @Ray they do have an activity page

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            R 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
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • 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