I am using adafruit voice bonnet with a raspberry pi zero w. I am unable to generate authorization token
by following this guide.https://learn.adafruit.com/using-google ... vice-setup. I suppose that is because google "oauth out-of-band" flow is now depreciated. Is there an updated guide to have google assistant working on a raspberry pi?
Thanks,
Google assistant with voice bonnet
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Google assistant with voice bonnet
Do you have the client_secret.json file in your home directory?
https://learn.adafruit.com/using-google ... en-3074439
https://learn.adafruit.com/using-google ... en-3074439
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
Yes, i have.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Google assistant with voice bonnet
Can you show the command being executed, that the file is in place and the error output. I of course do not want you to post he contents of the secrets file.
Code: Select all
google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless --client-secrets ~/client_secret.json
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
Please take a look.
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
When I open the link this is what I am getting.
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
When I check the error details this is what I am getting.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Google assistant with voice bonnet
Thank you for the photos as always they help quite a bit.
You need to be running Lite version of Raspberry Pi OS for Google Voice.
You need to be running Lite version of Raspberry Pi OS for Google Voice.
Make sure you are using the Lite version of Raspberry Pi OS. The desktop version has had some issues with Google Voice and the audio driver.
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
No. I am running Pi OS bullseye lite. I am using my laptop to ssh into the pi. I then copy the URL and open in browser on laptop.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Google assistant with voice bonnet
Thank you for your patience and I see what you mean.
I setup a fresh Pi4 Bullseye Lite install with full updates and go pretty much the same error. I was also very careful to complete each step in the Google Setup and Device Setup pages of the Adafruit Google Assistant guide.
I'll ask the guide author to have a look.
I setup a fresh Pi4 Bullseye Lite install with full updates and go pretty much the same error. I was also very careful to complete each step in the Google Setup and Device Setup pages of the Adafruit Google Assistant guide.
I'll ask the guide author to have a look.
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
Okay. I'll wait. Thanks for the support.
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
Found this https://developers.google.com/identity/ ... ip-address but not sure how to use it.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Google assistant with voice bonnet
The guide maintainer took a look at this issue. Currently a significant Google infrastructure change is suspected so this will mean some substantial changes to the Adafruit guide need to be made before Google Assist will be usable again. It is on the list.
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
- ps_nithin
- Posts: 33
- Joined: Fri Sep 30, 2022 11:17 pm
Re: Google assistant with voice bonnet
The author must be busy. My zumo robot needs to wait before it can "hear". https://twitter.com/ps__nithin/status/1 ... frcpw&s=19
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/