Use Serverless framework to implement AWS Lambda function for AWS Alexa Custom Skill.
- Follow guide: https://serverless.com/ to install serverless on your machine and setup the project with the files from this repo.
- Install mqtt client using npm: npm install mqtt
- Create a secret.js to contains the mqtt brokers details using template secret-sample.js.
- Use serverless to deploy: sls deploy
- Serverless AWS Node Alexa Skill Example: https://github.com/serverless/examples/tree/master/aws-node-alexa-skill
- Good guide: https://github.com/sbstjn/serverless-alexa-skill