carolinedunn / Google-Home-RPi-AutoBoot

How to Automatically Boot your Raspberry Pi 3 into Google Voice Assistant with the AIY Voice Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google-Home-RPi-AutoBoot

How to Automatically Boot your Raspberry Pi 3 into Google Voice Assistant with the AIY Voice Kit

You will need the Google AIY Voice Kit V1for this project. Check out my corresponding video here - https://youtu.be/dFL4ePKWfic

Please follow all instructions - https://aiyprojects.withgoogle.com/voice-v1/ and stop AFTER you have verified your project works here - https://aiyprojects.withgoogle.com/voice-v1/#users-guide-3-using-your-device

Video Tutorial from MicroCenter here - https://www.youtube.com/playlist?list=PL2vlFWOHEKMi_1vXEC5a-VaIe3qb7F3dw

To Auto-Boot into Google Home:

Open a Terminal on the Raspberry Pi Desktop.

Create the service file. Type:

sudo nano /etc/systemd/system/assist.service

Copy and paste all text in the assist.service file included in this repository.

[Unit]
Description=Assist @ reboot

[Service]
Environment=XDG_RUNTIME_DIR=/run/user/1000
ExecStart=/home/pi/AIY-projects-python/src/examples/voice/main.py
Restart=always
User=pi
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=assist

[Install]
WantedBy=multi-user.target

Control-X to exit, and Y to save. Press Enter to complete the save.

Next, copy your assistant demo to pi folder

cd ~/AIY-projects-python/src/examples/voice
cp assistant_library_demo.py main.py

Enable it (for next boot) by typing in the terminal:

sudo systemctl enable assist.service

Start it by typing:

sudo systemctl start assist.service

Reboot your Raspberry Pi

After you get it working, here are links to Easter Eggs / fun stuff to ask your Google Home

https://www.the-ambient.com/features/best-google-home-easter-eggs-166

https://www.pocket-lint.com/smart-home/news/google/143472-google-assistant-easter-eggs-your-complete-guide-to-hidden-assistant-commands

https://www.techadvisor.co.uk/feature/digital-home/funny-google-assistant-3659188/

About

How to Automatically Boot your Raspberry Pi 3 into Google Voice Assistant with the AIY Voice Kit