Skip to content

Latest commit

 

History

History
102 lines (87 loc) · 3.78 KB

README.md

File metadata and controls

102 lines (87 loc) · 3.78 KB

DIY-Echo-Show

Make your own Amazon Echo Show

Use the Feb 2020 Image version of the Raspberry Pi OS - Respeaker HAT Usage is broken as of today


If you like the work, find it useful and if you would like to get me a ☕ 😄 paypal


How to Video


Detailed Youtube Video


Before Starting the setup


  1. Create a security profile for alexa-avs-sample-app if you already don't have one.
    https://github.com/alexa/avs-device-sdk/wiki/Create-Security-Profile

  2. Download the "config.json" file and place it in the /home/pi/DIY-Echo-Show/Alexa directory.


Setup


  1. Clone the git using:
git clone https://github.com/shivasiddharth/DIY-Echo-Show  
  1. Make the installers executable using:
sudo chmod +x /home/pi/DIY-Echo-Show/scripts/prep-system.sh    
sudo chmod +x /home/pi/DIY-Echo-Show/scripts/audio-test.sh   
sudo chmod +x /home/pi/DIY-Echo-Show/scripts/alexa-voice-installer.sh  
sudo chmod +x /home/pi/DIY-Echo-Show/scripts/alexa-screen-installer.sh    
sudo chmod +x /home/pi/DIY-Echo-Show/Alexa/cmake-device.sh  
sudo chmod +x /home/pi/DIY-Echo-Show/Alexa/cmake-screen.sh  
  1. Prepare the system for installing assistants by updating, upgrading and setting up audio using:
sudo /home/pi/DIY-Echo-Show/scripts/prep-system.sh
  1. Restart the Pi using:
sudo reboot
  1. Make sure that contents of asoundrc match the contents of asound.conf
    Open a terminal and type:
sudo nano /etc/asound.conf

Open a second terminal and type:

sudo nano ~/.asoundrc

If the contents of .asoundrc are not same as asound.conf, make them both same.

  1. Bonus Script - Test the audio setup using the following code (optional). Dont panic if the test does not go through successfully, proceed with the installation:
sudo /home/pi/DIY-Echo-Show/scripts/audio-test.sh  
  1. Restart the Pi using:
sudo reboot
  1. Install the Alexa voice first using the following. This is an interactive script, so just follow the onscreen instructions:
sudo /home/pi/DIY-Echo-Show/scripts/alexa-voice-installer.sh  
  1. Authorize Alexa
sudo /home/pi/DIY-Echo-Show/Alexa/startsample.sh  
  1. Install the Alexa screen now using the following:

sudo /home/pi/DIY-Echo-Show/scripts/alexa-screen-installer.sh  
  1. Try starting the assistant using the following for authentication:
sudo chmod +x /home/pi/DIY-Echo-Show/Alexa/startsampleassistant.sh
sudo /home/pi/DIY-Echo-Show/Alexa/startsampleassistant.sh  
  1. After authentication start the assistant and smart screen using:
sudo chmod +x /home/pi/DIY-Echo-Show/Alexa/start-assistant.sh  
sudo chmod +x /home/pi/DIY-Echo-Show/Alexa/start-screen.sh  
sudo /home/pi/DIY-Echo-Show/Alexa/start-assistant.sh  
sudo /home/pi/DIY-Echo-Show/Alexa/start-screen.sh  
  1. For voice activation/wakeword, use:
python3 /home/pi/DIY-Echo-Show/snowboy/voiceactivation.py