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-GooglePhotos - Reaching quota but don't know why

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 3 Posters 601 Views 2 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 @bhaules
      last edited by

      @bhaules I meant from another machine, windows PC looking at the mm web page

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        bhaules @sdetweil
        last edited by

        @sdetweil Not as far as I’m aware.
        My current setup is a rpi connected to a tv and that’s it.
        Is there a way to check to see if there are other external connections?

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

          @bhaules not that I am aware of

          what is the address: setting in config.js?

          if ,“localhost” then only apps inside the same machine can connect

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bhaules @sdetweil
            last edited by

            @sdetweil I really appreciate you giving your time to help me:

            I have whitelisted in the past my local network ips to be able to connect to the MM instance (for troubleshooting). Not using it any more in any other browsers.

             10 let config = {
              11     address: "localhost",   // Address to listen on, can be:
              12                             // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
              13                             // - another specific IPv4/6 to listen on a specific interface
              14                             // - "0.0.0.0", "::" to listen on any interface
              15                             // Default, when address config is left out or empty, is "localhost"
              16     port: 8080,
              17     basePath: "/",  // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
              18                     // you must set the sub path here. basePath must end with a /
              19     ipWhitelist: ["::ff:0.0.0.0/1", "::fff:128.0.0.0/2", "::fff:192.0.0.0/3", "::fff:224.0.0.0/4", "127.0.0.1", "::ffff:127.0.0.1", "::1","10.1.1.142","::ffff:10.1.1.1/112","10.1.1.89",       "10.1.1.215"],
              20     //ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],    // Set [] to allow all IP addresses
              21                                                             // or add a specific IPv4 of 192.168.1.5 :
              22                                                             // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
              23                                                             // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
              24                                                             // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
              25
              26     useHttps: false,        // Support HTTPS or not, default "false" will use HTTP
              27     httpsPrivateKey: "",    // HTTPS private key path, only require when useHttps is true
              28     httpsCertificate: "",   // HTTPS Certificate path, only require when useHttps is true
              29
              30     language: "en",
              31     locale: "en-US",
              32     logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
              33     timeFormat: 24,
              34     units: "metric",
              35     // serverOnly:  true/false/"local" ,
              36     // local for armv6l processors, default
              37     //   starts serveronly and then starts chrome browser
              38     // false, default for all NON-armv6l devices
              39     // true, force serveronly mode, because you want to.. no UI on this device
            

            What I find curious is that it almost looks like there are 2 streams of indexing running in the same time:

             263684 [19.12.2021 02:02.36.335] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  5240
             263685 [19.12.2021 02:02.39.673] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  5289
             263686 [19.12.2021 02:02.39.770] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  651
             263687 [19.12.2021 02:02.41.940] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  5338
             263688 [19.12.2021 02:02.42.876] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  696
             263689 [19.12.2021 02:02.45.429] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  5388
             263690 [19.12.2021 02:02.46.248] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  734
             263691 [19.12.2021 02:02.48.599] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  778
             263692 [19.12.2021 02:02.49.679] [LOG]   [GPHOTOS:CORE] Indexing photos now. total:  5438
            

            other than looking at the PM2 not sure where else to look at to see if there is another instance running.

            Although I haven’t changed the configuration, I have recently re-installed everything so I’m thinking it’s related to the re-install rather than the config:
            ae4442cc-b4ce-44f3-9d98-47548cd79c97-image.png

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @bhaules
              last edited by

              @bhaules

              Just memo;
              It seems Indexing 50 photos took around 3~4 seconds. (It is too slower than I expect) 5000 photos will take 3000~4000 sec, = around 50 ~ 60minutes.
              But your scanInterval is 10 minutes. It might be the reason? Before finishing the previous scanning cycle, a new cycle might begin.

              As I mentioned earlier on github, scanning 5thousands photos every 10 minutes to show random 5 pictures in that 10 minutes, seems not so much efficient.

              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