Know How...

Apr 24th 2017

Know How... 305

RasPi Alexa

Digital assistants, and how to build your own RasPi Alexa with voice activation.

Although the show is no longer in production, you can enjoy episodes from the TWiT Archives.
Category: Help & How To

Digital assistants, and how to build your own RasPi Alexa with voice activation.

 

Amazon Echo $179.99       
"- Better for Amazon Services
- Speaker, omnidirectional
- Better as assistant, supports more services
- Smart home controls
- Streaming (for Amazon services, Spotify, Amazon Music, Audible, etc.)"  

    
Google Home $129.99        
"- Better for Google Services
- Works with Keep / Express
- Answering questions
- Streaming (for Google services, Play Music, Youtube, etc.)
- Control multiroom system with Chromecast Audio"    

 

DIY AlexaPi    

Parts
- Raspberry Pi (Model 3 or Model 2)
- Micro USB cable, and power adapter
- 8 GB or larger Micro SD
- USB Mic
- Speaker
- Keyboard and Mouse

Amazon Developer
Link to site - https://developer.amazon.com/
Web Settings
- Allowed Origins https://localhost:3000
- Allowed Return URL's https://localhost:3000/authresponse

Terminal Commands

Install Alexa


cd Desktop
git clone https://github.com/alexa/alexa-avs-sample-app.git
cd ~/Desktop/alexa-avs-sample-app
nano automated_install.sh

Fill in the fields with the information from your Developer account
ProductID=my_device
Client ID
ClientSecrect

hit CTRL X to save

cd ~/Desktop/alexa-avs-sample-app
. automate_install.sh

Run Alexa Service
cd ~/Desktop/alexa-avs-sample-app/samples
cd companionService && npm start

Run Sample App to Confirm Account
cd ~/Desktop/alexa-avs-sample-app/samples
cd javaclient && mvn exec:exec

Start Wake Word
cd ~/Desktop/alexa-avs-sample-app/samples
cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai

Custom Wake Word    

Connect with us!

Thanks to CacheFly for the bandwidth for this show.