出自flip the world

Application - Alexa:修訂間差異

Tommy​(留言 | 貢獻)
Replace real AWS credentials with AWS example values
Tommy​(留言 | 貢獻)
Remove links to pages that were never written
 
(未顯示同一使用者於中間所作的 3次修訂)
第1行: 第1行:
Running '''Alexa Voice Service''' on a Raspberry Pi and driving smart-home devices through AWS Lambda and AWS IoT, through to skill certification.
[[File:Alexa-logo-3.png|thumb|300px|Alexa Logo]]
[[File:Alexa-logo-3.png|thumb|300px|Alexa Logo]]
[[File:RPi3_ALEXA.JPG|thumb|300px|RPi3_Alexa]]
[[File:RPi3_ALEXA.JPG|thumb|300px|RPi3_Alexa]]
第9行: 第11行:
* Raspbian
* Raspbian


== Sofware ==
== Software ==
* Configure AVS(Alexa Voice Service)
* Configure AVS(Alexa Voice Service)
** https://developer.amazon.com/avs/home.html
** https://developer.amazon.com/avs/home.html
第77行: 第79行:
== Search my skill in amazon.com ==
== Search my skill in amazon.com ==
[[File:Amazon_search_project_k.jpg|Search skill in amazon.com]]
[[File:Amazon_search_project_k.jpg|Search skill in amazon.com]]
== [[application - GPIO control by using ngrok and flask]] ==


== Reference ==
== Reference ==
* [https://blog.yorkxin.org/2013/09/30/oauth2-1-introduction, OAuth 2.0 筆記 (1) 世界觀]
* [https://blog.yorkxin.org/2013/09/30/oauth2-1-introduction OAuth 2.0 筆記 (1) 世界觀]
* [https://www.hackster.io/awshome/awshome-home-automation-using-rpi-alexa-iot-a3d3dc, AWShome - Home automation using RPi + Alexa + IoT]
* [https://www.hackster.io/awshome/awshome-home-automation-using-rpi-alexa-iot-a3d3dc AWShome - Home automation using RPi + Alexa + IoT]
* [https://developer.amazon.com/blogs/post/TxWSCWZI9SPYNT/Coding-Smart-Home-Skill-Adapter-Directives-Using-Node-js, Coding Smart Home Skill Adapter Directives Using Node.js]
* [https://developer.amazon.com/blogs/post/TxWSCWZI9SPYNT/Coding-Smart-Home-Skill-Adapter-Directives-Using-Node-js Coding Smart Home Skill Adapter Directives Using Node.js]
* [https://developer.amazon.com/blogs/post/Tx480XF5QCA6IN/managing-device-discovery-for-your-alexa-smart-home-skill, Managing Device Discovery for Your Alexa Smart Home Skill]
* [https://developer.amazon.com/blogs/post/Tx480XF5QCA6IN/managing-device-discovery-for-your-alexa-smart-home-skill Managing Device Discovery for Your Alexa Smart Home Skill]
* [https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/linking-an-alexa-user-with-a-user-in-your-system, Linking an Alexa User with a User in Your System]
* [https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/linking-an-alexa-user-with-a-user-in-your-system Linking an Alexa User with a User in Your System]


[[Category:Projects]]
[[Category:Projects]]

2026年8月23日 (日) 18:18的最新修訂

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