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 296.4k 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.
    • S Offline
      Samwise @Guest
      last edited by Samwise

      @Sean where do i find the log?

      Also, this popped up: pi@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.7.1 start /home/pi/MagicMirror
      sh run-start.sh

      /home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      npm ERR! magicmirror@2.7.1 start: sh run-start.sh
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.7.1 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2020-02-29T10_46_17_131Z-debug.log

      1 Reply Last reply Reply Quote 0
      • L Offline
        lucBtrl @Guest
        last edited by

        @Sean

        Thanks a lot Sean !
        It appears indeed that the credentials generated was not the right type (I may have not selected the right option in google api console). Worked better the second time !

        Marvelous results of the module

        1 Reply Last reply Reply Quote 0
        • A Offline
          ayangu
          last edited by ayangu

          @Sean I logged into my google account and allowed consent. However, once I input the code back into the terminal, all I get is auth_and_test started.

          What am I doing wrong?

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

            @ayangu
            when you did auth_and_test, token.json was created?

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

              New Updates

              [2.0.0] - 2020/03/23

              • Notice: Whole new build from scratch. new installation and configuration is needed.
              • Removed: deprecated dependency request. Instead, using Axios and https
              • Changed: More stable displaying photos
              • Changed: New looks.
              • Changed: Access album by name not by id.
              • Added: You can filter photos by condition.
              • Added: GPHOTO_NEXT, GPHOTO_PREVIOUS notifications are supported.
              • Added: GPHOTO_UPLOAD notification is supported. Now MMM-Selfieshot and MMM-TelegramBot can upload pictures with this module.
              • Removed: mode, scanInterval, opacity is removed because no more necessary.

              Screenshot

              G 1 Reply Last reply Reply Quote 1
              • R Offline
                roccodicarlo
                last edited by

                I am running MM on a RP zero W and I only have the RPi command line. It is running in server mode. When I execute node generate_token.js, it does not bring up a browser window where I can authorize for a token. Do I need to do something different?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @roccodicarlo
                  last edited by

                  @roccodicarlo open the chromium-browser to localhost:8080 to get the UI (if this is a graphical desktop pi 0)

                  when/how did u install? my automated script does the setup to run chromium if the graphical desktop exists

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    roccodicarlo
                    last edited by

                    No this is not the graphical desktop, it is all CLI.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @roccodicarlo
                      last edited by

                      @roccodicarlo ok, then the token tool won’t work…

                      are u doing the cli on purpose?

                      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
                        last edited by

                        Copy url and open browser in other pc. Do the process then return to your rpi.

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