MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. pat59
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    P
    Offline
    • Profile
    • Following 2
    • Followers 0
    • Topics 28
    • Posts 143
    • Groups 0

    Posts

    Recent Best Controversial
    • committee update

      Good morning
      after an update of a committee with remot control my screen does not restart thank you

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      Good morning
      good here everything works thanking you for your help and your patience. Thank you again my friend

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      Hello my friend
      I returned to the googe console I managed to move on to the next stage, I copied the module in config.js I placed a photo in the album, it downloaded but nothing happened, it was looking for loading, what to do, thank you.
      I did shift control. I went to console, nothing written in red20230206_101813.jpg

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      Good morning .
      does the location of the https://localhost redirect uri have a specific place in the API key, thank you
      Cordially

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      Good morning
      ok I will look at this during the day, I would say thank you again for your patience.
      thank you my friend

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      I understand that it is necessary to modify the credential.js key by adding redirect_uris but I do not see where the site is.
      {“installed”:{“client_id”:“315406544684-crlbfk6kon4bel61nkcpj59dt6s352dm.apps.googleusercontent.com”,“project_id”:“magicmirror-376414”,“auth_uri”:“https://accounts.google.com/o/oauth2 /auth”,“token_uri”:“https://oauth2.googleapis.com/token",“auth_provider_x509_cert_url”:“https://www.googleapis.com/oauth2/v1/certs”,“client_secret”:"GOCSPX -nqP06oYf_sZqPBlPJEw_hceNZhy2”}}

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      no, I haven’t changed anything. Simply downloaded client ID and client secret code then placed in the googlephotos module.
      I will try to find by searching and come back to you if I do not find I thank you in advance thank you my friend

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      yes, I did download a file that I renamed credential.js and placed in the googlePhotos module of the magicmirror.
      that’s good what you’re talking about thank you

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      @sdetweil Hello and thank you for your feedback.
      no nothing do I can not understand what I have to do sorry thank you

      posted in Troubleshooting
      P
      pat59
    • RE: modules

      Hello
      I couldn’t get it to work, so I started all over again.
      now it works , i installed googlephotos and i get error message ,so it can not open google account browser to get code thanks for your help.

      pi@raspberrypi:~/MagicMirror/modules/MMM-GooglePhotos $ node generate_token_v2.js

      (node:3448) UnhandledPromiseRejectionWarning: Error: The provided keyfile does not define a valid
      redirect URI. There must be at least one redirect URI defined, and this sample
      assumes it redirects to ‘http://localhost:3000/oauth2callback’. Please edit
      your keyfile, and add a ‘redirect_uris’ section. For example:

      “redirect_uris”: [
      “http://localhost:3000/oauth2callback”
      ]

      at authenticate (/home/pi/MagicMirror/modules/MMM-GooglePhotos/node_modules/@google-cloud/local-auth/build/src/index.js:51:15)
      at generate (/home/pi/MagicMirror/modules/MMM-GooglePhotos/generate_token_v2.js:13:24)
      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GooglePhotos/generate_token_v2.js:27:1)
      at Module._compile (internal/modules/cjs/loader.js:778:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
      at Module.load (internal/modules/cjs/loader.js:653:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
      at startup (internal/bootstrap/node.js:283:19)
      

      (node:3448) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
      (node:3448) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      pi@rasp

      posted in Troubleshooting
      P
      pat59
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 11 / 15