Open a shell or Command Prompt, set the EDGE_DEVICE_DEMO_OPTS environment variable to refer to the file you just edited:
Linux - export EDGE_DEVICE_DEMO_OPTS="-Dconfig.file=../conf/edge-device.conf"
Windows - set EDGE_DEVICE_DEMO_OPTS="-Dconfig.file=../conf/edge-device.conf"
Launch the demo from the ../demo/edge-device-demo/bin subdirectory, using the edge-device-demo command.
Return to the ThingWorx Composer and open the Properties page of the Azure Thing that you created previously.
Click the refresh button to see the properties change every five seconds.
Open the azure-iot-demo Mashup and view the Load Average and CPU gauges, and the increases in the values of the Cycle and Uptime fields.
NOTE: If the edgedevice-demo is running on Windows, the Load Average does not register.
Step 8: Next Steps
Congratulations! You've successfully completed the Connect Azure IoT Hub to ThingWorx Quickstart. By following the steps in this lesson, you imported a device created in Azure into ThingWorx and saw how data from an Azure device could be used in a ThingWorx Mashup.
We recommend the following resources to continue your learning experience: