Application - Alexa

出自 flip the world
於 2018年8月23日 (四) 10:40 由 Tommy (對話 | 貢獻) 所做的修訂 (已建立頁面,內容為 "thumb|300px|Alexa Logo thumb|300px|RPi3_Alexa == Hardware == * PRi * Speaker * Microphone == OS == * Raspbian ==…")
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋
Alexa Logo
RPi3_Alexa

Hardware

  • PRi
  • Speaker
  • Microphone

OS

  • Raspbian

Sofware

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

AVS_Lambda_IOT

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

ALEXA Skill submit

Alexa skills submit

ALEXA Skill has passed Amazon certification process

Your Alexa skill Project K is now live!

ALEXA Skill Alive

skill alive

Search my skill in amazon.com

Search skill in amazon.com

application - GPIO control by using ngrok and flask

Reference