# ThingsGateway/ThingsGateway

ThingsGateway is a cross-platform, high-performance gateway for edge data acquisition and IoT connectivity. Developed with .NET 8, it offers a suite of powerful tools, including advanced PLC communication libraries and debugging software.

Repository: https://github.com/ThingsGateway/ThingsGateway
Canonical: https://ross.abutalabs.com/products/thingsgateway
Homepage: https://thingsgateway.cn
Language: C#
License: Apache-2.0
License Family: permissive
Topics: blazor, iot, modbus, mqtt, plc
Last push: 2026-08-21T04:49:14+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 91
- inputs: {"age_days": 1275, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1476, forks 70 (observed 2026-08-28T04:04:50.190843+00:00)

## What it is
ThingsGateway is an open-source, cross-platform industrial IoT edge gateway built on .NET 8 for high-performance data acquisition, edge processing, and protocol conversion. It uses a plugin-based architecture supporting protocols like Modbus, OPC UA, MQTT, and S7, with a Blazor web UI for configuration, monitoring, and forwarding data to MQTT, databases, Kafka, and APIs.

## Use cases
- collect data from Modbus TCP/RTU PLCs and publish it over MQTT
- build an industrial IoT edge gateway for factory floor devices
- convert between industrial protocols like S7, OPC UA, and MQTT
- forward PLC register data to a database, Kafka, or web API
- run edge-side data filtering and preprocessing before sending to the cloud
- monitor and manage multiple gateway instances from a web dashboard
- acquire data from Siemens S7 and OPC UA devices on Linux or Windows

## When to choose
- you need a self-hosted, open-source industrial data acquisition gateway with a web UI
- you work with common industrial protocols (Modbus, OPC UA, MQTT, S7) and need edge processing
- you want a plugin-based .NET gateway you can extend with custom C# scripts or drivers
- you need cross-platform deployment on industrial PCs or edge servers running Windows or Linux

## When to avoid
- you need proprietary PLC protocols like FINS, CIP/EtherNet/IP, or SECS without purchasing PRO plugins
- you require a lightweight headless library rather than a full gateway application with a management UI
- you cannot accept the community edition requirement to keep the ThingsGateway logo and author attribution
- your project is not .NET-based and you need a gateway in another language or runtime

## Facets
- artifact type: application
- maturity: active
- function: iot, message-queue, web-framework, plugin-system, monitoring, logging, database-driver, workflow-automation
- domain: iot, self-hosted, developer-tools
- platform: cross-platform, windows, dotnet, self-hosted
- tags: industrial-iot, edge-gateway, plc, modbus, opcua, mqtt, s7, data-acquisition, protocol-conversion, blazor, scada, iiot, automation, industrial, edge-computing, linux, docker, web-server

## Member repositories
- ThingsGateway/ThingsGateway (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:50.190843+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:26.556514+00:00, confidence not recorded.
  - readme: https://github.com/ThingsGateway/ThingsGateway (fetched 2026-08-28T04:04:50.190843+00:00, sha e8c3fb49666a)
  - homepage: https://thingsgateway.cn (fetched 2026-08-29T11:41:57.313592+00:00, sha 2bd4f58d8479)
  - site_page: https://thingsgateway.cn/docs/started (fetched 2026-08-29T11:41:57.315954+00:00, sha 1c9348b38a91)
  - site_page: https://thingsgateway.cn/docs/1001 (fetched 2026-08-29T11:41:57.318123+00:00, sha eec1653c2ed6)
  - site_page: https://thingsgateway.cn/docs/upgrade (fetched 2026-08-29T11:41:57.320068+00:00, sha a2e9c3b157f9)
  - site_page: https://thingsgateway.cn/docs/blog (fetched 2026-08-29T11:41:57.322189+00:00, sha 8715dd5a44da)
  - site_page: https://thingsgateway.cn/docs/video (fetched 2026-08-29T11:41:57.323673+00:00, sha bc531a9e12a2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
