Issue link: https://resources.mouser.com/i/1442841
View Data in the Medium One Dashboard In the Medium One dashboard navigate to Data Viewer Data Streams and click raw Events. You should see raw messages (Figure 8) being received from the PIC-IoT. Click the "+" sign to view message details. Click Dashboard on the top left, then click Add Widget Single User Real Time Events Stream to add an event stream widget to the dashboard. In the Select user dropdown, select mydevice. You should now see messages appearing in the Real Time Events Stream widget (Figure 9). Click the save icon in the upper right corner to save your modified dashboard. Add More Widgets To display more widgets, we need to enable specific data fields contained in the message payload. Navigate to Config Data Streams and click on raw Events. The Schema Map should be pre-populated with fields detected in the incoming messages; however, they are currently disabled. Check-mark the Active box on raw.iteration, raw.light, and raw.tempc, then click Save Data Stream. These fields are now available for use in other dashboard widgets. Back on the dashboard, click the Single User Last Value Table widget and select the mydevice user within the widget. Click the widget's Tag Config icon to the right of the mydevice user selection and check-mark raw:iteration, raw:light, and raw:tempc, then click Save. The Last Value Table should now populate with the most recent received values for each field (Figure 10). Click the save icon towards the upper right corner to save the updated dashboard. Now let's add dashboard widgets for the temperature and light sensors and iteration counter. Click Single User Real Time Gauge and select the mydevice user. Click the widget's Tag Config icon and check-mark the raw:iteration, raw:tempc, and raw:light rows, then click Save. The updated dashboard should look like Figure 11. Click the dashboard save icon to save the updated dashboard. Try heating or cooling the temperature sensor and covering the light sensor to see the gauge values change. At this point, your PIC-IoT board is running continuously, periodically reading the temperature and light sensors and transmitting data measurements to the Medium One cloud. Remember to power off the PIC-IoT board when you're done, otherwise the board will continue to send messages to Medium One and consume daily message allotments. WHERE TO GO NEXT This project created an end-to-end sensor-to-cloud application that sends real-time sensor data to the Medium One IoT Prototyping Sandbox. It can be modified and extended in a number of ways, and here are a few examples: • Dive deeper into the application code and board hardware by reading the PIC-IoT documentation and studying the source code. • Add more widgets to the Medium One dashboard, such as a real-time line chart of temperature and light readings. • Learn about the Medium One Workflow Studio, which lets you create data processing workflows to transform your sensor data. 30 / Concept to Creation: Practical Applications for Smart, Connected and Secure IoT Solutions Figure 8: Raw Message Display. (Source: Mouser Electronics) Figure 9: Real Time Events Stream Widget Display. (Source: Mouser Electronics)