How it works
This LoT Notebook connects Coreflux LoT to the Prosys public OPC UA SimulationServer and reads seven demo points every 2 seconds. The route publishes each DataValue as JSON, then actions fan it into a uniform topic tree and build a snapshot report for consumers.
Key features
- OPC UA route: Anonymous access to the public demo server with auto-accepted certificates.
- JSON envelopes: Publishes value, quality, source timestamp, and node address per point.
- Uniform point tree: Copies each reading into consistent
points/<tag>/...topics. - Writable switch: Publishes true/false to
points/switch/writeand writes back to the server. - Snapshot model: Collapsed JSON report with all seven values and broker generation time.
What this template does
- Cycles through sinusoid, sawtooth, square, triangle, counter, tank level, and switch.
- Uses
feed/opc/+to digest every incoming envelope. - Routes failed reads to
feed/fetch_error. - Publishes
reports/snapshotonce per cycle.
