MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-GooglePhotos

    Entertainment
    55
    281
    52371
    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.
    • K
      kivlow last edited by kivlow

      Hello i use node auth_and_test.js but i dont have any album ID in terminal only info : auth_and_test started.
      What to do to get album ID ??

      ? 1 Reply Last reply Reply Quote 0
      • K
        kapsolas Module Developer last edited by

        If you don’t see any response, it may be because an error is being returned by Google. Errors in the script are suppressed now.

        If you are familiar with updating the code, you can add a console.log(body) message to see the error.

        1 Reply Last reply Reply Quote 0
        • K
          kivlow last edited by

          @kapsolas said in MMM-GooglePhotos:

          console.log(body)

          in auth_andtes is console log error and i dont have any just info in console:
          auth_and_test started
          so i dont have i thing any error but no album ID 😕

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

            @kivlow At your first execution, have you countered allowance process?

            K 1 Reply Last reply Reply Quote 0
            • R
              richfreeman last edited by

              Hi Sean,

              Great work.

              Just set this up, all went ok to the point where the photo’s don’t display.
              I have a section on the MM screen cleared where the default 800x600 image would be displayed, but it is a black screen. I have the following error on the console after starting MM.sh appearing every refresh interval.
              “There is no scanned photo currently.”
              The album has several photo’s within it, The album name appeared next to the Album ID, I’ve copied the Album ID only into my config.

              Any pointers would be great.

              Thanks again!

              R 1 Reply Last reply Reply Quote 0
              • R
                richfreeman @richfreeman last edited by

                @richfreeman
                DOH
                Remove the <>
                Change “<>” to simply “Album ID”
                No <> needed.
                Photo’s appeared !
                Thanks.

                1 Reply Last reply Reply Quote 0
                • K
                  kivlow @Guest last edited by

                  @sean said in MMM-GooglePhotos:

                  At your first execution, have you countered allowance process?

                  At myr first execution terminal not react over 5min after auth_and_test command and i have info to kill suspended process.
                  After that when i wrote auth_and_test i get only info that is started 😕

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

                    @kivlow
                    I suspect you have executed node auth_and_test.js in shell terminal on your PC via SSH. right?
                    If you run that commands on your RPI directly, it should try to open a browser for authenticating process.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kivlow last edited by

                      @sean
                      i power on RPI with raspbian then open from upper taskbar terminal and wrote node auth_and_test.js
                      how to wrote it directly ??

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

                        @kivlow
                        What kind of RPI do you use? As you said “taskbar”, Is it RPI 2 or 3 with Jessie or Stretch Desktop, right?
                        And, Have RPI had any browser (Chromium or Midori?)?

                        I’ll change some code for the case of not opening browser automatically, Please wait a while.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 28
                        • 29
                        • 2 / 29
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy