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.

    Problems with certificate with MMM- Google Photos

    Scheduled Pinned Locked Moved Troubleshooting
    15 Posts 5 Posters 4.3k Views 5 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.
    • JanneJ Offline
      Janne
      last edited by

      Hi,
      I am trying to implement Google Photo module. Thinking it could be kind of fun new year’s eve to invite all my guests to a shared photo folder.
      I have followed the instructions and have also received a credentials file that I have renamed to credentials.json and placed it in /home/pi/MagicMirror/modules/MMM-GooglePhotos

      But when I use the command node auth_and_test.js I receive an error.

      Any suggestions?

      0_1543952186283_4d66f463-ad18-4897-a5f9-f0aaeb04f1f8-image.png

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

        @janne
        Your credentials.json seems being maden wrongly. You might have missed something or chosen different option with my instruction when you made credentials.
        Open .json and see the first word. It should have {“installed” : ... or something similar.

        https://github.com/eouia/MMM-GooglePhotos#get-auth-and-albumid
        I think you made something wrong on step 7.

        1 Reply Last reply Reply Quote 0
        • JanneJ Offline
          Janne
          last edited by

          Hi Sean,
          You were right.
          I created a new project and now I get an ID when I send the command node auth_and_test.js
          0_1545923858542_f886744e-fb96-4335-9341-7016ade63d00-image.png

          I have more or less just copied your config example.

          0_1545923752184_6818f876-ed28-4e81-b66a-18667c7a0ef5-image.png

          But this is not valid in the config file.
          0_1545923968067_486d72ef-4b9d-4843-9e8d-003c0bc3cd53-image.png

          1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by

            The value for albumId should be written with quotation marks "AFktr.....26Z3s",
            Other than that I cannot spot any error in your snippet.

            1 Reply Last reply Reply Quote 0
            • JanneJ Offline
              Janne
              last edited by Janne

              Thanks… That solved it…

              You guys are awesome (y)

              So now my MMM is totally ready for New Years Eve.
              The menu is on a MMM-Memo and all guests is getting access to the google album so they can post pictures to the MMM.

              1 Reply Last reply Reply Quote 0
              • E Offline
                Ernst-Jan
                last edited by

                Hi All,
                When I run the auth_and_test.js action on my PI. Will there be the popup for the approval on my google account but he will not go back.

                0_1549621084094_Schermafbeelding 2019-02-08 om 11.17.12.png

                0_1549621140511_Schermafbeelding 2019-02-08 om 11.17.25.png

                I some one a idee what wrong

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

                  @ernst-jan
                  If you confirmed auth on your browser (Selecting your account and approval), Some code (4/ABCD1234BLAHBLAHBLAH....) will be shown after confirmation. Copy that code and paste it into your terminal shell (You can change the window with Ctrl+Tab)

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    Ernst-Jan @Guest
                    last edited by

                    @seanif I click on my google account he will not log on

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

                      @ernst-jan
                      When you click your account, this page should be shown. doesn’t ?

                      0_1549634052144_sc2.png

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Ernst-Jan @Guest
                        last edited by

                        @sean Sorry i only see this.

                        0_1549634152904_Schermafbeelding 2019-02-08 om 14.55.26.png

                        ? 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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