This repository has been archived by the owner on Dec 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 396
Installation
René Kliment edited this page Mar 4, 2017
·
18 revisions
First you need to obtain a set of credentials from Amazon to use the Alexa Voice service. Make a note of these credentials as you will be asked for them during the install process.
- Login at https://developer.amazon.com and go to
ALEXA
, thenAlexa Voice Service
. -
Register a Product Type
>Device
. - You are at
Device Type Info
left tab.- For the
Device Type ID
andDisplay Name
use something like AlexaPi or whatever you want. Next
- For the
- You are at
Security Profile
left tab.- From the drop-down menu choose
Create a new profile
. - Choose whatever for
Security Profile Name
andSecurity Profile Description
. HitNext
. - Under
Web Settings
horizontal tab hitEdit
and:-
Allowed Origins
- put therehttp://localhost:5050
andhttp://ALEXA.DEVICE.IP.ADDRESS:5050
-
Allowed Return URLs
puthttp://localhost:5050/code
andhttp://ALEXA.DEVICE.IP.ADDRESS:5050/code
. You have to replaceALEXA.DEVICE.IP.ADDRESS
with the IP (for example 192.168.1.123) of your AlexaPi device (for example Raspberry Pi). This is especially necessary when you are installing from another computer than AlexaPi is gonna run on.
-
- From the drop-down menu choose
- Fill some of the other stuff in.
-
Boot your PC and login to a command prompt.
-
Make sure you are in
/opt
by issuingcd /opt
-
Make sure you have git installed
sudo apt-get install git # For Debian OSs (Debian, Raspbian, OSMC, OpenElec...) sudo pacman -Sy git # For Arch Linux
-
Clone this repo
sudo git clone https://github.com/alexa-pi/AlexaPi.git
-
Run the setup script
sudo ./AlexaPi/src/scripts/setup.sh
Follow instructions...
Enjoy :)
NOTE: You can also clone the repository to any other directory (and lose the sudo
for the second command, if you have permission to write to that directory), but you won't be able to run AlexaPi on boot with our init scripts. It is therefore recommended for advanced users (who know what they're doing) only.