• 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.9k 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.
  • G Offline
    gonzonia
    last edited by May 15, 2020, 10:52 PM

    New error now that I’ve increased logging. Not sure it’s related but it does seem more specific.
    Error: getaddrinfo EAI_AGAIN photoslibrary.googleapis.com
    Which could be this. https://github.com/googleapis/google-api-nodejs-client/issues/761

    Popping up at this line (I have a log entry directly before that shows up, and one after that doesn’t)

                		var response = await this.request(token, 'mediaItems:search', 'post', null, data)
    
    
    S 1 Reply Last reply May 15, 2020, 11:00 PM Reply Quote 0
    • S Offline
      sdetweil @gonzonia
      last edited by May 15, 2020, 11:00 PM

      @gonzonia said in MMM-GooglePhotos:

      getaddrinfo EAI_AGAIN

      that means your network failed… are u using a pihole for connection security?

      seen lots of failures thru pihole…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      G 2 Replies Last reply May 16, 2020, 11:12 AM Reply Quote 0
      • G Offline
        gonzonia @sdetweil
        last edited by May 16, 2020, 11:12 AM

        @sdetweil I do but I thought I’d switched the DNS on there to not use it. Apparently not. This new error was likely the result of the update to pihole v5 (need to figure that out separately). Thanks for pointing me in the right direction!

        1 Reply Last reply Reply Quote 0
        • G Offline
          gonzonia @sdetweil
          last edited by May 17, 2020, 2:48 AM

          @sdetweil It’s interesting. I’m seeing this error now instead of the socket disconnected error. I’ve changed the DNS on the MM to not use the pihole (it’s using Google DNS).

          I don’t know why I’m seeing this vs. the other error all of a sudden. I still think it’s hard to blame the network exclusively. I have other modules too that all run fine at the exact same time.

          I’ve tried to figure out how to catch the error but I don’t think I can. From what I can tell it’s making the async call and then while waiting for a response it loses the connection for some reason. I’m not skilled enough to re-write try the async queue method referenced in the github post I linked to previously. I’m just hopeful someone who has the same problem might have the skills to fix it or at least catch it better so that the module doesn’t fail completely. (Meanwhile I’ll keep trying to identify what the problem is).

          S 1 Reply Last reply May 17, 2020, 4:20 AM Reply Quote 0
          • S Offline
            sdetweil @gonzonia
            last edited by May 17, 2020, 4:20 AM

            @gonzonia i don’t think the referenced issue is the problem, but there is a bunch of work needed to improve error recovery. I don’t KNOW for sure what the problem IS, but looking at the code there is no recovery from it.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              megagprime
              last edited by Feb 13, 2021, 12:22 PM

              anybody have any issues with the photos stop changing after a while? i cant figure it out my post

              1 Reply Last reply Reply Quote 0
              • S Offline
                soubhik-khan
                last edited by soubhik-khan Jul 18, 2021, 7:34 AM Jul 18, 2021, 7:34 AM

                I noticed this module is using huge data. Almost downloading more than 3gb/day. My refresh rate is 1.5min per photo. Anyone else noticed this? How can we reduce the data usage? Probably show photos from the cached data instead of downloading every time?

                S 1 Reply Last reply Jul 18, 2021, 11:42 AM Reply Quote 0
                • S Offline
                  sdetweil @soubhik-khan
                  last edited by sdetweil Jul 18, 2021, 11:43 AM Jul 18, 2021, 11:42 AM

                  @soubhik-khan I went over the code last month for some not refreshing problem. and it does build and use a local cache.

                  how big are the pictures? and how many are there?

                  at 1 mb each for 960 pics, it could be 1gb in a day

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Jul 18, 2021, 11:23 PM Reply Quote 0
                  • S Offline
                    soubhik-khan @sdetweil
                    last edited by Jul 18, 2021, 11:23 PM

                    @sdetweil yes you are right, I think I found the issue. Its not this module. There is something else on the pi hijacking my bandwidth! its insane ~ 24GB is last 24 hours!
                    Screenshot_20210718-141208_Home.jpg

                    I was about the do a clean install but then I thought I will just remove the unused folders first! I guess its from pocketshhinx or sphinxbase, I had installed some of those voice assistant modules! I removed those two folders and looks like now the data usage is back to normal. Will monitor for a day, if this doesnt help, will need to do a clean install

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      celliott
                      last edited by Mar 19, 2022, 4:20 AM

                      I am currently using this module to display one album that has 5 photos in it. I have it set to change the photo every 15 seconds. For some reason once it gets to the 5th photo, it only displays for barely 1 second and then starts from the beginning again. Any suggestions on how to fix this so that the last photo will display as long as the others?

                      S 1 Reply Last reply Jun 19, 2022, 12:39 PM Reply Quote 0
                      • 1
                      • 2
                      • 26
                      • 27
                      • 28
                      • 29
                      • 30
                      • 28 / 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