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

Help please!!

Scheduled Pinned Locked Moved Development
63 Posts 4 Posters 20.7k 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.
  • I Offline
    innovation
    last edited by Mar 21, 2021, 9:11 AM

    Hello,
    I want my mirror to display images that have been uploaded onto google photos.
    I used the MMM-GooglePhotos module and I have configured it. However, the image does not show up instead it says “Loading…”

    It hasn’t loaded in a long time. Could you tell me what the issue can be?
    This is the code in the config.sj

    {
    module: “MMM-GooglePhotos”,
    position: “middle_center”,
    config: {
    albums: [“DesignMirror”], // Set your album name. like [“My wedding”, “family share”, “Travle to Paris”]
    updateInterval: 1000 * 60, // minimum 10 seconds.
    sort: “new”, // “old”, “random”
    uploadAlbum: null, // Only album created by create_uploadable_album.js.
    condition: {
    fromDate: null, // Or “2018-03”, RFC … format available
    toDate: null, // Or “2019-12-25”,
    minWidth: null, // Or 400
    maxWidth: null, // Or 8000
    minHeight: null, // Or 400
    maxHeight: null, // Or 8000
    minWHRatio: null,
    maxWHRatio: null,
    // WHRatio = Width/Height ratio ( ==1 : Squared Photo, < 1 : Portraited Photo, > 1 : Landscaped Photo)
    },
    showWidth: 800, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
    showHeight: 600,
    timeFormat: “YYYY/MM/DD HH:mm”, // Or relative can be used.
    }
    },

    Thank you! Would appreciate it a lot.

    G 1 Reply Last reply Mar 21, 2021, 9:17 AM Reply Quote 0
    • G Offline
      George @innovation
      last edited by Mar 21, 2021, 9:17 AM

      @innovation , why you not use MMM-ImagesPhotos? There you have a folder, “uploads”, where you can upload your photos.

      I 1 Reply Last reply Mar 21, 2021, 11:25 AM Reply Quote 0
      • I Offline
        innovation @George
        last edited by Mar 21, 2021, 11:25 AM

        @George Hello, yes I could but I want to be able to upload the images from my phone - so that it can be displayed onto the mirror. Is that possible?

        S 1 Reply Last reply Mar 21, 2021, 12:06 PM Reply Quote 0
        • S Offline
          sdetweil @innovation
          last edited by sdetweil Mar 21, 2021, 12:07 PM Mar 21, 2021, 12:06 PM

          @innovation I have a module that provides a QR code image that lets u upload pics from your phone to whatever source you choose.

          I use imagesphotos as my photo display module

          see
          https://github.com/sdetweil/uploadPics

          I need to debug the Google photos problem as I advised my brother in law to use that.

          u did provide a credit card as part of the Google account setup, right? you must

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Mar 21, 2021, 12:52 PM Reply Quote 0
          • B Offline
            barlouka @sdetweil
            last edited by Mar 21, 2021, 12:52 PM

            Very interesting module. How do you configure exactly the config.js? I have e message on the mirror with undefined. Here is my config file :

            {
            module: ‘uploadPics’,
            position: ‘bottom_left’,
            config: {
            dest: “/home/pi/MagicMirror/module/MMMM-ImagesPhotos/uploads”,
            }
            },

            @sdetweil

            S 1 Reply Last reply Mar 21, 2021, 1:16 PM Reply Quote 0
            • S Offline
              sdetweil @barlouka
              last edited by sdetweil Mar 21, 2021, 1:33 PM Mar 21, 2021, 1:16 PM

              @barlouka did u run the npm install?

              the doc says exactly for imagesphotos and it’s the default. so u don’t have to add the dest value

              dest:'../modules/MMM-ImagesPhotos/uploads'
              

              there are two programs launched in the background…

              qrcp
              and
              exiftran

              can u try to run those in a terminal window

              with --help as a parm

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              I 1 Reply Last reply Mar 21, 2021, 4:10 PM Reply Quote 0
              • S Offline
                sdetweil
                last edited by sdetweil Mar 21, 2021, 1:57 PM Mar 21, 2021, 1:54 PM

                unrelated to my module, GP module works great (new gransdon)
                xmas.jpeg

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Mar 21, 2021, 2:03 PM Reply Quote 1
                • S Offline
                  sdetweil @sdetweil
                  last edited by Mar 21, 2021, 2:03 PM

                  my developers window console

                  Load script: modules/MMM-GooglePhotos/MMM-GooglePhotos.js
                  module.js:516 Module registered: MMM-GooglePhotos
                  loader.js:157 Bootstrapping module: MMM-GooglePhotos
                  loader.js:162 Scripts loaded for: MMM-GooglePhotos
                  loader.js:204 Load stylesheet: modules/MMM-GooglePhotos/MMM-GooglePhotos.css
                  loader.js:164 Styles loaded for: MMM-GooglePhotos
                  loader.js:166 Translations loaded for: MMM-GooglePhotos
                  MMM-GooglePhotos.js:165 [GPHOTO] Image loaded: https://lh3.googleusercontent.com/lr/AFBm1_bZ6affCvFzH-wRT8AEZAoipqL8nwQ-p9dUdQL9zfSaQ0GecFooCneL3O5dn8Ii7TH6REVMYrvqiXkUas_Ig6gSIAeIzQ8CAs...
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    innovation @sdetweil
                    last edited by Mar 21, 2021, 4:10 PM

                    @sdetweil Hey it is showing ‘Undefined’ for me too.
                    I did run the npm install.

                    {
                    module: ‘uploadPics’,
                    position: ‘bottom_left’, //module position
                    config: {
                    dest: “…/module/MMMM-ImagesPhotos/uploads”,
                    }
                    },

                    S 1 Reply Last reply Mar 21, 2021, 4:11 PM Reply Quote 0
                    • S Offline
                      sdetweil @innovation
                      last edited by sdetweil Mar 21, 2021, 4:11 PM Mar 21, 2021, 4:11 PM

                      @innovation

                      there are two programs launched in the background…

                      qrcp
                      and
                      exiftran

                      can u try to run those in a terminal window

                      also, look in the terminal window where you do npm start

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      I 1 Reply Last reply Mar 21, 2021, 4:13 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 1 / 7
                      1 / 7
                      • First post
                        3/63
                        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