Going Beyond Basic Charts — Widgets, Dashboards, and Exporting Sensor Data for Industrial Monitoring
In previous lessons, sensor data from an ESP32 was successfully uploaded to a ThingSpeak channel and displayed using basic field charts. This lesson expands on that foundation by exploring what else ThingSpeak offers beyond simple line-chart views — specifically its dashboard widgets, custom visualization apps, and data export capabilities.
Among the many IoT applications, monitoring stands out as the most common and practical use case for real-world projects. While cloud-based control (turning devices on/off remotely) is technically possible, it is rarely used in real industrial environments due to safety and reliability concerns.
Instead, industries prefer systems that continuously observe parameters like temperature, humidity, pressure, or vibration, and alert operators only when values move outside a safe range. This is exactly the kind of dashboard ThingSpeak helps you build quickly and without extra coding.
| Approach | Typical Use Case | Industrial Preference |
|---|---|---|
| Cloud Monitoring | View live sensor trends (temp, humidity, etc.) | ✔ Widely Used |
| Cloud Control | Remotely switch actuators/relays on/off | ✘ Rarely Used |
On your ThingSpeak channel dashboard, click the “Add Widgets” button to access a library of pre-built visualization components. These widgets sit alongside your regular field charts and can be arranged freely on the dashboard.
The simplest widget is the Numeric Display. It shows the most recent value of a chosen field as a large, easy-to-read number — ideal for a control-room screen.
The Gauge widget displays a value on a semi-circular dial — similar to a speedometer. Previously, developers had to write custom JavaScript gauge code, but ThingSpeak now provides this natively.
Below is a step-by-step example of creating a temperature gauge and a humidity gauge.
This configuration ensures the needle covers realistic temperature limits, while the colored warning band (35°C–60°C) visually flags abnormal readings.
Displays live °C reading with a visual warning zone above 35°C.
Displays live relative humidity (%) on a 0–100 scale.
For users who need visuals beyond the built-in widgets, ThingSpeak provides an Apps → Visualizations section where fully custom MATLAB-based visualizations can be created.
This is considered an advanced topic and is intentionally left for a later stage in the course, since for the vast majority of industrial dashboards, the built-in Numeric Display and Gauge widgets are sufficient.
Beyond visualization, ThingSpeak allows you to export raw sensor data for offline analysis. This is done from the channel’s data view using the export options.
The exported file contains the entry ID, timestamp, and all
recorded field values — ready to be opened in Excel, Google Sheets, or any data-analysis tool.
| Column | Description |
|---|---|
| created_at | Timestamp of the reading |
| entry_id | Unique record number |
| field1 | Temperature value |
| field2 | Humidity value |
The diagram below summarizes the complete data journey from sensor to spreadsheet analytics.
In this lesson, we moved beyond basic field charts to explore ThingSpeak’s dashboard widgets — the Numeric Display and the Gauge — both of which require no coding and are perfectly suited for industrial monitoring dashboards. We also learned how to export historical data in CSV/XLS format for deeper analysis in tools like Excel.