Clone the project git using:
git clone git clone https://github.com/shivasiddharth/DIY-Echo-Show
Step-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.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.confOpen 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
Comments