Solved Maybe is not a problem, but I'm confused about npm run token
-
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
-
I registered the token again and works but still offline in my google home
-
- 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
- …
-
Ok ok thanks
-
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 assistantSo you will have just to past the code
-
Perfect!! Now I understand why was that thanks
-
Perfect so, I close this issue.
It will be available on next release -
bugsounet