API-first industrial historian

Industrial history for anything.

See current values as writes are accepted. Query the history behind them and connect every measurement to the equipment it describes.

VB-101

Illustrative data

2.42 mm/s

Latest sample

Pump skid illustration

Illustration of a blue pump skid with a pressure gauge in a West Texas oil field
VB-101

What History4X does

Ingest from many sources

Record observations from applications and adapters through one write contract.

Read the latest value

Eligible values update on the accepted write path, with their quality and timestamp.

Query deep history

Read raw observations, resample a signal, or aggregate values over industrial time windows.

Keep equipment context

Use typed objects, stable identifiers, and relationships to connect signals to physical assets.

Planned capability

See what happened and what it meant

A time series shows what changed and when. An asset model identifies the equipment that produced the readings. An event records what happened in terms people and applications can act on.

The design follows the unofficial Industrial Events proposal for i3X. It reuses i3X namespaces and schema conventions, and lets typed events reference assets already in the model.

An excursion on Pump P-204

Illustrative scenario

Time series
VB-101 · 2.69 mm/s at 10:52 UTC

A sensor identifier, a timestamp, and a value.

Asset model
Juniper Draw Oil Field · West Texas

The i3X asset model places VB-101 on transfer pump P-204, on produced-water skid SK-04. The pump also has discharge pressure and motor current readings.

Industrial event
Vibration excursion at 10:52 UTC

The event references the pump. A shared time window lets the team compare vibration, discharge pressure, and motor current.

Action
Investigate the operating change

A maintenance workflow could subscribe to the event and open a review task with the asset, time window, and related trends.

How History4X is deployed

The lab prototype runs on Kubernetes (K3s), with separate workloads for ingest, history projection, the Native API, and the i3X API.

From plant data to durable history

  1. Control systems

    PLC and SCADA signals enter through a Sparkplug B publisher such as an edge gateway.

  2. MQTT broker

    Carries the Sparkplug B messages from the publisher to subscribers.

  3. Sparkplug B adapter

    Consumes messages and maps source metrics to properties in the asset model.

  4. Open Ingest API

    Accepts typed observations with a value, quality, and timestamp.

Other paths into the same API

Direct API writes
Applications and custom adapters push observations through the authenticated Open Ingest API.
OPC connections Planned
Read industrial observations from OPC servers.
HTTP API connections Planned
Read observations from source systems that expose HTTP APIs.
Ignition history module Planned
A third-party module from Kamado Systems that gives Ignition a native connection to History4X for tag history.

After ingest acceptance

  1. Synchronous hot path

    Valkey

    The accepted write updates eligible latest values and appends the observation to the ingest stream.

  2. Asynchronous projection

    History projector

    Consumes the ingest stream and commits raw observations to historical storage.

  3. Durable storage

    PostgreSQL + TimescaleDB

    Stores raw observations, committed ingest receipts, and the asset catalog with types, properties, and relationships.

Planned storage direction Support pluggable database backends behind a consistent API contract.

Two APIs on one data model

Shared historian data

Latest values in Valkey, committed history in TimescaleDB, and asset context in the PostgreSQL catalog.

ConnectRPC / Protobuf

Native API

One interface for applications to read latest values, query raw and aggregated history, and subscribe to updates or stream query results.

Dashboards and enterprise applications

Use the same query contract to show current readings and historical trends for any modeled asset.

REST / JSON

i3X API

An independent implementation of i3X 1.0 for object discovery, current and historical values, and subscriptions.

Engineering tools

Browse asset types and relationships, then inspect raw readings in the context of the equipment that produced them.

Planned event streams A manufacturing execution system (MES) could subscribe to control-system events with their asset context, such as which line and equipment completed a batch. Explore Industrial Events

Choose when a write is acknowledged

Request the level that fits the write. The receipt reports the level actually reached.

hot
The observation is accepted and its latest-value decision is available.
journaled
The write reaches the deployment’s configured journal threshold.
committed
The raw observation is durable in historical storage.