# thingsboard/thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols.

Repository: https://github.com/thingsboard/thingsboard-gateway
Canonical: https://ross.abutalabs.com/products/thingsboard-gateway
Homepage: https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: iot, iot-gateway, gateway, mqtt, opc-ua, thingsboard, sigfox, aws-iot, mqtt-broker, aws, bacnet, ble, odbc, can-bus, can, ftp, snmp
Last push: 2026-08-26T08:58:14+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 96, longevity 100
- inputs: {"age_days": 3527, "days_push": 7, "days_rel": 28, "gap_med": 29.0, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2177, forks 997 (observed 2026-08-28T04:06:22.233974+00:00)

## What it is
An open-source Python IoT gateway that integrates legacy and third-party devices with the ThingsBoard IoT platform. It acts as a protocol adapter, collecting data via connectors for Modbus, OPC-UA, BACnet, CAN bus, BLE, MQTT, ODBC, REST, FTP, SNMP and more, then forwarding it to ThingsBoard in a unified format.

## Use cases
- connect modbus plc devices to an iot platform
- collect telemetry from opc-ua industrial systems
- bridge legacy devices to thingsboard
- ingest data from external mqtt brokers
- read sensor data over can bus or ble
- pull telemetry from sql databases via odbc
- integrate bacnet building automation devices

## When to choose
- you use ThingsBoard and need to connect devices speaking industrial or legacy protocols
- you need a single gateway supporting many protocols like Modbus, OPC-UA, BACnet, and MQTT
- you want an open-source, actively maintained, Apache-2.0 gateway with Docker support

## When to avoid
- you don't use ThingsBoard - the gateway is tightly coupled to the ThingsBoard platform
- you need a protocol not covered by the available connectors
- you need a lightweight direct device-to-cloud connection without a gateway layer

## Facets
- artifact type: application
- maturity: active
- function: iot, message-queue, http-client, etl, streaming, sdk
- domain: iot, self-hosted
- platform: python, windows, self-hosted, cross-platform
- tags: iot-gateway, modbus, opc-ua, bacnet, mqtt, can-bus, ble, odbc, protocol-adapter, thingsboard, telemetry, scada, edge, automation, data-engineering, linux, macos, docker

## Member repositories
- thingsboard/thingsboard-gateway (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:22.233974+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-30T02:48:51.266590+00:00, confidence not recorded.
  - readme: https://github.com/thingsboard/thingsboard-gateway (fetched 2026-08-28T04:06:22.233974+00:00, sha fff05dd68854)
  - homepage: https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/ (fetched 2026-08-29T10:28:58.460559+00:00, sha 37489dc4f63a)
  - site_page: https://thingsboard.io/docs (fetched 2026-08-29T10:28:58.467494+00:00, sha 0b81c1eaf190)
  - site_page: https://thingsboard.io/installations (fetched 2026-08-29T10:28:58.465351+00:00, sha 019b30016d41)
  - site_page: https://thingsboard.io/docs/pe (fetched 2026-08-29T10:28:58.469496+00:00, sha ea11bb596acb)
  - site_page: https://thingsboard.io/docs/paas (fetched 2026-08-29T10:28:58.471117+00:00, sha 11a219edf9f9)
  - site_page: https://thingsboard.io/docs/edge (fetched 2026-08-29T10:28:58.472578+00:00, sha 4b0fceb14063)
  - site_page: https://thingsboard.io/docs/mobile (fetched 2026-08-29T10:28:58.473967+00:00, sha b45dd891ea00)
  - site_page: https://thingsboard.io/docs/mobile/pe (fetched 2026-08-29T10:28:58.475300+00:00, sha cfbad20004ed)
  - registry_pypi: https://pypi.org/pypi/thingsboard-gateway/json (fetched 2026-08-29T10:28:58.476630+00:00, sha c6ef068680ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
