Application - Alexa
於 2018年8月23日 (四) 10:40 由 Tommy (對話 | 貢獻) 所做的修訂 (已建立頁面,內容為 "thumb|300px|Alexa Logo thumb|300px|RPi3_Alexa == Hardware == * PRi * Speaker * Microphone == OS == * Raspbian ==…")
目錄
- 1 Hardware
- 2 OS
- 3 Sofware
- 4 Python requirement
- 5 Configure AWS CLI
- 6 Smart home arch
- 7 Create the Things using AWS IoT
- 8 ALEXA Skill submit
- 9 ALEXA Skill has passed Amazon certification process
- 10 ALEXA Skill Alive
- 11 Search my skill in amazon.com
- 12 application - GPIO control by using ngrok and flask
- 13 Reference
Hardware
- PRi
- Speaker
- Microphone
OS
- Raspbian
Sofware
- Configure AVS(Alexa Voice Service)
- Connect AVS in your Pi
- git clone https://github.com/novaspirit/AlexaPi/
- Go to AlexaPi, then, run "python main.py"
- Software apps and online services:
- Alexa Skills Kit
- AWS Lambda
- AWS IoT
- Alexa Voice Service
Python requirement
- pip install --upgrade pip
- pip install --upgrade requests
Configure AWS CLI
pi@raspberrypi:~/projects/rpi/alexa/AWShome $ aws configure AWS Access Key ID [None]: AKIAJGPRP7SSFRTAB3NQ AWS Secret Access Key [None]: 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 Default region name [None]: us-east-1 Default output format [None]:
Smart home arch
Create the Things using AWS IoT
- update awscli version to 1.11.75 above
pi@raspberrypi:~/projects/rpi/alexa/AWShome $ aws iot create-thing --thing-name floor-lamp usage: aws [options] <command> <subcommand> [parameters] aws: error: argument command: Invalid choice, valid choices are: autoscaling | cloudformation cloudfront | cloudsearch cloudsearchdomain | cloudtrail cloudwatch | cognito-identity cognito-sync | datapipeline directconnect | dynamodb ec2 | elasticache elasticbeanstalk | elastictranscoder elb | emr iam | importexport kinesis | logs opsworks | rds redshift | route53 route53domains | sdb ses | sns sqs | storagegateway sts | support swf | s3api s3 | configure help