Create a dashboard and send telemetry
A dashboard in ThingsBoard is a configurable interface for monitoring and managing devices in real time. In this step, you will create a dashboard directly in the Edge UI, add a widget to visualize telemetry, and send data to confirm it works.
Create a dashboard and add a widget
Section titled “Create a dashboard and add a widget”-
In the Edge UI (http://localhost:8080), go to Monitor > Dashboards, click Add dashboard, and select Create new dashboard.
-
Enter a title and click Add. The dashboard opens in edit mode.
-
Click Add widget, select the Charts bundle, and then Time series chart.
-
In the widget settings, select your device in the Datasource section. Keep
temperatureas the data key: this is the key that the Check connectivity command sends. Click Add. -
Click Save in the top-right corner to exit edit mode.
Send telemetry and verify
Section titled “Send telemetry and verify”-
Go to Devices & assets > Devices and click your device to open its details. Click Check connectivity.
-
Select your protocol and operating system, copy the command, and run it in your terminal. Edge has received the data when the HTTP command shows the
HTTP/1.1 200response, the MQTT command printsreceived PUBACK, or the CoAP command prints a2.01response. -
Switch back to your dashboard. Within a few seconds, the chart shows the temperature value you sent.
Checklist
Section titled “Checklist”Was this helpful?