0.0.4 • Published 6 years ago
iot-communicator v0.0.4
Setup
npm install
nvm use
Usage
- Set environment variables
AWS_REGION
andAWS_THING_ENDPOINT
- Run the server on your IoT device with
node server.js
. This listens to an mqtt message broker for requests. - Create a lambda to run the
client.js
. The lambda will communicate with IoT device.