Step 9: View Historical Data

Query time-series data and analyze trends with the Historian app.

Full reference

For complete details, field tables, and limitations, see the Historian reference.

Why Historical Data Matters

Real-time monitoring tells you what's happening now, but historical data answers the questions that matter most: "What happened overnight?" "Is this temperature normal for this time of day?" "When did the problem start?"

The Historian app stores time-series data from your devices and lets you query it with flexible filters.

Tables: Historian organizes data into tables, each tracking specific fields
Queries: Filter by time range, entity, or value to find exactly what you need
Charts: Visualize trends over hours, days, or weeks at a glance

Opening the Historian

Click the ControlBird logo in the taskbar and select Historian. The app opens with a split view: tables on the left, query results on the right.

Historian app overview
Click to enlarge
The Historian app with table list (left) and query view (right)

Understanding Historian Tables

A Historian Table is a collection of time-series records for a specific type of data. ControlBird automatically creates tables when you configure data collection, or you can create custom tables for specific use cases.

What Each Record Contains

ColumnDescriptionExample
TimestampWhen the value was recorded2024-01-15 14:32:05.123
EntityWhich device or entity the value belongs toTemperature Sensor
ValueThe recorded measurement72.5
QualityData quality indicator (Good, Bad, Uncertain)Good

Querying Historical Data

Select a table from the left panel to see its data. The query view lets you filter and explore records.

Basic Query

  1. Click a table name in the left panel (e.g., "Temperature Readings")
  2. The right panel shows recent records automatically
  3. Use the time range picker to narrow down the results

Time Range Options

Last HourQuick check of recent activity
Last 24 HoursReview the past day's data
Last 7 DaysWeekly trends and patterns
Custom RangePick exact start and end times

Filtering by Entity

If a table tracks multiple entities (e.g., all temperature sensors), you can filter down to a single one:

  1. Click the Entity Filter dropdown
  2. Select the specific entity you want to examine
  3. Results update to show only that entity's data

Keyboard Shortcut

Press Ctrl+F in the Historian to open the quick filter. Type an entity name to jump directly to its data.

Reading the Results

Query results appear as a table with timestamps, values, and quality indicators. Here's how to interpret what you see:

TimestampValueQuality
14:32:0572.5Good
14:32:0072.4Good
14:31:55--Bad
GoodValid reading from the device
UncertainValue may be stale or estimated
BadCommunication error or invalid data

Creating Charts

Numbers in a table are useful, but charts reveal trends instantly. To visualize your data:

  1. Select a table and apply your desired filters
  2. Click the Chart button in the toolbar
  3. Choose the chart type (line, bar, area)
  4. The chart appears showing values over time
Line Chart

Best for continuous values like temperature

Bar Chart

Best for discrete events or counts

Area Chart

Shows cumulative values over time

Historian chart view
Click to enlarge
A temperature trend chart showing data over the past 24 hours

Common Use Cases

Troubleshooting

"The alarm triggered at 3 AM - what happened?" Use the Historian to look at the exact values leading up to and during the event.

Trend Analysis

"Is my energy consumption increasing over time?" Chart weekly data to spot gradual changes that aren't obvious day-to-day.

Performance Verification

"Did my new automation work?" Compare before/after data to confirm your changes had the intended effect.

Reporting

"What were the average temperatures last month?" Export data or use aggregation queries for summaries.

Data Retention

Historian tables have configurable retention periods. When data exceeds the retention limit, the oldest records are automatically removed. This keeps storage manageable while preserving the data you need.

Retention Settings

Default retention is typically 30 days. You can adjust this per table in the Historian settings, or contact support for extended retention on higher-tier plans.

Troubleshooting

No data appears for my table

Check these common causes:

  • Time range: Make sure your selected range includes when data was collected
  • Data collection: Verify the device is connected and sending data
  • Table configuration: Confirm the table is configured to collect from your entities
Data has gaps or missing periods

Gaps typically indicate:

  • Device offline: The device lost connection during that period
  • Network issues: Data couldn't reach ControlBird
  • Polling interval: Data is only collected at configured intervals, not continuously
How do I export data?

After running a query, click the Export button in the toolbar. You can download data as CSV for use in spreadsheets or other analysis tools.

Next Up

Now that you can view historical data, let's learn how to monitor and respond to alarms when things need attention.