Skip to content

max246/google-voice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Voice for Raspberry Pi

This project allow to have a hot word ( in this case JARVIS ), to trigger Google Assistant and ask any questions. The future version of the SDK will probably integrate the hot word but in the meantime this can be used.

Google Assistant

Install Google Assistant SDK on your Raspberry Pi (preferably on version 3) and test the sample to make sure the authentication is working. https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/

Locate the file assistant_credentials.json and make sure you update the one on this folder to make the script working with Google services.

Snowboy

This project has been setup with the keyword JARVIS, but on the main.py, you can modify this file, just download the file on the root and update on the python file.

Custom command

I used this base code on my home setup, I left the method to intercept a command voice and do some custom actions, look at the Voice.py

How to run it

To run the script just type

python main.py

This will start the script and wait for the hot word, when the word has been detected, the google assistant is called.

Note: The first time, google assistant takes a bit of time to start the audio feed.

License

Feel free to use this code as you would like, I am more than happy to share what I found out that works for me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages