Alexa Linux
Last updated
Was this helpful?
Last updated
Was this helpful?
You need to create your own Alexa Device on the Amazon developer portal. Follow this . Add to the Allowed Return URLs and to the Allowed-Origins.
Connect an audio device: a microphone and speakers to your device. It could be a USB headset for example.
Clone Git on your Desktop
~$ git clone
Install dependencies
Run
cd AlexaDevice/
python3 alexa.py
Open in web browser on local device or device in the same network.
Fill device credentials which was created in step 1, click 'log in'. Note Voice detection threshold is float value for adjusting
voice detection.
Fill your amazon credentials.
Now you can speak with Alexa. App uses voice activation. Say 'Alexa' and phrase that you want to say to her. App makes beep in speakers when it hear 'Alexa' keyword and start recording.
******Note
Make sure your system has PulseAudio support.
Open alexa_audio.py
~$ cd AlexaDevice
nano alexa_audio.py
Edit and change alexa for the name you want to call it.