Replace real AWS credentials with AWS example values |
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 | ||
== | == 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]] | ||
== Reference == | == Reference == | ||
* [https://blog.yorkxin.org/2013/09/30/oauth2-1-introduction | * [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 | * [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 | * [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 | * [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 | * [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.

Hardware
- PRi
- Speaker
- Microphone
OS
- Raspbian
Software
- 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]: AKIAIOSFODNN7EXAMPLE AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY 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




