/json-scada

A portable and scalable SCADA/IIoT-I4.0/Gateway platform centered on the MongoDB database server.

Primary LanguageCGNU General Public License v3.0GPL-3.0

JSON:SCADA Logo

{json:scada}

A portable and scalable SCADA/IIoT-I4.0 platform centered on the MongoDB database server.

Mission Statement

To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.0 platform built by leveraging mainstream open-source IT tools.

Screenshots

screenshots

Major features

  • Standard IT tools applied to SCADA/IoT (MongoDB, PostgreSQL/TimescaleDB, Node.js, C#, Golang, Grafana, etc.).
  • MongoDB as the real-time core database, persistence layer, config store, SOE historian.
  • Event-based realtime async data processing with MongoDB Change Streams.
  • Portability and modular interoperability over Linux, Windows, Mac OSX, x86/64, ARM.
  • Windows installer available in the releases section.
  • Unlimited tags, servers, and users.
  • Horizontal scalability, from a single computer to big clusters (MongoDB-sharding), Docker containers, VMs, Kubernetes, cloud, or hybrid deployments.
  • Modular distributed architecture. Lightweight redundant data acquisition nodes can connect securely over TLS to the database server. E.g. a Raspberry PI can be a data acquisition node.
  • Extensibility of the core data model (MongoDB: NoSQL/schema-less).
  • HTML5 Web interface. UTF-8/I18N. Mobile access. Web-based configuration management.
  • Role-based access control (RBAC).
  • Various high-quality protocol drivers.
  • Integration with MQTT brokers (compatibility with Sparkplug B).
  • Live point configuration updates.
  • Inkscape-based SVG synoptic display editor.
  • PostgreSQL/TimescaleDB historian integrated with Grafana for easy creation of dashboards.
  • Easy development of custom applications with modern stacks like MEAN/MERN, etc. Extensive use of JSON from bottom up.
  • Leverage a huge ecosystem of MongoDB/PostgreSQL tools, community, services, etc.

Use cases

  • Protocol Gateway.
  • Secure Protocol Gateway with 1-way air gapped replication (via data diode or tap device).
  • Power/Oil/Gas/Manufacturing/etc Local Station HMI.
  • SCADA for Control Centers.
  • SCADA/IIoT Historian.
  • Intranet/Internet HTTPS Gateway - Visualization Server.
  • Multilevel Systems Integration (SCADA/IIoT/ERP/MES/PLC).
  • Global-Level/Cloud SCADA Systems Integration.
  • Edge processing.
  • Data concentrator for Big Data / ML processing.
  • Digital Transformation, Industry 4.0 enabler.

Real-world usage

  • 5+ years of usage in 2 big control centers scanning data from 80+ substations, 90k tags.
  • 5+ years of usage as HMI for local operation of circa 40 substations up to 230kV level.

Architecture

architecture

Documentation

Protocols Roadmap

  • IEC 60870-5-104 Server TCP/TLS
  • IEC 60870-5-104 Client TCP/TLS
  • IEC 60870-5-101 Server (Serial, TCP)
  • IEC 60870-5-101 Client (Serial, TCP)
  • IEC 60870-5-103 Client
  • DNP3 Client (TCP, UDP, TLS, Serial) - Windows x64 only!
  • DNP3 Server (TCP, UDP, TLS, Serial)
  • MQTT/Sparkplug-B Client
  • Modbus Client via PLC4X-GO
  • I104M (adapter for some OSHMI drivers)
  • ICCP Client
  • ICCP Server
  • Telegraf Client (OPC-UA, MQTT, MODBUS, SNMP, ...)
  • OPC UA Client
  • OPC UA Server
  • OPC UA Historical Data Server
  • OPC DA Client (Windows)
  • OPC AE Client (Windows)
  • OPC DA Server (Windows)
  • IEC 61850 MMS Client
  • IEC 61850 MMS Server
  • IEC 61850 GOOSE Client
  • CIP Ethernet/IP (libplctag, experimental)
  • Siemens S7
  • BACNET

Features Roadmap

  • Web-based Viewers
  • Web-based Configuration Manager
  • Excel-based Configuration
  • User auth/Role-based Access Control (RBAC)
  • Inkscape-based SVG Synoptic Editor
  • Compiled Calculations Engine
  • Customizable Change-Stream Processor (for user implemented scripts)
  • Low-latency/Interpreted Calculations Engine
  • Basic Alarms Processor
  • Advanced Alarms Processor
  • PostgreSQL/TimescaleDB Historian
  • Grafana Integration
  • Metabase Integration (via PostgreSQL/MongoDB connectors)
  • One-way realtime replication (over eth diode/tap device) w/ point db sync and historical backfill
  • Windows Installer
  • Online Demo
  • Docker Demo (docker-compose.yaml scripts)
  • Install Script for RedHat/Rocky 9.4 Linux x86-64 and arm64
  • Linux Image / VM
  • Supervisor (Linux process manager) examples
  • InfluxDB Integration
  • Telegraf Integration
  • Kafka Integration
  • PowerBI Integration (via PostgreSQL connector)
  • PowerBI Direct Integration
  • NodeRed Integration
  • Alerta Integration (https://alerta.io/)
  • PLC4X-GO Integration (https://plc4x.apache.org/)
  • Managed Cloud Service
  • Supported LTS versions

Online Demo (substations simulation)

This demo provides a public IEC 60870-5-104 server port on IP address 150.230.171.172:2404 (common address = 1) for testing.

The demo data is published as regular MQTT topics to the public broker mqtt://test.mosquitto.org:1883 (about 8600 topics in JsonScadaDemoVPS/# and ACME_Utility/#).

Data is also published as Sparkplug-B to mqtt://test.mosquitto.org:1883 (about 4300 device metrics in spBv1.0/Sparkplug B Devices/+/JSON-SCADA Server/#). Data/birth messages are compressed by Eclipse Tahu Javascript libs.

Developer Contact