• 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.

Google Photos API changing - MMM-GooglePhotos will stop working soon.

Scheduled Pinned Locked Moved Entertainment
22 Posts 4 Posters 2.9k Views 4 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 @gonzonia
    last edited by sdetweil Feb 24, 2025, 7:30 PM Feb 24, 2025, 6:24 PM

    @gonzonia modulename.js runs in a browser
    but a browser cannot access files, except thru a web server,
    also cant access hardware (gpio)

    so the node_helper runs on server as task, so it can

    there is an api to send request to helper and get response back,
    this module uses another trick, by accessing a web link to a file

    anyhow , here is a drawing i did years ago to explain this, its truncated on the side on purpose, as its just repetitive

    module-parts.jpeg

    my sample module shows all that operation
    https://github.com/sdetweil/SampleModule

    anyhow, one could extend the response to include the exif data

    here is a nodejs lib that does exif
    https://www.npmjs.com/package/exif

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    G 1 Reply Last reply Feb 24, 2025, 8:35 PM Reply Quote 0
    • G Offline
      gonzonia @sdetweil
      last edited by Feb 24, 2025, 8:35 PM

      @sdetweil Thanks. That’s helpful. But I think it’s still above my pay-grade. I may poke around and see if I can figure something out, but I’m not sure I can. I conceptually understand what’s happening, but don’t see it in the code in a way that is clicking for me such that I can just make a call to an Exif method where it pulls the data from the file.

      I’ve come across a couple of other modules who are doing some of it, but again, I’m not quite sure I understand how the data is being passed around so that I can correctly apply the logic in the right place.

      G 1 Reply Last reply Feb 24, 2025, 8:51 PM Reply Quote 0
      • G Offline
        gonzonia @gonzonia
        last edited by Feb 24, 2025, 8:51 PM

        @sdetweil MMM-BackgroundSlideshow seems to do exactly what I want, but I think your handling of formatting the images is better.

        1 Reply Last reply Reply Quote 0
        • S sdetweil referenced this topic on May 6, 2025, 12:44 PM
        • S sdetweil referenced this topic on May 30, 2025, 8:06 PM
        • S Offline
          Sampleswow @sdetweil
          last edited by 11 days ago

          @sdetweil Sorry about the late reply i am just now finding out about the google-photos issue, i like your remedy but as i was looking at your fork i couldn’t figure out how to point the check file to my NAS i can defiantly cre4ate a specific folder on my NAS but I’m not sure where i would input that information to your fork??

          S 1 Reply Last reply 11 days ago Reply Quote 0
          • S Offline
            sdetweil @Sampleswow
            last edited by 11 days ago

            @Sampleswow so you have to mount the Nas file servr share to
            your Linux machine

            Once you do that
            This module uses a specific folder, uploads, to find pics

            Then you rensmentyevexisting uploads out of the way and use the ln command to make a link uploads to the mounted Nas folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 3
            • 3 / 3
            3 / 3
            • First post
              22/22
              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