ubuntu-devices@canonical.com This project aims to provide the ability to bring Alexa to any Linux device including embedded systems like…" /> ubuntu-devices@canonical.com This project aims to provide the ability to bring Alexa to any Linux device including embedded systems like…" />

DataArt release new version of Alexa Virtual Device for Raspberry Pi

Guest

Guest

on 16 May 2017

This is a guest post by DataArt. If you would like to contribute a guest post, please contact ubuntu-devices@canonical.com

This project aims to provide the ability to bring Alexa to any Linux device including embedded systems like Raspberry Pi or DragonBoard boards. The binary release is packed into a snap package, which is a perfect way to deliver this project.

Short instructions to run it with snap:
You need to create your own Alexa Device on the Amazon developer portal. Follow this manual to create your own device and security profile – https://github.com/alexa/alexa-avs-sample-app/wiki/Create-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.
Install the PulseAudio snap:

sudo snap install --devmode pulseaudio

Install the Alexa snap from the store:

sudo snap install --channel beta alexa

Open http://alexa.local:3000 in a web browser on a local device or a device on the same network. Note: the app provides an mDNS advertisement of the local domain alexa.local. This is very helpful for using with monitorless devices.

Fill in the device credentials that were created during step 1, click ‘log in’. Note: the voice detection threshold is a float value for adjusting voice detection. The smaller the value, the easier it is to trigger. You may need to adjust it for your mic and voice.

Fill in your amazon credentials.

Now you can speak with Alexa. The app uses voice activation. Say ‘Alexa’ and the phrase that you want to say to her. The app makes a beep via in speakers when it hears the ‘Alexa’ keyword and starts recording.

Enjoy Alexa without the need to buy special hardware 🙂

Internet of Things

From home control to drones, robots and industrial systems, Ubuntu Core and Snaps provide robust security, app stores and reliable updates for all your IoT devices.

Newsletter signup

Select topics you’re interested in

In submitting this form, I confirm that I have read and agree to Canonical’s Privacy Notice and Privacy Policy.

Related posts

Easy IoT with Ubuntu Core and Raspberry Pi

My current job involves me mostly working in the upper layers of the desktop software stack however I started out working in what was then called embedded engineering but now would probably be know as the Internet of Things (IoT). I worked…

What will be the biggest development trends in 2019?

What’s the most popular programming language today among software developers? It’s still JavaScript, with over 10M users globally. Python has reached 7M active developers and is climbing up the ranks. How do we know that? Thanks to the…

Ubuntu Core Smart Speaker

With the holidays coming up, many of us can expect to spend time with our friends and families, often listening to seasonal music, or indeed escaping the seasonal music! Whether you’re joining in or getting away from the crowd, this…