Clone the project git using:
git clone git clone https://github.com/shivasiddharth/DIY-Echo-ShowStep-2Create a security profile in amazon developer console. Follow the guidelines given here.
Download the config.json credentials and place it in the /home/pi/DIY-Echo-Show/Alexa directory
Step-3The Setup process
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.shPrepare the system for installing assistants by updating, upgrading and setting up audio using:
sudo /home/pi/DIY-Echo-Show/scripts/prep-system.shRestart the Pi using:
sudo rebootMake sure that contents of asoundrc match the contents of asound.confOpen a terminal and type:
sudo nano /etc/asound.confOpen a second terminal and type:
sudo nano ~/.asoundrcIf 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.shRestart the Pi using:
sudo rebootInstall 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.shAuthorize Alexa
sudo /home/pi/DIY-Echo-Show/Alexa/startsample.shInstall the Alexa screen now using the following:
sudo /home/pi/DIY-Echo-Show/scripts/alexa-screen-installer.shTry 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.shAfter 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.shFor voice activation/wakeword, use:
python3 /home/pi/DIY-Echo-Show/snowboy/voiceactivation.py












Comments