Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved Maybe is not a problem, but I'm confused about npm run token

    Issues
    2
    7
    51
    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.
    • V
      vaneski last edited by

      Hello again!! I was trying to register my GA to my phone’s Google home and when I run the npm token asked me for another request…

      pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm run token
      
      > MMM-GoogleAssistant@4.0.3 token
      > installer/token.sh
      
      Welcome to MMM-GoogleAssistant Token generator!
      
      Do you want to install/reinstall MMM-GoogleAssistant token? [Y/n] 
      Your choice: y
      Opening OAuth URL. Return here with your code.
      
      If your browser will not open, you can copy/paste this URL:
       https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fassistant-sdk-prototype&prompt=consent&response_type=code&client_id=478739790284-89g8a62hcsi3n21nb87l3rl5ev32shll.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr
      Paste your code: 4/0AX4XfWjC5VOAECnJBwx9guax6bUiAduN_Sio3kaHlF4y7eW7TmDdfYfxmcP-ez7Desrm2w
      Type your request: 
      
      

      I was looking for an answer but I didn’t find it, sorry If it was already the answer

      bugsounet 1 Reply Last reply Reply Quote 0
      • V
        vaneski last edited by

        I registered the token again and works but still offline in my google home

        1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder @vaneski last edited by

          1. Just updated this Wiki !

          Maybe it’s better for you ?

          @vaneski said in Maybe is not a problem, but I'm confused about npm run token:

          I registered the token again and works but still offline in my google home

          it’s under coding, see this wiki part

          Actually, it’s only used for personal search result

          • Add event calendar
          • Add to shopping list
          • Read photos
          • …
          1 Reply Last reply Reply Quote 0
          • V
            vaneski last edited by

            Ok ok thanks

            1 Reply Last reply Reply Quote 0
            • bugsounet
              bugsounet Main Coder last edited by bugsounet

              I just coded an auto conversation for replace the input Type your request:

              you will have in next release this:

              bugsounet@debian:~/MagicMirror/modules/MMM-GoogleAssistant$ npm run token
              
              > MMM-GoogleAssistant@4.0.4 token
              > installer/token.sh
              
              Welcome to MMM-GoogleAssistant Token generator!
              
              Do you want to install/reinstall MMM-GoogleAssistant token? [Y/n] 
              Your choice: y
              Opening OAuth URL. Return here with your code.
              
              If your browser will not open, you can copy/paste this URL:
               https://accounts.google.com/o/oauth2/v2/auth?<secret url>
              Paste your code: <secret code>
              [GA] Testing Conversation start...
              
              [GA] Assistant Question: What time is it?
              [GA] Assistant Response: 6:39 PM.
              [GA] Conversation Complete
              
              [GA] Testing Conversation ended.
              
              Done.
              

              [GA] Assistant Question: What time is it? is Hard coded and script will self query assistant

              So you will have just to past the code 🙂

              1 Reply Last reply Reply Quote 0
              • V
                vaneski last edited by

                Perfect!! Now I understand why was that thanks

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by

                  Perfect so, I close this issue.
                  It will be available on next release

                  1 Reply Last reply Reply Quote 0
                  • Topic has been marked as solved  bugsounet bugsounet 
                  • First post
                    Last post
                  Powered by NodeBB | @bugsounet ©2022