• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 234.6k 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.
  • ? Offline
    A Former User @mosheva
    last edited by Nov 7, 2019, 2:11 PM

    @mosheva
    What log says?

    1 Reply Last reply Reply Quote 0
    • G Offline
      guythnick
      last edited by Nov 11, 2019, 12:29 AM

      I would have thought this had been asked, but I could not find it in this thread:

      Is there any way to set the length of time (speed) the pictures will show for? I am using basically default settings in an album with 217 pictures, and the rate they display is very quick. Sometimes they will pop up several times a second, and then slow back down to around 10 seconds per picture. I would rather set it for 30 or even 60 seconds before it rotates. Is this possible?

      M 1 Reply Last reply Nov 11, 2019, 1:29 AM Reply Quote 0
      • M Offline
        mrdenmark @guythnick
        last edited by Nov 11, 2019, 1:29 AM

        @guythnick
        Try changing scaninterval and refreshinterval in the config

        G 1 Reply Last reply Nov 11, 2019, 3:48 PM Reply Quote 0
        • G Offline
          guythnick @mrdenmark
          last edited by Nov 11, 2019, 3:48 PM

          @mrdenmark
          My settings are as follows:

          refreshInterval: 1000*60,  
          scanInterval: 1000*60*10, // too many scans might cause API quota limit also.
          

          So, that should be 1 minute and 10 minutes for refresh and scan intervals, respectively. I have tried changing this, and it does not affect the speed at which the individual pictures themselves transition.

          1 Reply Last reply Reply Quote 0
          • M Offline
            MisterT
            last edited by Nov 23, 2019, 1:55 PM

            Hi @Sean, i have a question about MMM-GooglePhotos. It(s possible to display a lot of google photos locations ?
            that’s to say i want to display like a mosaic of six google photos on a same page.
            I try to add for exemple two MMM-google photos on my config.js with differents album paths but only one photo is shown.
            Have you an idea ?

            ? 1 Reply Last reply Nov 25, 2019, 3:00 PM Reply Quote 0
            • ? Offline
              A Former User @MisterT
              last edited by Nov 25, 2019, 3:00 PM

              @MisterT
              No, impossible, sorry. It is not designed for that purpose.

              1 Reply Last reply Reply Quote 0
              • R Offline
                rogogu
                last edited by Jan 6, 2020, 3:30 PM

                Hey, first thank you for this great module!

                Currently i have about 50 pictures in my google album and set the sorting to random. I think it all works as intendet but it would be nice if the pictures are only shown once until every picture in the album was displayed.

                Do you think this is possible? Like assigning a specific number to each photo, putting it in an array when it was displayed and before the next one is shown it checks the array if the next photo was already displayed.

                Greetings from Germany
                Robert

                S 1 Reply Last reply Jan 6, 2020, 6:58 PM Reply Quote 0
                • S Offline
                  sdetweil @rogogu
                  last edited by sdetweil Jan 7, 2020, 6:10 PM Jan 6, 2020, 6:58 PM

                  @rogogu I would do it a different way, saves work…

                  the list is already ramdomized, so the code just walks thru the list.

                  I would add another parm, refreshAtEnd = true/false(default)

                  if the parm is true, then do NOT start the timer in node_helper

                  at refresh on end of list in true, then this.scanPhotos()

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  R 1 Reply Last reply Jan 7, 2020, 6:06 PM Reply Quote 0
                  • R Offline
                    rogogu @sdetweil
                    last edited by Jan 7, 2020, 6:06 PM

                    @sdetweil okay this seems to do the job. but couldn´t this cause problems with the api limit or base url expiring when there are to many/less photos in the album? let´s say there are 100 photos and the refreshInterval is set to 1min. so it takes 100min before it scans the photos again…

                    S 1 Reply Last reply Jan 7, 2020, 6:11 PM Reply Quote 0
                    • S Offline
                      sdetweil @rogogu
                      last edited by sdetweil Jan 7, 2020, 6:25 PM Jan 7, 2020, 6:11 PM

                      @rogogu maybe… could be why it refreshes even tho not done

                      my code gets next image, and if not connected redoes the authentication…
                      I get the list and then walk the list

                      but it looks like code tries to handle that

                        scanPhotos: function() {
                          this.tempItems = []
                          var auth = new Auth(this.authConfig)
                          auth.on('ready', (client) => {
                            this.accessToken = client.credentials.access_token
                            this.getPhotos()
                          })
                        },
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 29
                      • 30
                      • 16 / 30
                      • 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