Skip to content
© 2026 The ThingsBoard Authors
Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

Compare Temperature Across Devices in a Report

Visualize and compare temperature readings from multiple devices over the past 24 hours using a Line chart component in a report.

Preparation: Make sure the target devices are sending temperature telemetry to ThingsBoard (e.g. once per hour).

  1. Navigate to Monitor ⇾ Reports ⇾ Templates.
  2. Open an existing report template or create a new one.
  3. Drag the Line chart component into the content area.
  1. Set the Time window to last day, aggregated by 1 hour.
  2. Set the Title to Temperature history.
  3. Configure the Datasource — create a new entity alias:
    • Alias name: My devices
    • Filter type: Entity list
    • Type: Device
    • Entity list: add the devices whose temperature you want to compare.
  4. Add a Series entry:
    • Key: temperature
    • Label: ${entityName} temperature
    • Units: °C
  5. Configure the Y axis:
    • Label: Temperature
    • Min: 15, Max: 35
    • Units: °C
  6. Configure the Legend:
    • Position: Bottom
    • Enable Min, Max, and Average display.
  7. Click Save to save the component.

Update the file naming pattern to:

temperature-monitoring-report-%d{yyyy-MM-dd_HH:mm:ss}

Then click Save in the top-right corner.

Click Generate test report to verify the configuration. The resulting PDF contains a line chart with one series per device, each labelled with the device name, showing its temperature trend over the past 24 hours.