Skip to content
Stand with Ukraine flag

Dashboards

Dashboards are configurable pages for visualizing and interacting with your IoT data. They are built from widgets — charts, tables, maps, controls, and more — and can display data from any combination of devices, assets, or other entities.

Before getting started, review the key concepts — states, aliases, layouts, actions, and time windows — that make up every dashboard.

IoT Hub

Skip building your Dashboard from scratch — find a Solution Template in the ThingsBoard IoT Hub with everything pre-built: dashboards, processing logic, sample devices, users, and all related entities, ready to deploy in just a few clicks.

Browse the catalog

  1. From the sidebar, navigate to Dashboards.
  2. Click the + Add dashboard ⇾ Create new dashboard in the top right corner.
  3. Enter a dashboard title (all other settings are optional).
  4. Click Add. A new dashboard opens in edit mode, where you can add widgets, configure settings, and modify the layout — click Save in the upper-right corner to store it

Configure with AI lets you set up or modify a dashboard by describing what you want in plain language, instead of manually configuring aliases, time window, states, and widgets one by one. See the AI Assistant guide for how the Assistant works more generally and what else it can configure.

It’s useful whenever you know what you want to see but don’t want to build it widget-by-widget — for example:

  • Creating a first set of widgets for a device or a fleet of devices
  • Restructuring an existing dashboard’s layout
  • Adding a visualization for specific telemetry or attributes
  • Updating dashboard configuration — aliases, time window, or states — to match a new requirement

Workflow

  1. Click Configure with AI to open the AI Assistant panel — from the Dashboards page to start a new dashboard, or from within an existing dashboard’s toolbar to modify it.
  2. Describe the change you want in the chat — what data to show and how, e.g. “Show SN-001 device’s latest telemetry as value cards, a trend chart, and a table of its active alarms.” Use the suggested prompts if you’re not sure where to start.
  3. The Assistant explains its plan, then proposes each change — such as adding an entity alias, updating dashboard settings, adding widgets, or renaming a state — as an approval card describing exactly what will happen.
  4. Click Approve on each proposal to apply it, Deny to skip it, or Approve all further actions to apply the rest of the plan without confirming each step individually.
  5. Keep the conversation open to refine the result — reply with follow-up instructions (add a widget, change a chart type, rename a state) instead of starting over.

Best Practices

  • Describe the outcome and the data you want to see — let the Assistant choose the widgets and layout.
  • Name the device, asset, or fleet clearly so the Assistant sets up the right entity alias.
  • For complex dashboards, build them up with a few focused prompts instead of one long request.
  • Review each proposed change before approving, especially before using Approve all further actions.

Limitations

  • Changes are proposed, not applied silently: each one needs your approval, unless you choose to approve all further actions in that chat.
  • The Assistant may rename existing resources as part of its plan, such as a dashboard state — review the plan if you want to keep the original names.

The dashboard toolbar provides tools for adding widgets, exporting the dashboard, and managing states, layouts, aliases, filters, time window, and other settings.
Some controls are visible only in edit mode; others are available in view mode.


In edit mode, click Add widget in the toolbar to open the widget library, then pick a widget to add it to the current layout.

ThingsBoard provides a wide range of customizable widgets — charts, tables, maps, controls, alarms, and more — organized into bundles by category. Each widget offers settings to tailor its appearance and behavior to your use case.

Explore the available widgets and their configuration options in the Widgets documentation.


Filters narrow which data appears on the dashboard.

Multiple key filters are combined with and; within a single key, complex expressions with and/or like (A > 0 and A < 20) or (A = 50 or A = 60) are supported.

Each filter checks one or more key conditions against an attribute or telemetry key — for example, show only devices where model = "DHT22" and battery < 20.

See Filters for more details.


Click the gear icon in the edit mode toolbar to configure dashboard appearance and behavior: state controller, title, logo, toolbar visibility, layout, and advanced CSS.

State Controller

Determines how dashboard states are driven. Default: entity — state is bound to the currently selected entity context.

Title

Enable display dashboard title to show the title in the top-left corner. Adjust color and transparency with the color picker.

Logo

Enable Display logo in dashboard fullscreen mode and upload an image. The logo appears in the top-left corner when the dashboard is in fullscreen.

Toolbar Settings

Each checkbox controls the visibility of a toolbar option.

ToggleDescription
Hide toolbarEntirely hides the toolbar; only the Enter edit mode (pencil) icon is displayed in the top-right corner.
Keep toolbar openedKeeps the toolbar always expanded; when off, it collapses into a three-dots menu.
Display dashboards selectionShows or hides the dashboards selector in the toolbar.
Display entities selectionShows or hides the entities selector in the toolbar.
Display filtersShows or hides the filters button (only if filters are defined).
Display time windowShows or hides the time window control.
Display exportShows or hides the export button.
Display update dashboard imageShows or hides the update dashboard image button.

Advanced Settings

Dashboard CSS — apply custom CSS scoped to the dashboard.

Layout Settings

Configure the default layout grid and appearance. See Layouts for layout types and breakpoints.

  • Columns count — number of columns in the dashboard grid (default: 24).
  • Minimum layout width — minimum width in columns before the layout scrolls horizontally.
  • Margin between widgets — spacing between widgets in pixels.
  • Apply margin to the sides of the layout — adds outer padding around the widget grid.
  • Auto fill layout height — stretches the layout to fill the full page height.
  • Background color — sets a solid background color for the dashboard.
  • Background image — sets a background image (browse from gallery or set a link); configure Background size mode (e.g. Fit width).

Mobile Layout Settings

  • Auto fill layout height — applies auto-fill to the mobile layout.
  • Mobile row height — height of each row in the mobile layout (default: 70 px).

A time window sets the time range — and, for historical data, the aggregation — applied to the data shown on a dashboard, for example “last 1 hour” or a fixed date range. See Time Window for the difference between real-time and history time windows and when to use each.

The dashboard-level time window, set from the toolbar, applies to all time series and alarm widgets unless a widget has its own time window configured.


An Entity Alias is a named reference that tells a widget which entity, or entities, to pull data from — for example, “all thermometers” or “the device selected in the current state”. See Entity Aliases for the difference between static and dynamic aliases and when to use each.

Manage a dashboard’s aliases from the toolbar: click the Entity Aliases icon in edit mode to open the aliases dialog, then add, edit, or delete the aliases used by the dashboard’s widgets.


ThingsBoard uses a grid-based layout system to organize widgets within a dashboard. A single dashboard can include multiple layouts to support different visual configurations for various screen sizes and navigation scenarios.

See Layouts for full details, and Dashboard Settings for the grid, margin, and background fields configured per dashboard.


A state is a named view within a dashboard — for example, a root state listing all devices and a detail state showing data for one selected device.

Navigating between states is done using customizable actions in widgets (see Navigate Between States below).

To manage states, in edit mode click the States icon (Manage dashboard states) in the toolbar.

  1. In edit mode, click Manage dashboard states in the toolbar.
  2. Click the + icon in the top-right of the Manage dashboard states dialog.
  3. Enter a state name (the State ID is auto-generated but editable). Use ${entityName} for dynamic naming.
  4. Click Add, then Save.

Root state

Every dashboard has one root state. To change it, edit the state and enable the Root state checkbox.

To move between states, attach a Navigate to new dashboard state action to any widget. When the action is triggered — for example, by clicking a row in a table or a button in the widget header — the dashboard switches to the target state.

Before configuring the action, make sure you have already added the target state.

  1. Open the dashboard in Edit mode.
  2. Click the pencil icon on the widget to open its settings.
  3. Go to the Actions tab and click + Add action.
  4. Set Action source (e.g., Widget header button or On row click), enter a Name, and set Action type to Navigate to new dashboard state.
  5. Select the Target state from the dropdown and click Add.
  6. Click Apply, then Save the dashboard.

Make the dashboard public to allow access without authentication.
This is useful for providing read-only access to external users without a ThingsBoard account, displaying dashboards on public screens, or embedding them into external websites.

  1. Go to the Dashboards page.
  2. Click the Make dashboard public icon next to the dashboard.
  3. In the dialog, click Copy public link to get the shareable URL.
  4. Share the link — anyone with it can view the dashboard without logging in.

To make the dashboard private again, click the Make dashboard private icon next to the dashboard and confirm.

Manage Assigned Customers

Section titled Manage Assigned Customers

Assign a dashboard to one or more customers. Assigned customers can view the dashboard but cannot modify it.

  1. Go to the Dashboards page.
  2. Click the Manage assigned customers icon next to the dashboard.
  3. Select the customer(s) to assign.
  4. Click Update.

To unassign, open Manage assigned customers again, remove the customer from the list, and click Update.


Export a dashboard’s configuration as a JSON file. This captures the dashboard structure, widget settings, and layout — not a visual snapshot of the data.

Use this for:

  • Backup — save a copy of a dashboard configuration
  • Migration — move dashboards between ThingsBoard instances or environments
  • Reuse — copy or duplicate an existing dashboard as a starting point for a new one
  • Version control — store dashboard configurations alongside your project code (for automatic, ongoing versioning instead, see Dashboard Version Control below)

Two ways to export:

  • On the Dashboards page, click the Export dashboard icon next to a dashboard.
  • Inside a dashboard, click the Export dashboard button in the toolbar and select Export JSON configuration.

Import a dashboard from a JSON configuration file.

  1. Go to Dashboards.
  2. Click + Add dashboard ⇾ Import dashboard.
  3. Upload the .json configuration file and click Import.

Dashboard configurations can be exported to a remote Git repository, versioned, and restored at any point in time — enabling backup, rollback to a previous state, and collaborative management of dashboard changes across teams. Unlike a one-off JSON export, this keeps a full, ongoing history automatically.

See Version Control for full details.


Click the trash icon next to the dashboard and confirm the deletion, or open the dashboard details and click Delete dashboard. To delete several at once, select their checkboxes in the list and use the bulk Delete action.


SymptomCauseFix
Widget shows no dataIts entity alias doesn’t resolve to any entity, or a filter excludes itCheck the alias in Entity Aliases, and any filters applied to the dashboard
Widget shows no data for a specific time rangeThe dashboard or widget time window doesn’t cover the period with dataCheck the dashboard time window and any widget-level override
Public dashboard link opens but widgets are blankThe devices or assets behind the widgets aren’t public — only the dashboard was made publicMake the underlying entities public too — see Make Public / Private
Customer can’t see a shared dashboard’s dataThe customer has access to the dashboard but not to the devices or assets it displaysGrant the customer access to the associated entities — see Manage Assigned Customers
Import fails or the dashboard opens emptyThe uploaded file isn’t a valid dashboard JSON export, or it was edited by handRe-export the original dashboard and import that file unmodified

CapabilityDescriptionGuide
Visualize IoT dataAdd widgets to display telemetry, attributes, and alarms from any device or asset in real time or historicallyWidgets
Configure the time windowSet the time interval and aggregation rules applied to all time-series widgets on the dashboardTime window
Use entity aliasesMake widgets context-aware by resolving entities dynamically — by type, group, relation, or dashboard stateEntity aliases
Build multi-state navigationCreate separate dashboard states for detail views, drill-downs, or device-specific pages and navigate between them with widget actionsNavigate to new dashboard state
Configure widget actionsTrigger navigation, RPC commands, or attribute updates when users click on charts, table rows, or buttonsWidget actions
Control the dashboard layoutArrange widgets on a responsive grid, configure mobile layout, and create multiple named layouts for different screen contextsLayouts
Share with customersGrant customers login-required access to a dashboard so their users see only their own dataManage Assigned Customers
Make a dashboard publicPublish a read-only link anyone can open without a ThingsBoard account — for embedding, public screens, or sharing outside your organizationMake Dashboard Public
Export and importExport a dashboard as a JSON file and import it into another ThingsBoard instance for backup or reuseImport and export
Version controlTrack dashboard configuration changes, compare versions, and restore previous states using the version control serviceVersion control
Delete a dashboardPermanently remove a dashboard you no longer need, individually or in bulkDelete Dashboard