-
git clone --depth 1 -b rpi https://github.com/khassel/alexa_docker.git ~/alexa
-
docker pull karsten13/alexa:rpi
- the following line needs to be executed before starting the container (otherwise docker has no access on the display):
may put this line in a startup script.
xhost +local:root
-
git clone --depth 1 -b debian https://github.com/khassel/alexa_docker.git ~/alexa
-
docker pull karsten13/alexa:debian
- before starting the container you need to change the docker-compose.yml file:
set the following params:
nano ~/alexa/run/docker-compose.yml
see the documentation here for more info (Step 2: Register for an Amazon developer account).# amazon params: - ProductID=${ProductID} - ClientID=${ClientID} - ClientSecret=${ClientSecret} - DeviceSerialNumber=${DeviceSerialNumber} - KeyStorePassword=${KeyStorePassword} # certificate params: - Country=DE - State=HESSEN - City=FRANKFURT - Organization=karsten13 - Locale=de-DE # audio params - Audio=3.5mm - Wake_Word_Detection_Enabled=true - Wake_Word_Detection=kitt_ai
- goto
cd ~/alexa/run
and executedocker-compose up -d
- in case you want to stop it
docker-compose down
- in case the container is started the first time it needs some time to start (> 3 min.). You can take a look at the graphical desktop and wait for the java-app to become visible.
- follow the documentation here beginning at "Step 7", "Terminal Window 2", "Let's walk through the next few steps relevant to Window 2." and skip "Terminal Window 3".
The container is configured to restart automatically so after executing
docker-compose up -d
it will restart with every reboot of your machine.
If you don't want to talk with "Alexa", create your own wakeword.