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 our team. We 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 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 🙂

Related posts


Oliver Smith
11 December 2023

End of year review: Ubuntu Desktop in 2023

Desktop Article

As 2023 draws to a close, it’s time to look back on the evolution of Ubuntu Desktop over the last twelve months. ...


Canonical
13 October 2023

Canonical, 우분투 23.10 맨틱 미노타우르스 출시

Canonical announcements Canonical News

강화된 보안, 향상된 데스크톱 앱 검색 및 새로운 하드웨어 지원이 최신 우분투 출시를 주도합니다. 2023년 10월 12일: 오늘 Canonical은 코드명 “맨틱 미노타우르스”인 우분투 23.10의 출시를 발표하였으며, https://ubuntu.com/download에서 다운로드하여 설치할 수 있습니다. Canonical의 우분투 수석 제품 관리자인 올리버 스미스(Oliver Smith)는 “이번 출시에서는 기본적으로 우분투의 보안의 의미에 대한 기준을 높이고 다음 장기 지원 출시를 위한 발판을 마련했습니다. ...


Canonical
12 October 2023

Canonical releases Ubuntu 23.10 Mantic Minotaur

Canonical announcements Article

Fortified security, enhanced desktop app discovery and new hardware support lead the latest release of Ubuntu 23.10 Mantic Minotaur. ...