An Alexa skill which reads data from Samsung SmartThings (temperature/humidity sensor), implemented as an AWS Lambda.
Use https://www.npmjs.com/package/node-lambda for convenience:
npm install -g node-lambda
node-lambda package
Alternative manual steps:
- install production dependencies:
npm i --production
- zip all files
- create/edit an AWS lambda https://eu-west-1.console.aws.amazon.com/lambda/home upload the zip
- add an environment variable
SMARTTHINGS_ACCESS_TOKEN
with a SmartThings access token with at leastr:devices:*
scope - save/deploy the lambda
- configure an Alexa skill which uses the lambda as it's endpoint