惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
J
Java Code Geeks
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
博客园 - 【当耐特】
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
Check Point Blog
月光博客
月光博客
腾讯CDC
Engineering at Meta
Engineering at Meta
博客园 - Franky
Vercel News
Vercel News
D
Docker
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
GbyAI
GbyAI
B
Blog
Hugging Face - Blog
Hugging Face - Blog
T
Tailwind CSS Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Built a Full Industrial SCADA System That Runs From a S...
Александр Ла · 2026-05-16 · via DEV Community

Александр Ларионов

How a single HTML file replaces million-dollar SCADA software

After 20+ years in industrial automation — working with PLCs, RTUs, SCADA systems, and digital substations — I was frustrated. Every SCADA platform I used required:

  • Heavy installation (2-4 GB)
  • Dedicated server infrastructure
  • Annual license fees ($5,000-50,000/year)
  • Vendor lock-in
  • Windows-only deployment

So I built BitSCADA — a complete industrial SCADA system that runs entirely from a single HTML file. Open it in Chrome, Firefox, or Safari — and you have a fully functional SCADA with real-time visualization, function blocks, and industrial protocol support.

BitSCADA Overview

What makes it unique?

1. Literally one file

The entire SCADA — graphic editor, runtime engine, 53 function blocks, 65 graphic elements — lives inside a single HTML file (~240 KB online, ~3 MB offline with embedded React). No installation. No server. No database server (SQLite is built into the Gateway).

2. Full IEC 61850 support in a browser

This is the part I'm most proud of. No other browser-based SCADA supports IEC 61850. BitSCADA implements:

  • MMS client — read/write data objects, datasets, reports
  • GOOSE subscriber — real-time event subscription
  • Sampled Values receiver — phasor measurement streams

This means you can connect to digital substations directly from your browser.

3. 9 industrial protocols

IEC 61850 (MMS, GOOSE, Sampled Values)
OPC UA (browsing, subscriptions, read/write)
OPC DA (via COM/DCOM bridge)
Modbus TCP (holding/input registers, coils)
MQTT
SNMP
REST API (15 endpoints)
WebSocket (real-time)
Custom protocols via Python Gateway

Enter fullscreen mode Exit fullscreen mode

4. 53 function blocks

Not just visualization — BitSCADA has a complete FBD (Function Block Diagram) engine:

  • Logic: AND, OR, NOT, XOR, SR flip-flop, edge detectors
  • Math: add, subtract, multiply, divide, abs, min, max, formula
  • Timers: on-delay, off-delay, pulse
  • Counters: up, down, up/down with preset
  • PID controller with anti-windup
  • Filters: exponential, sliding window, RMS
  • Comparators, limiters, multiplexers
  • Database write, alarm generators, signal generators

Runtime Mode

5. 65 graphic elements

Drag & drop from the palette:

  • Process equipment: pumps, motors, fans, compressors, conveyors
  • Valves: gate valves, ball valves, check valves, control valves
  • Vessels: tanks, columns, separators, heat exchangers
  • Piping: horizontal/vertical pipes, elbows, tees, reducers
  • Electrical: contactors, fuses, transformers, grounding
  • Sensors: pressure, temperature, level, flow meters
  • Indicators: gauges, bar charts, traffic lights, lamps
  • Displays: trends, sliders, buttons, switches

Mimic Diagram

Architecture

The system has two components:

Browser (any modern browser)
└── BitSCADA HTML file
        ├── Graphic Editor (drag & drop, multi-page, popups)
        ├── Runtime (fullscreen, password protection, alarms)
        ├── Function Block Engine (53 blocks, 100ms cycle)
        └── WebSocket ←→ SCADA Gateway (Python)
                            ├── IEC 61850 (asyncua + custom)
                            ├── OPC UA (asyncua library)
                            ├── Modbus TCP (pymodbus)
                            ├── MQTT / SNMP
                            ├── SQLite Database
                            └── REST API (15 endpoints)

Enter fullscreen mode Exit fullscreen mode

The Browser handles all visualization and logic. The Python Gateway handles protocol communication and database storage. They communicate via WebSocket.

Performance

Metric Value
Scan rate 10,000 tags/sec
Update cycle 100 ms minimum
Parallel threads 4
Browser tabs 8
Startup time < 3 seconds
File size 240 KB (online) / 3 MB (offline)

Tech stack

  • Frontend: React 18, JSX, Babel (transpiled in-browser)
  • Backend: Python 3.10+, asyncio, aiohttp
  • Protocols: asyncua (OPC UA), pymodbus, custom IEC 61850
  • Database: SQLite3
  • Build: Custom Python build script, Base64 encoding, XOR protection

The build process

One thing I'm particularly proud of is the build system. The JSX source (~175 KB) gets:

  1. Base64 encoded
  2. SHA256 integrity hash computed
  3. XOR-encrypted author watermark embedded
  4. Unique Build ID and License Key generated
  5. Everything injected into the HTML template

The result is a self-contained, tamper-protected HTML file that works offline.

Try it yourself

🌐 Live Demo & Documentation

📥 Download Free Demo — 2-hour trial, no registration

💻 GitHub Repository

💰 Buy Full Source Code — complete source with build system

About me

I'm an industrial automation engineer (IACS/SCADA) with 20+ years of experience:

  • Process automation systems design and deployment
  • PLC/RTU programming and commissioning
  • Network equipment configuration (Cisco, MikroTik, Huawei)
  • SCADA/HMI development and integration
  • IEC 61850 digital substation projects
  • Technical documentation per industrial standards (GOST, IEC)
  • Full-stack development (Python, JavaScript, React)
  • AI/ML engineering (PyTorch, custom model training)
  • AutoCAD, electrical schematics design

I built BitSCADA because I needed a lightweight, portable SCADA that I could deploy anywhere — from a USB stick at a remote substation to a tablet on the factory floor.

What's next?

I'm currently working on:

  • Genesis-1 — an AI model trained on 32 IT specializations that can autonomously manage infrastructure
  • Expanding BitSCADA protocol support
  • Mobile-optimized runtime

What do you think? Would you use a browser-based SCADA in your projects? Let me know in the comments!