OA RxJS API

The OA RxJS API is a reactive JavaScript/TypeScript library for real-time communication between web applications and WinCC OA.

The OA RxJS API (@etm-professional-control/oa-rx-js-api) provides a WebSocket-based interface that enables web applications to interact with the WinCC OA runtime. Built on the RxJS reactive programming framework, it delivers real-time data streams and event-driven communication for custom web frontends.

Key capabilities

  • Connect to datapoints in real time using dpConnect and reactive observables
  • Read and write datapoint values (dpGet, dpSet)
  • Execute datapoint queries (dpQuery, dpNames)
  • Subscribe to system events (datapoint creation, deletion, type changes)
  • Retrieve historical and alarm data (dpGetPeriod, alertGetPeriod)
  • Authenticate via JSON Web Tokens (JWT)

Use cases

Use the OA RxJS API when building custom web-based dashboards, monitoring applications, or operator interfaces that require live data from WinCC OA. The API is also the foundation of the Widget Development Kit (WDK).