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

    Scheduled Pinned Locked Moved Entertainment
    294 Posts 56 Posters 341.2k Views 59 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.
    • O Offline
      orayoflighto Project Sponsor
      last edited by

      First, thanks for a great module. Its greatly appreciated.

      Is there a way to prevent API requests during certain time periods? I have 14000 photos in an album that is only going to grow with time which is going to kill my API requests but I don’t need requests to take place at 2AM for instance.

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @orayoflighto
        last edited by

        @orayoflighto do u put your mirror to sleep when u are not around? it should not fetch new images while mirror is asleep…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil @orayoflighto
          I’ll update(or build newly) about it on next patch.

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            orayoflighto Project Sponsor @Guest
            last edited by

            @Sean looking forward to it. Thanks again for an awesome module.

            @sdetweil I now have a cron job to turn the monitor off. Is that what you mean by “sleep”? Does that stop the API requests?

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @orayoflighto
              last edited by

              @orayoflighto sadly no. The MagicMirror code doesn’t know the screen is off

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bestboy4
                last edited by

                @Sean I don’t know how you keep your patients with all of us. I’m using many of your modules, so thanks for your contribution to the masses.

                Has anyone noticed that when you sort with “time” that it pulls photos from google in the order in which each photo was uploaded, and not the order you put them in the album.

                I have 12 pictures in my album that I have put in order to represent each calendar month. Is there a way to force the module to sort according the album order, and not time?

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

                  @Bestboy4
                  Sorry, there is no key to sort that way in API. The only values could be used for sorting was creationTime.

                  B 2 Replies Last reply Reply Quote 0
                  • B Offline
                    Bestboy4 @Guest
                    last edited by

                    @Sean I was afraid of that. Thanks for the reply.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bestboy4 @Guest
                      last edited by

                      @Sean Sorry to keep kicking a dead horse, but if the API gives access to the creationTime, then can one create a short script to to show a particular photo for a particular date? Like, when in the month of December, only show me photos with a time stamp of 12/**/****.

                      Here is what I am getting at; I can edit the time stamp on each photo to reorganize in google photos. However, if there is a power glitch, and my Rpi resets, then the photos will start over at the beginning of the photo album. Normally this wouldn’t be a big deal if I were to use my MM as just a photo frame. However I suspect that I’m like most people, and am displaying our family calendar as well (kudos for the CalendarExt BTW). Having the photos coincide with the what time of the year it is would be very beneficial. For instance I wouldn’t want snow scenes to be displayed in the middle of July (unless I am in Australia, :-P ). So far there doesn’t seem to be a module like that.

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        xundre
                        last edited by

                        Hello,

                        The module has been working great , however , i am running into a situation now where it constantly request google authentication. I can leave and come back and there are 50 chromium tabs opened trying to authenticate to google , and it also covers other modules.

                        Any idea how to fix this ?

                        Regards!

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

                          @xundre
                          give me more details especially server log.

                          X 1 Reply Last reply Reply Quote 0
                          • X Offline
                            xundre @Guest
                            last edited by

                            @Sean said in MMM-GooglePhotos:

                            @xundre
                            give me more details especially server log.

                            Hi , Sorry not exactly sure how to get the logs.

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

                              @xundre
                              If you are requested to auth your project on each time module running, your authentification was missing something or failed.
                              Try re auth again. (https://github.com/eouia/MMM-GooglePhotos#get-auth-and-albumid)

                              X 1 Reply Last reply Reply Quote 0
                              • X Offline
                                xundre @Guest
                                last edited by

                                @Sean I do but then it comes back up again in x number of days. I go through the auth process and it works again, but then starts popping up windows to auth after sometime.

                                It used to work consistently without having to reauth , not quite sure what changed.

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

                                  @xundre
                                  Very weird. If possible, plz contact me tomorrow through Telegram (my id is @eouia) I’m convenient when normal weekdays 10am ~ 17pm in Central European Timezone. We can see what’s happening on realtime.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mcneilp
                                    last edited by

                                    If I have an album with a very large number of photos does it scan all of them? I switched to a small album and it loads nice and fast…but the large one never seems to get a photo. Is this a one time scan (for each time it starts up). Or will it always be super slow.

                                    Google Photos auto adds photos to albums based on who is in them, so its a shame to not be able to use one of these albums.

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

                                      @mcneilp If i let it run long enough it loads an image…but sometimes it goes blank for a while. I assume this is because its processing photos. Too bad it can’t just load a few at a time and run fast.

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

                                        @mcneilp
                                        Show me your config. And Google Photos has its API request limit for usage.

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          gonzonia
                                          last edited by

                                          Sean,
                                          It seems you make my favorite modules. I’m trying to get the GooglePhotos to work and it does if I leave it long enough. On startup though nothing shows (makes it real hard to configure the appearance). I’m seeing this in the log. Is the album I chose too big? I’m using the config you posted for fullscreen (except I changed to mode: hybrid).

                                          Error: { Error: Client network socket disconnected before secure TLS connection was established
                                          at TLSSocket.onConnectEnd (_tls_wrap.js:1092:19)
                                          at Object.onceWrapper (events.js:273:13)
                                          at TLSSocket.emit (events.js:187:15)
                                          at endReadableNT (_stream_readable.js:1090:12)
                                          at process._tickCallback (internal/process/next_tick.js:63:19)
                                          code: ‘ECONNRESET’,
                                          path: null,
                                          host: ‘photoslibrary.googleapis.com’,
                                          port: 443,
                                          localAddress: undefined }

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

                                            @gonzonia
                                            well, the error log is saying just network problem. However I’m not in front of machine at this moment, but i’ll check this tomorrow

                                            G 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
                                            • 6
                                            • 7
                                            • 14
                                            • 15
                                            • 5 / 15
                                            • 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