-
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 -
Download the "config.json" file and place it in the /home/pi/DIY-Echo-Show/Alexa directory.
- Clone the git using:
git clone https://github.com/shivasiddharth/DIY-Echo-Show
- 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
- Prepare the system for installing assistants by updating, upgrading and setting up audio using:
sudo /home/pi/DIY-Echo-Show/scripts/prep-system.sh
- Restart the Pi using:
sudo reboot
- 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.
- 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
- Restart the Pi using:
sudo reboot
- 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
- Authorize Alexa
sudo /home/pi/DIY-Echo-Show/Alexa/startsample.sh
- Install the Alexa screen now using the following:
sudo /home/pi/DIY-Echo-Show/scripts/alexa-screen-installer.sh
- 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
- 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
- For voice activation/wakeword, use:
python3 /home/pi/DIY-Echo-Show/snowboy/voiceactivation.py