brendan-myers / aws-iot-simulated-device

πŸ“Ÿ A simple device simulator for use with AWS IoT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS IoT Simulated Device

πŸ“Ÿ A simple device simulator for use with AWS IoT

Build

A simulated lightbulb built using AWS IoT device shadows.

Setup

git clone https://github.com/brendan-myers/aws-iot-simulated-device.git
cd aws-iot-simulated-device
npm install

config.js contains the security configuration details for the simulated device. For information on where to download device certificates and details, see AWS IoT SDK.

Run

npm run start

Once the device has connected to AWS IoT, use the keyboard to control the state of the device (increase/decrease brightness, change colour, turn on/off).

Todo

  • Tests
  • Instantiate the device with the last accepted device shadow state.
  • Smarter drawing to terminal.

About

πŸ“Ÿ A simple device simulator for use with AWS IoT

License:MIT License


Languages

Language:JavaScript 100.0%