How to install voice activated google assistant for raspberry pi, also known as google home. this is a early adoption of integrating google home to our raspberry pi, more tutorials will follow soon. thanks for the view!!

Equipment List

USB Microphone ► http://amzn.to/2qCx4zY

Raspberry Pi 3 ► Amazon | Ebay

Websites

developer console

https://console.cloud.google.com/project

google assistant tutorial

https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/config-dev-project-and-account

command line:

sudo apt-get install python3-dev python3-venv
python3 -m venv env
env/bin/python -m pip install --upgrade pip setuptools --upgrade
source env/bin/activate

Downloading libs for google assistant

python -m pip install --upgrade https://github.com/googlesamples/assistant-sdk-python/releases/download/0.3.0/google_assistant_library-0.0.2-py2.py3-none-linux_armv7l.whl

oauth tool

python -m pip install --upgrade google-auth-oauthlib[tool]

obtaining oauth key. replace idxxx with your client id file

google-oauthlib-tool --client-secrets /home/pi/Downloads/client_secret_client-idxxx.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

to run google assistant

google-assistant-demo