Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

Guest
on 16 May 2017

DataArt release new version of Alexa Virtual Device for Raspberry Pi


This is a guest post by DataArt. If you would like to contribute a guest post, please contact [email protected]

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 🙂

Related posts


Lech Sandecki
23 October 2024

6 facts for CentOS users who are holding on

Cloud and server Article

Considering migrating to Ubuntu from other Linux platforms, such as CentOS? Find six useful facts to get started! ...


Kris Sharma
17 October 2024

Why is Ubuntu Linux the leading choice to replace CentOS for financial services?

Financial Services Article

Financial services are powered by technology. The customer experience is increasingly driven by data, with tailoring of products and services to reflect individual behaviors and preferences. All of this rests on a foundation of secure, stable technology that can support agility and flexibility to adapt to customer needs, whilst at the sam ...


JP Meijers
21 August 2024

Hacker’s guide to the Raspberry Pi AI kit on Ubuntu

Ubuntu Article

In this blog post we discuss our experiences trying to get the Hailo-8L accelerator and its software running on Ubuntu 24.04 LTS. ...