Testing

After we deploy the sketch program into Arduino Yún , you can run the sensor subscriber application first. Type the following command on your Terminal or Command Prompt for Windows:

$ node sensor-subscriber.js

The sketch program will sense Temperature and send it to AWS IoT. You can see it on the Serial Monitor Tool. The following screenshot shows Temperature from the result of the measurement:

A sensor subscriber application will get sensor data from AWS IoT since it has already subscribed to sensorroom. You can see it in the following screenshot:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.62.168