Hahaha! That was it! What a funny mistake I made.
Thanks so much for your help, and for giving me an excuse to learn about SSH!
Hahaha! That was it! What a funny mistake I made.
Thanks so much for your help, and for giving me an excuse to learn about SSH!
Hahaha! That was it! What a funny mistake I made.
Thanks so much for your help, and for giving me an excuse to learn about SSH!
Good news! I figured out how to use SSH from my Windows PC!
Bad news! Unfortunately I get the same result.
Here’s what I see:
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-GoogleAssistant
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm run token
> MMM-GoogleAssistant@4.0.7 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=1056813255520-sj1d3k0tdht863dnibig9qjctgv5799s.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr
Paste your code:
Done.
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $
Sorry for the delayed reply, I’m struggling to figure out how to connect via SSH from my Windows computer to my Pi.
I’m going to keep trying and I’ll let you know once I have it figured out!
SSH is new to me (this is my first Linux project) so I’ll try to learn it this evening and let you know how it goes!
sure! please see below:
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm run token
> MMM-GoogleAssistant@4.0.7 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=1056813255520-sj1d3k0tdht863dnibig9qjctgv5799s.apps.googleusercontent.com&redirect_uri=https%3A%2F%2Fgoogleassistant.bugsounet.fr
Paste your code:
Done.
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $
I tried the 3 lines od code above and still have the “done” issue.
@bugsounet sure! I ran node -v and it shows I am running v18.11.0.
I also tried npm run update in the MMM-GoogleAssistant directory since that resolved it for another user but it didn’t work for me, unfortunately, as I am up to date.
@bugsounet you were right! my credentials were out of date, so that issue is fixed and I see the new little oauth site.
I do have another issue though - the script for “npm run token” is going straight to “done” after I say Y to install/reinstall MMM-GoogleAssistant token, so I can’t enter the code the website generates for me, and I get the “fatal: token assistant: tokenGA.json missing” error. Any suggestions?