Keragi Keragi Keragi
Solutions

Reference

On this page

OPC UA data access and industrial collaboration

Last updated: 2026-11-25

This is a reference architecture, not a customer case and not an OPC UA certification. Keragi does not implement OPC UA; the gateway or edge bridge does the integration.

Bottom line: OPC UA standardizes how devices and systems exchange data. Keragi handles how people collaborate once that data becomes an alert. The split is: the OPC UA gateway adapts the protocol and address space, SCADA and the historian keep monitoring and storage duties, and Keragi receives normalized events and context for AI summaries, human confirmation and shift handover.

1. Boundaries first

  • Keragi ships no OPC UA client or server, does not parse NodeIds and offers no address-space browsing.
  • Public docs use HTTP/MQTT/serial only as platform-side examples; industrial protocols such as OPC UA and Modbus are implemented by a gateway or the integrator.
  • Keragi does not perform real-time control and does not replace PLC, SCADA, safety interlocks or historians.
  • No industrial certification or OPC UA compliance is claimed; follow the on-site system and integrator design.

2. Why OPC UA data still needs a collaboration layer

Plants often already have OPC UA servers, SCADA and historians, yet alerts still move by phone and verbal handover:

  • OPC UA provides data, not “who acknowledged, who acted, what is still open”;
  • several points alarm at once and the on-call engineer lacks a shared context;
  • trends, maintenance records and current alerts live in different systems;
  • handover is reduced to “a few still open”;
  • AI tools lack field context, so suggestions never land.

Keragi fills that gap: OPC UA events, AI suggestions, human confirmation and results stay in one traceable thread.

3. Data path

Three common paths:

Path Data flow Fits Notes
OPC UA gateway → WASM gateway resource gateway acts as OPC UA client and reports over MQTT/HTTP multi-site, unattended, read-only monitoring gateway sits on the platform side; with E2EE it only handles plaintext/bot channels
OPC UA gateway → local bridge gateway inside the industrial network, bridge writes to the conversation reading E2EE, local interlock the bridge host is a trust boundary; harden it
Gateway-class client participant secure edge gateway joins with subaccount-like identity gateways with secure storage device identity/attestation is still planned; manage credentials yourself

4. Data mapping: from NodeId to a collaboration event

A gateway should not dump the OPC UA address space into the conversation, or rules cannot be reused when a line changes:

OPC UA field Keragi field Notes
NodeId / BrowseName pointId e.g. line1.tank.level, not a bare number
Value value / unit converted to engineering units
StatusCode quality Good/Uncertain/Bad mapped to good/suspect/bad
SourceTimestamp ts keep both device and gateway time
Server / site id deviceId unique site or device identifier
Subscription / custom sequence seq backfill and deduplication

Gateway guidance:

  1. Prefer subscriptions over full polling, with deadband and sampling interval;
  2. Handle status codes; never treat Bad values as normal data in alert rules;
  3. Cache and backfill after network loss, deduplicate by sequence;
  4. Synchronize time with NTP so alerts line up with lab and handover records;
  5. Use certificates and least-privilege accounts, separate read and write, read-only by default.

5. Alert and collaboration flow

Rules need threshold, duration, hysteresis and maintenance/calibration suppression. Treat OPC UA Uncertain/Bad as communication or data-quality states, not process exceedances.

6. Division of labor with SCADA, historian and MES

System Responsibility Relationship to Keragi
OPC UA server device data standardization and address space data source; Keragi does not connect directly
SCADA / PLC monitoring, control, interlocks independent; Keragi never writes back
Historian long-term storage, trends, reports independent; conclusions can be cited in the thread
MES / CMMS work orders, spares, plans ticket ids and outcomes are recorded in the thread
Keragi alert collaboration, AI summary, handover and review collaboration layer; none of the above is replaced

7. Security and boundaries

  • Use certificates, signing and encryption for OPC UA; never expose the OPC UA server to the internet.
  • Deploy the gateway inside the industrial network with only necessary outbound connections; least-privilege accounts, read-only by default.
  • Private and group text can use optional E2EE (off by default); device data through a gateway uses plaintext/bot channels and the gateway cannot decrypt E2EE messages.
  • Writes must be executed by PLC/SCADA and safety interlocks with human confirmation, permission checks, fail-safe behavior and emergency stop.
  • This page is not an OPC UA selection, compliance or security certification; follow on-site assessment and integration design.

8. Pilot suggestion

Item Suggestion
Server one Linux x86_64 host, SQLite (HelixDB supported)
Gateway industrial gateway with an OPC UA client, 3–5 key points first
Points one critical asset or line: temperature, pressure, flow, status bits
Rooms on-call room plus process room
Accounts separate gateway, on-call, process and AI service accounts
Rules threshold, duration, hysteresis, maintenance suppression

Observe: alert-to-acknowledgement time, invalid alert ratio, handover completeness, and whether communication faults are counted separately from process alerts.

Next steps

Frequently asked questions

Does Keragi support OPC UA natively?

No. Keragi ships no OPC UA client or server and does not parse NodeIds. In practice an OPC UA gateway or edge bridge acts as the OPC UA client and converts data to MQTT/HTTP before it reaches Keragi.

Can OPC UA data reach an AI conversation?

Yes, after gateway normalization. The gateway maps NodeId, value, status code and timestamp to deviceId/pointId/value/quality/ts before writing to the conversation; the AI reads normalized events and context, not the OPC UA address space.

Can OPC UA write back to devices?

Do not do that by default. Keragi does not own control; writes must be executed by PLC/SCADA and safety interlocks with human confirmation, permission checks, fail-safe behavior and emergency stop. The 1.x sensor MCP is read-only as well.

Does the OPC UA server need to be exposed to the internet?

No, and it should not be. The gateway sits inside the industrial network with only the necessary outbound connections; OPC UA should use certificates, signing and encryption with least-privilege accounts.

How does this relate to historians or SCADA?

A historian stores long-term trends, SCADA monitors and controls, and Keragi handles collaboration, AI summaries, handover and review after an alert. They coexist; none replaces another.