IOT

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

  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.

Image – Create Resource

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

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

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.

Image – Replace the connection string with the primary key connection string

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

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)

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.

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

Additional Resources :

Summary
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
Karthik

Allo! My name is Karthik,experienced IT professional.Upnxtblog covers key technology trends that impacts technology industry.This includes Cloud computing,Blockchain,Machine learning & AI,Best mobile apps, Best tools/open source libs etc.,I hope you would love it and you can be sure that each post is fantastic and will be worth your time.

Share
Published by
Karthik
Tags: AzureIoT

Recent Posts

Finding the Right Time to Build Your Software Instead of Buy

There are few things as valuable to a business as well-designed software. Organizations today rely…

1 week ago

Innovators in Crypto: Prominent AI-Powered Coins

The cryptocurrency industry is being reshaped by the fusion of blockchain technology and artificial intelligence…

3 weeks ago

Top AI Design Tools Every Graphic Designer Should Use in 2024

Introduction Artificial Intelligence (AI) has also found its relevance in graphic design and is quickly…

2 months ago

Transforming Industries: The Integration of AI and Blockchain

Imagine a world where the brilliance of Artificial Intelligence (AI) meets the unbreakable security of…

2 months ago

How Can I Use Automation to Streamline My Digital Marketing Efforts?

In today’s fast-paced digital landscape, automation is not just a luxury but a necessity for…

2 months ago

Top 5 AI Technologies Transforming the Casino Gaming Landscape in 2025

The world of casino gaming has leveraged the emerging technology advancements to create immersive and…

3 months ago

This website uses cookies.