Example function to synchronise AWS IoT Device Shadow with DevicePilot
- Install dependencies:
npm install - Run with
AWS_REGION=eu-west-1 AWS_ENDPOINT=endpoint.iot.eu-west-1.amazonaws.com DP_API_KEY=MyDevicePilotAPIKey node index.js
For further configuration options and documentation see config.js.