Open sourceActive

ThingsBoard

ThingsBoard: ThingsBoard Docs Guides, recipes, and API references to build IoT solutions with ThingsBoard Community Edition.

Open source page

Field note

What it does

Getting Connected ThingsBoard acts as a standard MQTT broker. Any MQTT v3.1, v3.1.1, or v5.0 client can connect — firmware libraries (Paho, MQTT.js, arduino-mqtt), integration tools, or the mosquitto command-line client used in examples throughout this section. Connection Parameters Section titled “Connection Parameters” Parameter Value Host Your ThingsBoard hostname Port 1883 (plain) · 8883 (TLS) Protocol MQTT v3.1, v3.1.1, v5.0 QoS 0 (at most once) · 1 (at least once) Command-Line Tools Section titled “Command-Line Tools” Examples in this section use mosquitto_pub and mosquitto_sub . Install the mosquitto client package for your OS from mosquitto.org/download or your system package manager, then verify with mosquitto_pub --version . Credential Types Section titled “Credential Types” Choose the credential type that fits your device’s security requirements. Configure it per device under Manage credentials — see Devices . Type MQTT Username MQTT Password MQTT Client ID Access Token Device access token (empty) (any) MQTT Basic Custom username (optional) Custom password (optional) Custom client ID (optional) X.509 Certificate (empty) (empty) (any) — mutual TLS only Access Token Section titled “Access Token” The simplest credential type. The token acts as the MQTT username; no password is required.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Access Token

Certificate Chain (Recommended for fleets)

Command-Line Tools

Connection Parameters

Credential Types

Getting Connected

Individual Certificate

MQTT Basic

MQTT over TLS

MQTT Transport Configuration

Topic Formats

X.509 Certificate