This guide shows how to build a complete end-to-end IIoT system using ThingsBoard running on an edge device and simulated telemetry data.
Unlike fragmented solutions that require multiple tools glued together, ThingsBoard provides the full system operators actually use — from device connectivity to role-based dashboards, out of the box.
By the end of this guide, you will have:
ThingsBoard running on a reComputer R2100
A device connected via MQTT
Simulated telemetry generated from Node-RED
A live industrial dashboard (motor, energy, vibration, etc.)
Optional RPC control from the dashboard to the device
Hardware & Software Used
Hardware
reComputer R2100 (Edge device)
Development PC / Laptop
Software
ThingsBoard Community Edition (CE)
Node-RED (for sending simulated telemetry data)
MQTT Broker (built into ThingsBoard)
Step 1 – Install ThingsBoard on the reComputer R2100
You can use any Linux-based edge device with at least 4GB of RAM. Get more information here
Multitenancy in ThingsBoard enables you to manage multiple organizations within a single system. Each tenant works like an independent environment with its own users, devices, and dashboards.
There are multiple ways to connect to the ThingsBoard device. In our example, we will use MQTT.
3
Get MQTT Broker connection details
The ThingsBoard has an internal MQTT Broker running on port 1883. You will find more details for the connection in the wizard.
In the above lines of code, we can extract the following information needed to send telemetry data to the MQTT Broker:
Broker URL: 192.168.0.195 (IP Address of the edge device)
MQTT Port: 1883
MQTT Topic: v1/devices/me/telemetry
Username: IPOJzEMJHs0wWhzz2K3R
Password: — leave blank --
4
Send a test value to the MQTT Broker
Take the inject node as 'Timestamp' with an interval of 1 second.
Add a function node to simulate temperature value
Take the MQTT out node and set up the MQTT broker parameters as shown in the image:
Enter the username:
Define the MQTT topic:
Once the connection is established, send a test value as 'temperature':
You will see the device status change to 'Active', and the value will appear in the latest telemetry log.
Step 4- Update telemetry data in the Node-RED
To visualize multiple parameters on the ThingsBoard dashboard, we need additional telemetry data. Use the following code in the function node of Node-RED.
This updated code will give you multiple simulated values as shown below:
This dashboard is exported using Entity Alias instead of a fixed device.
What this means:
The dashboard is not hard-coded to a specific device
It can be reused across different ThingsBoard instances
All widgets dynamically resolve the device from the dashboard state
During import, ThingsBoard will automatically use the default state entity defined in the dashboard.
You can change this at any time to point the dashboard to your own device.
Importing Dashboard
Drag and drop the file into the wizard, then click 'Import.' You will find the imported dashboard in the list.
After importing the dashboard
If your device name is different from IoT1, follow these steps:
Open the imported dashboard
Click Edit → Aliases
Select the alias (for example: IoT1)
Choose your own Device
Save the dashboard
All widgets will update automatically. Click it to view all sample telemetry data on your screen.
Enjoy exploring the dashboard elements.
Why Entity Alias is recommended
Using Entity Alias instead of selecting a device directly:
Makes dashboards portable and shareable
Prevents broken widgets after import
Allows the same dashboard to work with multiple devices
Follows ThingsBoard's best practices for production dashboards
♥️ Work With Me
I regularly test industrial automation and IIoT devices. If you’d like me to review your product or showcase it in my courses and YouTube channel: