Skip to content

blackmutzi/alexa-avs-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

64e12c4 · Feb 10, 2018

History

15 Commits
Feb 10, 2018
Nov 20, 2017
Feb 10, 2018
Feb 10, 2018
Feb 10, 2018
Nov 2, 2017
Feb 10, 2018

Repository files navigation

Alexa-AVS Framework

Alexa-Voice-Service-Framework

Project Status: in Development

planned main features

  • AlexaAmazonClient ( to communicate with the Amazon Server )
  • AlexaWebServer ( Web API to trigger AlexaEvents )
  • AlexaQtApplication ( use Web API )
  • AlexaDiscordBot ( use Web API )

alexa-amazon-client features

  • builtin Gstreamer pipeline ( play Alexa Sounds )
  • builtin console ( starting recording to speech with alexa - Commands: start )
  • builtin Cloud-Based WakeWord Recognize-Speech Profile
  • builtin WakeWord Server

installation

$ git clone https://github.com/blackmutzi/alexa-avs-framework
$ cd alexa-avs-framework
$ cmake . && make -j 4 && make install

configuration

$ cd /etc/alexa/
$ mv config-example.json config.json

edit config.json

Follow the steps here to create a amazon security profile.

After, edit client_id , client_secret and product_id and save config.json

Start /usr/bin/AlexaAmazonClient and you get a link from app. Copy the Link in your Browser. Login to your Security Profile now. After, save your code_grant into the config.json and the configuration is finish.

Notice: refresh token must not be set, set automatic from app

config.json
{
"client_id":" YOUR_CLIENT_ID_HERE",
"client_secret":" YOUR_CLIENT_SECRET_HERE",
"code_grant":" YOUR_CODE_GRANT_HERE",
"product_id":" YOUR_PRODUCT_NAME_HERE",
"redirect_uri":"https://localhost:3000/authresponse",
"refresh_token":""
}