Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekampf/magicmirror
Magic Mirror Alexa Device on a C.H.I.P
https://github.com/ekampf/magicmirror
Last synced: 4 days ago
JSON representation
Magic Mirror Alexa Device on a C.H.I.P
- Host: GitHub
- URL: https://github.com/ekampf/magicmirror
- Owner: ekampf
- Created: 2016-11-23T12:43:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T18:03:37.000Z (about 8 years ago)
- Last Synced: 2024-11-09T05:27:22.739Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 2.1 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C.H.I.P Alexa Magic Mirror
## Setup
### General C.H.I.P setup
1. Flash it to use the Headless configuration.
2. Run `sudo nmtui` and configure network.
2. `sudo apt-get update`
3. `sudo apt-get upgrade`
4. `sudo apt-get install -y vim curl git gcc autoconf libtool make build-essential python-dev python-pip python-alsaaudio python-pyalsa python-pyaudio flex bison portaudio19-dev swig libasound2-dev mpg321 memcached`
5. `pip install -U pip virtualenv numpy pyaudio`### OSX Setup (so you can develop on your mac)
1. `brew install portaudio`
### Get Credential for Alexa Voice Service
1. http://developer.amazon.com and Goto Alexa then Alexa Voice Service
2. Create a new product type -> Device
3. Create a new security profile
1. Under Web Settings Allow origin http://localhost:9000 and as a return URL put http://localhost:9000/code
4. Update `creds.py` with your `ProductID`, `Security_Profile_Description`, `Security_Profile_ID`, `Client_ID`, `Client_Secret`
5. Run `auth_web.py` to get the `refresh_token`... TBD ...
## Inspired by previous works of...
* https://github.com/alexa-pi/AlexaCHIP
* https://github.com/nicholasjconn/python-alexa-voice-service