Step 1. Provision and connect a Device
Device in ThingsBoard represents a physical or virtual IoT device connected to the platform. Devices publish telemetry and attributes and can receive control commands.
In this section, you will create a new device in ThingsBoard and test its connection to the platform by publishing sample telemetry data to verify successful communication and data processing.
Step 1.1 Create a Device
Section titled “Step 1.1 Create a Device”Create a device that will act as the telemetry source for the platform.
- From the main menu, navigate to Entities ⇾ Devices.
- In the upper-right corner, click + Add device ⇾ Add new device.
- Enter a device name, for example
Thermometer. - Leave the default device profile unchanged.
- Click Add.
The device is successfully created and registered in ThingsBoard.
Step 1.2 Verify Device Connectivity
Section titled “Step 1.2 Verify Device Connectivity”ThingsBoard provides built-in connectivity examples that allow you to send telemetry on behalf of a device using various messaging protocols. This makes it easy to test connectivity, validate credentials, and confirm that incoming data is processed correctly.
Verify the device connection by publishing test telemetry data:
- After adding the device, the “Let’s check connectivity!” dialog opens automatically. Alternatively, open the device details page and click Check connectivity.
- Select your shell environment, preferred messaging protocol, and platform-specific client tool.
- Copy the generated command and execute it in your terminal. The provided command publishes a temperature value of
25.
Verify the result
Section titled “Verify the result”After successful telemetry publication:
- The device status changes from Inactive to Active.
- The published telemetry appears in the device’s Latest telemetry tab.