Self-host Thingsboard
v4.4.0.2All-in-one IoT platform for device management and data viz
- Stars
- 22 680
- Ports
- 8080 (Web UI and REST API), 1883 (MQTT plaintext IoT device connections), 8883 (MQTT over TLS encrypted IoT device connections), 9090 (Remote Integration Executor (gRPC)), 7070 (Edge RPC (gRPC) for ThingsBoard Edge nodes), 5683 (CoAP plaintext IoT protocol (UDP)), 5684 (CoAP over DTLS encrypted CoAP (UDP)), 5685 (LwM2M CoAP plaintext (UDP)), 5686 (LwM2M CoAP over DTLS encrypted (UDP)), 5687 (LwM2M Bootstrap plaintext (UDP))
- Requires
- PostgreSQL
thingsboard/tb-nodeWhat is Thingsboard?
ThingsBoard provides a complete IoT platform that handles device provisioning, telemetry ingestion, real-time dashboards, and automated rule-based processing. It runs on-premises via Docker or native packages and uses PostgreSQL for metadata with optional Cassandra for time-series data. The rule engine lets you build data pipelines without code, while calculated fields derive KPIs from raw metrics. Multi-tenancy isolates customers and users. Authentication includes built-in accounts, OAuth 2.0/OIDC single sign-on with providers such as Google and Keycloak, and two-factor authentication via TOTP, email, or SMS. A native iOS and Android app delivers dashboards, alarms, and device control with push notifications. Companion products include ThingsBoard Edge for edge computing, an IoT Gateway for legacy protocol translation, the TBMQ MQTT broker, and Trendz Analytics for AI-driven insights. The codebase is source-available under BUSL 1.1, converting to Apache 2.0 after four years, with a free license tier for limited production use.
Should you self-host Thingsboard?
Thingsboard scores 75/100 on selfhost.directory (how scoring works) and ranks #2 of 10 in IoT. It has 22 680 GitHub stars, +141 in the last 30 days.
It shipped 25 stable releases in the past year. The latest, v4.4.0.2, came out on 30 October 2026. New versions land roughly every 2 days.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Other-licensed and written mostly in Java.
Its closest alternative on selfhost.directory is Mosquitto (77/100, 11 425 stars). It scores higher overall, so compare the two before you pick. See Thingsboard vs Mosquitto side by side.
Features
- Alarm and notifications
- Analytics (Trendz)
- Calculated fields
- Data collection and visualization
- Device Management
- Edge Computing
- IoT Gateway
- MQTT broker (TBMQ)
- Multi-tenancy
- OAuth 2.0 / OIDC SSO
- Real-time Dashboards
- Rule Engine
- SCADA dashboards
- Two-factor authentication
More in IoT
timescaleTimescaleDB is an open-source, self-hosted PostgreSQL extension for time-series and event data, with hypertables, columnar compression, and continuous aggregates.
traccarFree open-source GPS tracking server supporting 200+ protocols and 2000+ device models, self-hosted via Docker or manual install with web dashboard and mobile apps.
Vanchor-NGSelf-hosted GPS autopilot turning a trolling motor into a virtual anchor with routing and fishing modes — runs offline on Raspberry Pi or in simulation.
VerneMQVerneMQ is a self-hosted, open-source MQTT broker built on Erlang/OTP that scales to handle millions of IoT connections with low latency and fault tolerance.
WebThings GatewayAn open-source, self-hosted Web of Things smart home hub: control Zigbee and Z-Wave devices from one web UI, automate with drag-and-drop rules, and chart sensor logs.
WillowSelf-hosted open-source ESP32 voice-assistant firmware for $50 hardware, with wake-word detection, on-device or server STT, and Home Assistant integration.
Zigbee2MQTTOpen-source, self-hosted Zigbee-to-MQTT bridge that replaces proprietary vendor hubs, controlling thousands of devices via one USB coordinator and any MQTT broker.
zwave-js-uiOpen-source, self-hosted Node.js and Vue app to manage a Z-Wave network from a web control panel and bridge devices to MQTT, including Home Assistant discovery.
activemqThe open-source, self-hosted Apache ActiveMQ message broker handles JMS, AMQP, MQTT, STOMP and REST traffic from Java, C, Python and .Net clients.
ADS-BitSelf-hosted open-source flight tracker that renders live ADS-B data as retro pixel art sprites with animated sky, weather, and an in-browser sprite editor.
Apache IoTDBApache IoTDB is a self-hosted, open-source time-series database for industrial IoT with high-throughput reads/writes, ultra-high compression, and SQL-like queries.
app-node-redNode-RED - Home Assistant Community Apps
0 comments