A DIY Google Home using your Raspberry Pi.
In this project we are building a DIY Google Home using your Raspberry Pi, also known as Google Assistant.
Things You Need
- Raspberry Pi 3
- Google Account
- Speaker (Follow this tutorial Maker Your Own Speaker)
- Mic (am using a webcam, with a built-in mic)
Step 1: Setup Raspberry Pi
Follow this tutorial: Setting VNC Server in Raspberry Pi to set up yours.
Step 2: Setup Google Assistant API
2.1: Open Browser in Pi and go to: https://console.cloud.google.com/cloud-resource-manager
2.2: Click CREATE PROJECT for creating new project
2.3: Name your project. Here, mine is: googlepi
2.4: Open your project by clicking your project name
2.5: Open API Manager Dashboard
and click ENABLE API
Click the Enable Button for enabling Google Assistant API
Click the Enable Button for enabling Google Assistant API
Click the Enable Button for enabling Google Assistant API
Click OAuth Clinet ID
Choose Other and give it a name and hit Create button .
Now you created and authentication key.
Download the Credential by clicking down arrow. You'll get an json file.
We're done with the authenticating and adding the apps to your project now. We're going to start downloading the tools to get Google Assistant on your Pi.
Step 3: Setup Google Assistant in Pi
3.1: Setup python virtual environment
Sudo apt-get install python3-dev python3-venv
3.2: Download Dependencies
Sudo apt-get install portaudio19-dev libffi-dev libssl-dev