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.

    Too many API calls in default weather module after update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 6 Posters 200 Views 6 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.
    • KristjanESPERANTOK Offline
      KristjanESPERANTO Module Developer @Perilax
      last edited by KristjanESPERANTO

      Sam is right, that was caused by the big rewrite (which resolved other issues, particularly a fundamental architectural one).

      A fix is already in the develop branch: https://github.com/MagicMirrorOrg/MagicMirror/pull/4092

      Are you familiar enough with Git to test the develop branch?

      evroomE P 3 Replies Last reply Reply Quote 0
      • evroomE Offline
        evroom @KristjanESPERANTO
        last edited by

        @perilax
        Or just a quick work-around as the default for updateInterval for openweathermap is 10 minutes anyway.
        Try to comment out those 2 lines with //.

        @kristjanesperanto
        Quick response; quick fix 👍

        MagicMirror version: 2.35.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: 2.36.0-develop
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        1 Reply Last reply Reply Quote 0
        • P Offline
          Perilax @KristjanESPERANTO
          last edited by

          @KristjanESPERANTO

          I’ll test the develop branch tomorrow.
          Thanks for the quick reply.

          @evroom I added updateInterval to my config.js only after the problem occurred, because I thought it might be causing the issue.

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

            @Perilax see this link for how to get the develop branch
            https://forum.magicmirror.builders/post/86422

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • P Offline
              Perilax @KristjanESPERANTO
              last edited by

              @KristjanESPERANTO

              The develop branch is working. API requests are back to normal.

              Can I make this change manually on the master branch for now, or do I need to let the develop branch run until the next update ?

              Thanks again for the quick help.
              Also to @sdetweil

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

                @Perilax i would let the develop branch run. We are discussing a point release to pick up a few fixes.

                If you use my upgrade script when next version is ready, it will switch you back to master

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

                  @sdetweil

                  I can´t use your update script, because I installed my MM with the proxmox helper script.

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

                    @Perilax I’d still wait, and switch to master before next git pull, after July 1

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

                      @sdetweil is this problem already fixed in the Release Version? I ask because i dont know about updateing or waiting for a fix

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

                        @Megawaldi it is fixed in the develop branch for next release
                        You can get the develop branch,

                        Currently we only release 4 times a year January ,April, July, October

                        See https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

                        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 / 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