Sudo apt install google assistant
![sudo apt install google assistant sudo apt install google assistant](https://cdn-learn.adafruit.com/guides/cropped_images/000/003/145/medium640thumb/main_image.gif)
- #Sudo apt install google assistant how to
- #Sudo apt install google assistant driver
- #Sudo apt install google assistant code
Installation method: Home Assistant SupervisedĠ012. I have modified this Guide to be Debian since Ubuntu Server is no longer officially supported Important Please Readīefore continuing make sure you read and understand the following documents:Ġ014.
#Sudo apt install google assistant how to
pcm.This guide will go over how to install Home Assistant (Supervised) on Debian based Linux Distributions. Make sure that you replace and with their respective values that you retrieved during Step 1.
![sudo apt install google assistant sudo apt install google assistant](https://aws1.discourse-cdn.com/standard14/uploads/matrix/original/1X/447c9a441191887f19da0a499d848035a0e8a710.png)
nano /home/pi/.asoundrcģ. Within this file enter the following lines. We can create this file by running the following command within the terminal.
#Sudo apt install google assistant driver
The .asoundrc file helps by defining which audio devices the audio driver should be utilizing. aplay -lĢ. Now that we have grabbed our device and card numbers for both the microphone and our audio output we need to create a file named .asoundrc in the pi users home directory. Note that the Raspberry Pi’s 3.5mm-jack is typically labeled as Analog or bcm2835 ALSA, with the HDMI output being identified as bcm2835 IEC958/HDMI. arecord -lġb. Now to locate your speaker, we will be utilizing the following command.Īgain write down the card number and device number. Write down both the card number and the device number for it. Our steps below will show you have to get the correct numbers for these devices.ġa. Locate your USB microphone by utilizing the following command. To get started with setting up the audio on the Raspberry Pi we must first obtain the card and device numbers for our various inputs and outputs. The Google Assistant SDK that we will be using has some strict requirements for it to work correctly. You will now be taken to the following screen, click the “Register Model” button to continue.ġ. Now that we have set up an account on the Google Actions Console we must configure the audio for it.
![sudo apt install google assistant sudo apt install google assistant](https://www.factoryforward.com/wp-content/uploads/2018/09/3.Enable-Google-Assistant-API.png)
You should see some text saying, “Are you looking for device registration? Click here“.Īll you need to do to proceed is to click the “click here” text. Now back in the other tab where you created the project, scroll down to the bottom of the screen. Once you are sure you have your current project selected, click the “Enable” button.
![sudo apt install google assistant sudo apt install google assistant](https://hackster.imgix.net/uploads/attachments/300998/raspberrygoogle_EqeBkOAuqj.png)
Now before you go ahead and click the “Enable” button make sure that you have your project selected. In a new tab, go to the Google developers console and enable the Google Embedded Assistant API. Once you have set the Project Name and chosen your language and country, click the “Create Project” button. On this next screen, you will be asked to enter a Project Name In addition to a project name you need to set both your country and your language. On here you will want to click the “Add/Import project” button as shown in our screenshot above. Once you have logged into your account, you will be greeted with the following screen. With your Google account ready to go to the Google Console Actions dashboard.
#Sudo apt install google assistant code
Before we get started with setting up the Google Assistant code on the Raspberry Pi itself, we must first register and set up a project on the Google Actions Console.