Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
/ alexa_docker Public archive

Hint: The AVS Java Sample App (see https://github.com/alexa/alexa-avs-sample-app) used in this project is in maintenance mode since Jan. 2018. You find the new setup with AVS Device SDK here: https://gitlab.com/khassel/alexa_sdk_docker

Notifications You must be signed in to change notification settings

khassel/alexa_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run alexa as docker image

Setup for raspberry-pi

Requirements

please read the wiki-section

Setup alexa docker image

  • git clone --depth 1 -b rpi https://github.com/khassel/alexa_docker.git ~/alexa
  • docker pull karsten13/alexa:rpi

Setup for linux

Requirements

Setup for graphical desktop

  • the following line needs to be executed before starting the container (otherwise docker has no access on the display):
    xhost +local:root
    may put this line in a startup script.

Setup alexa docker image

  • git clone --depth 1 -b debian https://github.com/khassel/alexa_docker.git ~/alexa
  • docker pull karsten13/alexa:debian

Next setup steps for raspberry-pi and linux

  • before starting the container you need to change the docker-compose.yml file:
    nano ~/alexa/run/docker-compose.yml
    set the following params:
      # 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
    see the documentation here for more info (Step 2: Register for an Amazon developer account).

Starting alexa docker container

  • goto cd ~/alexa/run and execute docker-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.

Alternative wakeword with Kitt-AI

If you don't want to talk with "Alexa", create your own wakeword.

About

Hint: The AVS Java Sample App (see https://github.com/alexa/alexa-avs-sample-app) used in this project is in maintenance mode since Jan. 2018. You find the new setup with AVS Device SDK here: https://gitlab.com/khassel/alexa_sdk_docker

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published