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/
User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Google assistant with voice bonnet

Post by ps_nithin »

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,

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Google assistant with voice bonnet

Post by mikeysklar »

Do you have the client_secret.json file in your home directory?

https://learn.adafruit.com/using-google ... en-3074439

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

Yes, i have.

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Google assistant with voice bonnet

Post by mikeysklar »

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

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

Please take a look.
IMG_20221015_213825.jpg
IMG_20221015_213825.jpg (949.11 KiB) Viewed 280 times

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

When I open the link this is what I am getting.
IMG_20221015_213914.jpg
IMG_20221015_213914.jpg (901.1 KiB) Viewed 279 times

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

When I check the error details this is what I am getting.
IMG_20221015_213934.jpg
IMG_20221015_213934.jpg (759.21 KiB) Viewed 279 times

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Google assistant with voice bonnet

Post by mikeysklar »

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.
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.

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

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.

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Google assistant with voice bonnet

Post by mikeysklar »

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.
Screenshot from 2022-10-18 15-55-36.png
Screenshot from 2022-10-18 15-55-36.png (45.33 KiB) Viewed 182 times

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

Okay. I'll wait. Thanks for the support.

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

Found this https://developers.google.com/identity/ ... ip-address but not sure how to use it.

User avatar
mikeysklar
 
Posts: 14165
Joined: Mon Aug 01, 2016 8:10 pm

Re: Google assistant with voice bonnet

Post by mikeysklar »

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.

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

Okay.

User avatar
ps_nithin
 
Posts: 33
Joined: Fri Sep 30, 2022 11:17 pm

Re: Google assistant with voice bonnet

Post by ps_nithin »

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

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”