nordvpn
System Mechanic® Ultimate Defense™
Coursera Plus

Visualize IoT-scale time-series data using Azure Time Series Insights

The Internet of Things (IoT) has opened up a new, virtually inexhaustible source of technical innovations, which are equally valuable for a broad variety of industries. Applying smart connected devices, sensors, and gateways to control each part of the production process, manufacturing, and infrastructure companies are dramatically increasing their operational efficiency. At the same time, the consumer tech market has exploded with an abundance of smart products and spin-off cloud services that they brought to life.

With this context, let us check one of the IoT use cases on how to visualize Device Data using Azure Time Series Insights.

Image – Sample Azure Time Series Insights

Azure Time Series Insights is a fully managed analytics, storage, and visualization service for managing IoT-scale time-series data in the cloud. It provides massively scalable time-series data storage and enables to explore and analyze billions of events streaming in from all over the world in seconds. Using Time Series Insights we can store and manage terabytes of time-series data, explore and visualize billions of events simultaneously, conduct root-cause analysis, and compare multiple sites and assets.

Why should I use Azure Time Series Insights ?

In this section, we look at some of the key features that Azure Time Series Insights offers :

  1. Fully integrated with cloud gateways like Azure IoT Hub and Azure Event Hubs.
  2. Warm and cold data analytics – Time Series Insights manages the storage of your data. You can interactively query billions of events in seconds on demand.
  3. Powerful visualization – Time Series Insights provides out-of-the-box visualization via the TSI explorer.
  4. Easy integration – Provides a query service, both in the TSI explorer and by using APIs that are easy to integrate for embedding your time series data into custom applications.

In the next section, we are going to look at how to

Subscribe to Emails

More than 100,000 subscribers across the world trust & read Upnxtblog articles. Subscribe to emails updates!
* indicates required
  1. Create a device
  2. Connecting the Pi Simulator to IoT Hub
  3. Send telemetry data to Azure
  4. Set up a Time Series Insights environment
  5. Analyze time series data from your IoT solutions or connected things

#1.Create a device

We will be using Azure IoT Hub service to connect the device simulator and start sending data. Azure IoT Hub is a fully managed service that enables reliable and secure bidirectional communications between millions of IoT devices and a solution back end.

With IoT Hub you can:

  1. Establish bi-directional communication with billions of IoT devices
  2. Authenticate per device for security-enhanced IoT solutions
  3. Register devices at scale with IoT Hub Device Provisioning Service
  4. Manage your IoT devices at scale with device management
  5. Extend the power of the cloud to your edge device

To start, click on Create a resource and click on the Internet of Things.

Generic Category (English)728x90

Image – Create Resource

Create an IoT Hub to connect your real device or simulator.

Recover over 700 unique file formats. Fully recover documents, emails, photos, videos, audio files and more. Supports 8 different data lost scenarios: deleted files recovery, recycle bin recovery, formatted drive recovery, lost partition recovery, externa

Image – Create IoT Hub

Use an existing resource group or create a new one. In the Name field, enter a unique name for your IoT hub. The name of your IoT Hub must be unique across all IoT hubs.

Image – Select Tier

Best VPN Service (English Banners)

In the Tier filed, select S1 tier. You can choose from several tiers depending on how many features you want and how many messages you send through your solution per day.

For details about the tier options, check out Choosing the right IoT Hub tier.

Image – IoT Hub Summary details

Now that IoT Hub is created, we would be connecting Devices in the next steps.

#2.Connect the simulator to IoT Hub

Go To your IoT Hub in the portal and click on IoT Devices, Click on+ Add and enter a Device and click Save.

Image – Create Device on the IoT Hub

Once the device is created, click on the device and copy the Primary Connection String.

Image – Copy Primary Connection string

Go to PI Simulator and replace the connection string with the Primary Connection String copied in the previous step.

Click Run and start sending messages. LED will start blinking, Messages will start flowing into IoT Hub that we created in the previous step.

#3.Set up a Time Series Insights environment

Click on Create a Resource and click on the Internet of Things.

Image – Create Time Series Insights

Select the resource group or create a new one and click Create button.

Image – Create Time Series Insights

Packt US

Create Event Source to connect to IoTHub. Please make sure to use a unique Consumer Group.

Image – Create Event Source to connect to IoTHub

Go To Time Series Insights, Click on Go To Environment which will take you to Time Series Insights Explorer.

Image – Time Series Insights Explorer

Split By Device ID. You will see data flowing from two device simulator)

New SSD Cloud Server Packages Now Available from $2.50/Month on Alibaba Cloud

Create a perspective and Click + to add a new query with different parameters/charts.

Image – Create New Perspective

Here is a sample of Perspective with 4 different charts.

Image – Perspective with 3 different charts and Heat Map

Congrats! In this article, we have learned how to visualize Device Data using Azure Time Series Insights.

TextNow Download

Like this post? Don’t forget to share it!

Additional Resources :

Summary
Visualize IoT-scale time-series data using Azure Time Series Insights
Article Name
Visualize IoT-scale time-series data using Azure Time Series Insights
Description
Learn how to visualize Device Data using Azure Time Series Insights.
Author
Publisher Name
Upnxtblog
Publisher Logo
%d bloggers like this: