January 2018
Intermediate to advanced
278 pages
5h 13m
English
In this section, we will develop a sensor publisher. A sensor publisher is a system that generates sensor data and then perform to publish that sensor to a certain server. We can implement this application by using Node.js. Ensure your computer has Node.js installed. A sensor publisher will send sensor data at certain periods. For the demo, I generated a random value between 10 and 35 for the temperature sensor. Consider the following steps:
$ mkdir sensor-publisher$ cd sensor-publisher/$ npm init
$ npm install aws-iot-device-sdk ...