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.

    Finding module with high external traffic

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 3 Posters 1.9k 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.
    • ? Offline
      A Former User @mmmmh
      last edited by

      @mmmmh Which modules are you using?

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

        @Sean if you dnslookup that ip address, does it have a name associated?

        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
          mmmmh Project Sponsor @Guest
          last edited by

          @Sean I think I found the “culprit”, it may be the Spotify module’s polling. I just increased the interval and will see if the traffic decreases.

          ? 1 Reply Last reply Reply Quote 0
          • M Offline
            mmmmh Project Sponsor @sdetweil
            last edited by

            @sdetweil the IP resolves to a generic Google host, currently 53.224.186.35.bc.googleusercontent.com - I think it is used by Spotify.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @mmmmh
              last edited by A Former User

              @mmmmh Yes, it retrieves requests per 1~2 seconds. Unfortunately Spotify Web API doesn’t support push mechanism to get status updated. So it needs pooling. I recommend 2000 ms or more frequency to update current playback if you don’t care.

              1 Reply Last reply Reply Quote 0
              • M Offline
                mmmmh Project Sponsor
                last edited by

                @Sean I think I read somewhere that callback addresses could be provided (perhaps I misread this). If I have a DynDNS-backed FQD host and forwarded port I can provide, would this stop the polling requirement?

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @mmmmh
                  last edited by

                  @mmmmh I don’t think so. To update current playback info (The playing status, playing time,…) on real time, This module has to call Spotify Web APIs frequently.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mmmmh Project Sponsor
                    last edited by

                    @Sean I checked again, you are right, polling is the only option. Thanks for your cool module!

                    1 Reply Last reply Reply Quote 0
                    • 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