出自flip the world

Application - Alexa

Tommy​(留言 | 貢獻)2026年8月23日 (日) 18:18的修訂 (Remove links to pages that were never written)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)

Running Alexa Voice Service on a Raspberry Pi and driving smart-home devices through AWS Lambda and AWS IoT, through to skill certification.

Alexa Logo
RPi3_Alexa

Hardware

  • PRi
  • Speaker
  • Microphone

OS

  • Raspbian

Software

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]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
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

Reference