Top 10 Free GitHub Repositories for Learning Industrial Automation & IIoT
You don't need expensive enterprise licenses to learn PLCs, SCADA, OPC UA, or OT security. Here are 10 free, active GitHub repositories for building an industrial automation and IIoT lab.
One of the biggest barriers to breaking into industrial automation and IIoT is software licensing. Commercial PLC IDEs, OPC servers, and enterprise SCADA suites often cost thousands of dollars—leaving students, software developers, and maintenance technicians wondering how to practice at home.
Fortunately, the open-source OT and IIoT ecosystem on GitHub has matured dramatically. You can now spin up a complete virtual factory—from an IEC 61131-3 PLC and industrial protocol simulators to a web-based SCADA HMI and MQTT broker—on a laptop or Raspberry Pi without spending a dime.
Here are 10 free, actively maintained GitHub repositories every aspiring or practicing automation and IIoT engineer should bookmark.
1–3: Virtual PLCs, Web SCADA, and IIoT Platforms
- Autonomy-Logic/openplc-runtime: The core runtime of OpenPLC, an open-source IEC 61131-3 programmable logic controller. It runs on Linux, Docker, and Raspberry Pi, supports Modbus TCP/DNP3, and even includes a Python/C++ plugin architecture for custom hardware drivers.
- frangoteam/FUXA: A modern, web-based SCADA/HMI and dashboard editor built on Node.js and Angular. FUXA speaks Modbus, OPC UA, MQTT, and Siemens S7 natively, making it ideal for learning HMI screen design, tag binding, and alarming without proprietary licenses.
- thingsboard/thingsboard: A full-featured open-source IoT platform for device provisioning, rule-engine telemetry routing, and real-time dashboards. If you want to practice cloud-side IIoT data ingestion and threshold alerting, ThingsBoard is hard to beat.
4–7: Industrial Protocol Libraries & Simulators
Understanding how PLCs actually talk over the wire is what separates strong IIoT engineers from generic web developers. These four repositories let you build clients, servers, and virtual test rigs in minutes:
- FreeOpcUa/opcua-asyncio: The go-to asynchronous Python OPC UA client and server library (
asyncua), complete with command-line tools (uaread,uasubscribe,uaserver) for browsing address spaces and testing certificate-based security. - pymodbus-dev/pymodbus: A complete Python Modbus stack featuring synchronous/asynchronous clients, servers, and a web-based simulator capable of injecting broken responses and edge-case errors.
- ottowayi/pycomm3: A clean Python 3 EtherNet/IP library for reading and writing tags on Allen-Bradley ControlLogix, CompactLogix, and Micro800 PLCs—essential reading if you work in North American manufacturing.
- gijzelaerr/python-snap7: A pure-Python Siemens S7 communication library (
s7) for interfacing with S7-300/400 and S7-1200/1500 controllers (with clear documentation on PUT/GET security trade-offs).
8–10: Edge Flows, Cyber Testbeds, and Protocol References
- node-red/node-red: The classic low-code, event-driven flow tool running on countless industrial edge gateways. Great for prototyping Modbus-to-MQTT bridges, REST webhooks, and edge data normalization.
- mniedermaier/CybICS: A ready-to-run ICS/OT cybersecurity testbed that pairs OpenPLC with virtual process hardware and real Modbus TCP, DNP3, and EtherNet/IP traffic—perfect for practicing safe packet inspection and OT defense.
- Orange-Cyberdefense/awesome-industrial-protocols: A curated directory of industrial protocol references, packet captures (
pcaps), and analysis utilities covering everything from S7comm to BACnet.
Turn Open-Source Practice Into Job Offers
Cloning a repo is step one; building a small, documented end-to-end project—like running OpenPLC in Docker, polling it with pymodbus or opcua-asyncio, and visualizing OEE in FUXA—gives you something concrete to demo in technical interviews.
Ready to put your IIoT and automation skills to work? Browse open roles on IIoTjob.
Image Credits:
- Featured Header: Home and lab setup combining open-source PLC/IIoT repositories with DIN-rail hardware. Image: AI-generated.
- Home Lab Stack Diagram: Open-source IIoT and industrial automation home lab stack. Illustration: IIoTjob (original artwork).