Skip to content
Stand with Ukraine flag

Embed a Dashboard Snapshot in a Report

Embed the preconfigured Environmental Monitor dashboard into a report. All widgets on this dashboard use the Entity from dashboard state alias — they display values from the entity set as the datasource in the Dashboard component.

  1. Prepare a device that sends temperature and humidity telemetry to ThingsBoard. If you don’t have a real device, use the Rule Engine to simulate telemetry in real time.
  2. Download the environmental_monitor_dashboard.json and import it into your ThingsBoard instance, or use an existing dashboard.
  1. Go to Reporting ⇾ Templates.
  2. Open an existing report template or create a new one.
  3. Drag the Dashboard component into the content area.
  1. In the Datasource section, select the device whose data should appear in the dashboard.
  2. In the Target dashboard section, choose Environmental Monitor.
  3. Click Save.

Update the file name pattern so that exported reports are easy to identify. For example:

environmental-monitor-report-%d{yyyy-MM-dd_HH:mm:ss}

Save the template.

Click Generate test report to verify the configuration. The report includes a snapshot of the Environmental Monitor dashboard with data from the selected device.