selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Thingsboard logo

Self-host Thingsboard

v4.4.0.2

All-in-one IoT platform for device management and data viz

ReleaseSource AvailableOther
Updated2 weeks ago
LanguageJava
Setup difficultyAdvanced
MobileNative app
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
Docker
thingsboard/tb-node

What 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

Thingsboard README

banner

How to configure Thingsboard

  • TB_QUEUE_TYPEin-memoryMessage queue type

    values: in-memory, kafka, rabbitmq

  • SPRING_DATASOURCE_URLjdbc:postgresql://postgres:5432/thingsboardPostgreSQL JDBC connection URL
  • SPRING_DATASOURCE_PASSWORDpostgresPostgreSQL password ThingsBoard uses to connect
  • TB_SERVICE_IDtb-nodeUnique identifier of the ThingsBoard node
  • TB_LICENSE_SECRETOptional ThingsBoard license key

Thingsboard releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in IoT

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…