https://github.com/blackmutzi/alexa-avs-prototype
Alexa Voice Service (AVS) client in C++ for raspberry pi or any Linux Distribution
https://github.com/blackmutzi/alexa-avs-prototype
alexa-app alexa-voice-service cpp11 doxygen linux linux-distribution prototype qt-creator raspberry-pi testing travis-ci
Last synced: about 2 months ago
JSON representation
Alexa Voice Service (AVS) client in C++ for raspberry pi or any Linux Distribution
- Host: GitHub
- URL: https://github.com/blackmutzi/alexa-avs-prototype
- Owner: blackmutzi
- License: gpl-3.0
- Created: 2017-07-24T16:49:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T17:46:47.000Z (over 8 years ago)
- Last Synced: 2025-01-13T10:49:53.173Z (over 1 year ago)
- Topics: alexa-app, alexa-voice-service, cpp11, doxygen, linux, linux-distribution, prototype, qt-creator, raspberry-pi, testing, travis-ci
- Language: C++
- Homepage:
- Size: 1.05 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://developer.amazon.com/de/alexa-voice-service)
# alexa-avs-prototype (c++) [](https://travis-ci.org/)
Alexa Voice Service (AVS) client in c++ for raspberry pi or any Linux Distribution.
Project tested on Gentoo(x86_64) and Raspbian(arm).
The Prototype is deprecated use alexa-sdk-framewok/alexa-amazon-client, is already released and has more improvment.
# what you need?
* A Linux Distribution with PulseAudio Support.
* Amazon Developer Account.
* Follow the steps [here](https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi) to create a security profile.
* And a WakeWordEngine Client from [here]( https://github.com/alexa/alexa-avs-sample-app/tree/master/samples/wakeWordAgent ).
# download && build
```sh
git clone https://github.com/blackmutzi/alexa-avs-prototype
cd ./alexa-avs-prototype
qmake ./src/alexa-avs-prototype.pro
make
```
# avs-configuration
#### first Step
go to config directory and modify ./src/config/config.json file
```sh
cd ./alexa-avs-prototype/src/config/
nano config.json
{
"client_id":" YOUR_CLIENT_ID_HERE ",
"client_secret":" YOUR_CLIENT_SECRET_ID_HERE ",
"code_grant":" YOUR_CODE_GRANT_HERE",
"product_id":" YOUR_PRODUCT_NAME_HERE ",
"redirect_uri":"https://localhost:3000/authresponse",
"refresh_token":"AVS-CLIENT_SET_TOKEN_AUTOMATIC"
}
```
and write client_id, client_secret and product_id into the config. ( @see amazon-security-profile )
#### second Step
start now prototype ...
```sh
./alexa-avs-prototype
```
the avs-client show you a link, copy it in your Browser. Login Now ..
and get the grant code, save the grant code in the ./alexa-avs-prototype/src/config/config.json file, finish.
# depends installing ( debian )
```sh
install:
- sudo apt-get install libcurl4-gnutls-dev
- sudo apt-get install libboost-all-dev
- sudo apt-get install gcc-4.9
- sudo apt-get install g++-4.9
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 100
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 100
- sudo add-apt-repository -y "deb http://de.archive.ubuntu.com/ubuntu artful main restricted universe multiverse"
- sudo apt-get update -qq
- sudo apt-get install libnghttp2-dev
- sudo apt-get install libevent-dev
- sudo apt-get install libmp3lame-dev
- sudo apt-get install libssl-dev
- sudo apt-get install libasound2-dev
```