A vibrant, futuristic image of a Robustel IoT network with glowing cables connecting devices and displaying data on a screen.

Creating Real-Time Dashboards for Your IoT Data with InfluxDB and Grafana

Written by: Robert Liao

|

Published on

|

Time to read 5 min

Robert Liao, Technical Support Engineer

Robert Liao is an IoT Technical Support Engineer at Robustel with hands-on experience in industrial networking and edge connectivity. Certified as a Networking Engineer, he specializes in helping customers deploy, configure, and troubleshoot IIoT solutions in real-world environments. In addition to delivering expert training and support, Robert provides tailored solutions based on customer needs—ensuring reliable, scalable, and efficient system performance across a wide range of industrial applications.

Summary

You've successfully connected your sensors and are collecting data on your industrial IoT edge gateway. Now what? Raw data sitting in a database is useless until you can see it.

This guide focuses on that final, crucial step: data visualization. We'll provide a practical walkthrough of how to use Grafana to create a compelling, real-time Grafana IoT Dashboard from the sensor data stored in InfluxDB on a Robustel gateway.

This article is designed for data analysts, operations managers, and anyone who needs to transform raw IIoT data into actionable insights.

Introduction: The Power of Seeing Your Data

I've seen it happen in countless projects: a team spends months engineering a brilliant data collection system, only to have the valuable data sit unused in a database, invisible to the people who need it most. Let's be clear: if you can't see your data, you can't act on it. This is where data visualization becomes the most critical part of your IoT solution.

The good news is, you don't need an expensive, complex cloud platform to create professional-grade dashboards. By running the open-source visualization tool Grafana directly on your Industrial IoT Edge Gateway , you can create a powerful, real-time monitoring solution right at the edge. In this guide, we'll show you exactly how to build your first Grafana IoT Dashboard, turning a stream of raw sensor numbers into a clear, actionable view of your operations.


 A vibrant, futuristic image of a Robustel IoT network with glowing cables connecting devices and displaying data on a screen.


An infographic showing how Grafana transforms raw IoT sensor data into a clear and insightful dashboard.

The Core Components: Grafana and InfluxDB

To build our dashboard, we need two key pieces of the "MING" software stack.

●  InfluxDB : The Time-Series Database: Think of InfluxDB as the perfect memory for your sensor data. Unlike a general-purpose database, it's purpose-built to handle massive volumes of timestamped data points, making it incredibly efficient for storing and querying things like temperature, pressure, or vibration over time.

● Grafana: The Visualization Engine: Grafana is the window into your data. It's a powerful open-source platform that connects to data sources like InfluxDB and allows you to build beautiful, interactive dashboards with graphs, gauges, tables, and alerts. You can learn more at the official Grafana: The open and composable observability platform | Grafana Labs .


Setting Up Grafana on Your Robustel Gateway

This guide assumes you have already set up your gateway and are collecting Modbus sensor data using Node-RED and storing it in InfluxDB, as shown in our guide to Processing Modbus Sensor Data at the Edge .

Step 1: Accessing the Visualization Engine

On a Robustel gateway like the EG5120 , accessing Grafana is simple:

  1. Log in to the EG5120's web interface.
  2. Navigate to Development -> Data Visualization.
  3. Ensure Grafana is enabled and click Open Dashboard Designer. This will launch the Grafana interface in a new browser tab.
"Screenshot of the Robustel router
"Screenshot of the Grafana interface, showing the

A flowchart of the MING IoT software stack, showing data flowing from a sensor to Node-RED, MQTT, InfluxDB, and finally to a Grafana dashboard.


Step 2: Creating Your First Dashboard (The Easy Way)

The fastest way to get started is by importing a pre-made dashboard template. The Robustel IIoT Starter Kit comes with a dashboard file specifically for the S6000U sensor.

  1. In the Grafana interface, navigate to the Dashboards section.
  2. Click New and then select Import.
  3. Click Upload dashboard JSON file and select the S6000-dashboard.json file that comes with the starter kit.
  4. After uploading the file, Grafana will ask you to select a data source. From the dropdown menu, choose the built-in InfluxDB data source.
  5. Click Import.

That's it! Your dashboard will instantly come to life, populated with real-time data from your sensor.

"Screenshot of the Grafana Dashboards page, highlighting the
"Screenshot of the Grafana
You can contact support@robustel.com for inquiries regarding the S6000U--dashboard.json file
"Screenshot of the Grafana

Step 3: Enhancing Your Dashboard with Plugins

One of Grafana's most powerful features is its extensive library of plugins, which allow you to add new types of visualizations. The real 'aha!' moment for many users is realizing they can find a panel for almost any data type imaginable.

For example, the pre-built S6000U dashboard uses a special plugin to visualize the tilt sensor. To install it:

  1. In Grafana, navigate to Administration -> Plugins and data -> Plugins.
  2. Search for the plugin you need (e.g., ACE.SVG).
  3. Click Install.

Once installed, the new panel type will be available when you create or edit your Grafana IoT Dashboard.

"Screenshot of the Grafana

The Final Result: An Actionable View of Your Environment

A well-designed Grafana IoT Dashboard transforms streams of numbers into immediate insights. The pre-built dashboard for the S6000U visualizes all seven of its sensor readings:

  • A temperature gauge.
  • A humidity line graph.
  • A noise volume bar chart.
  • Vibration, distance, and tilt readings.

You now have a clear, at-a-glance understanding of your operational environment, powered entirely by your edge gateway.

"Screenshot of a Grafana S6000 dashboard displaying various sensor data including temperature, noise volume, distance, and tilt."

A screenshot of a Grafana IoT dashboard displaying real-time temperature, humidity, noise, and vibration data from a Robustel S6000U sensor.


Conclusion

Powerful data visualization is no longer limited to expensive, cloud-only platforms. By running tools like Grafana and InfluxDB directly on a capable industrial IoT edge gateway like the Robustel EG5120, you can create professional, real-time dashboards right at the edge. This approach provides immediate insights, reduces cloud dependency, and empowers you to make faster, more informed decisions based on your IoT data. The next step is yours: start experimenting, create new panels, and build the custom dashboard that perfectly fits your application's needs.

Frequently Asked Questions (FAQ)

Q1: Do I need an internet connection to view my Grafana dashboard?

A1: No. Because Grafana and the InfluxDB database are running directly on your local EG5120 gateway, you can access the dashboard from any computer on the same local network, even if the gateway's internet connection is down.

Q2: What is a time-series database and why is it important for a Grafana IoT Dashboard?

A2: A time-series database, like InfluxDB, is specifically designed to efficiently store and retrieve data with a timestamp, like sensor readings. Grafana is a visualization tool that excels at creating graphs and dashboards from this type of data, making them a perfect pair for any IoT application.

Q3: Can I create my own custom panels in Grafana?

A3: Absolutely. After importing the initial dashboard, you can easily add, remove, and configure panels. You can choose from dozens of built-in panel types (like graphs, gauges, tables, and bar charts) and connect each one to a specific data metric from your InfluxDB database.