Share via


Tutorial: Monitor your IoT devices

In this tutorial, you use the Remote Monitoring solution accelerator to monitor your connected IoT devices. You use the solution dashboard to view telemetry, device information, alerts, and KPIs.

The tutorial uses two simulated truck devices that send location, speed, and cargo temperature telemetry. The trucks are managed by an organization called Contoso and are connected to the Remote Monitoring solution accelerator. As a Contoso operator, you need to monitor the location and behavior of one of your trucks (truck-02) in the field.

In this tutorial, you:

  • Filter the devices in the dashboard
  • View real-time telemetry
  • View device details
  • View alerts from your devices
  • View the system KPIs

If you don't have an Azure subscription, create a free account before you begin.

Prerequisites

To follow this tutorial, you need a deployed instance of the Remote Monitoring solution accelerator in your Azure subscription.

Choose the devices to display

To select which connected devices display on the Dashboard page, use filters. To display only the Truck devices, choose the built-in Trucks filter in the filter drop-down:

Filter for trucks on the dashboard

When you apply a filter, only those devices that match the filter conditions display on the map and in the telemetry panel. You can see that there are two trucks connected to the solution accelerator, including truck-02:

Only trucks are displayed on the map

To create, edit, and delete filters, click Manage device groups.

View real-time telemetry

The solution accelerator plots real-time telemetry in the chart on the Dashboard page. The top of the telemetry chart shows available telemetry types for the devices, including truck-02, selected by the current filter. By default, the chart is showing the latitude of the trucks and truck-02 appears to be stationary:

Truck telemetry types

To view temperature telemetry for the trucks, click Temperature. You can see how the temperature for truck-02 has varied over the last hour:

Truck temperature telemetry plot

View the map

The map displays information about the simulated trucks selected by the current filter. You can zoom and pan the map to display locations in more or less detail. The color of a device icon on the map indicates whether any Alerts (dark blue) or Warnings (red) are active for the device. A summary of the number of Alerts and Warnings is displayed to the left of the map.

To view the details for truck-02, pan and zoom the map to locate it, then select the truck on the map. Then click on the device label to open the Device details panel. Device details include:

  • Recent telemetry values
  • Methods the device supports
  • Device properties

View device details on the dashboard

View alerts

The Alerts panel displays detailed information about the most recent alerts from your devices. The alerts from truck-02 indicate higher than normal cargo temperature:

View device alerts on the dashboard

You can use a filter to adjust the time span for recent alerts. By default, the panel displays alerts from the last hour.

View the system KPIs

The Dashboard page displays system KPIs calculated by the solution accelerator in the Analytics panel:

Dashboard KPIs

The dashboard shows three KPIs for the alerts selected by the current device and timespan filters:

  • The number of active alerts for the rules that have triggered the most alerts.
  • The proportion of alerts by device type.
  • The percentage of alerts that are critical alerts.

For truck-02, all the alerts are warnings of higher than normal cargo temperature.

The same filters that set the time span for alerts and control which devices are displayed determine how the KPIs are aggregated. By default, the panel displays KPIs aggregated over the last hour.

Clean up resources

If you plan to move on to the next tutorial, leave the Remote Monitoring solution accelerator deployed. To reduce the costs of running the solution accelerator while you're not using it, you can stop the simulated devices in the settings panel:

Pause telemetry

You can restart the simulated devices when you're ready to start the next tutorial.

If you no longer need the solution accelerator, delete it.

Next steps

This tutorial showed you how to use the Dashboard page in the Remote Monitoring solution accelerator to filter and monitor the simulated trucks. To learn how to use the solution accelerator to detect issues with your connected devices, continue to the next tutorial.