Alexa Linux
You need to create your own Alexa Device on the Amazon developer portal. Follow this manual to create your own device and security profile. Add http://alexa.local:3000/authresponse to the Allowed Return URLs and http://alexa.local:3000 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 https://github.com/devicehive/AlexaDevice.git
Install dependencies
Run
cd AlexaDevice/
python3 alexa.py
Open http://alexa.local:3000 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.
Edit Alexa to Lupe
Open alexa_audio.py
~$ cd AlexaDevice
nano alexa_audio.py
Edit and change alexa for the name you want to call it.
Last updated