Skip to content
Stand with Ukraine flag

IoT Device Connectivity Guide

ThingsBoard supports multiple connectivity scenarios. Choose the one that fits your device and infrastructure — then follow the linked reference for setup instructions.

Your device runs custom firmware and connects directly to ThingsBoard over IP — no middleware required.

ProtocolCredentialsBest forReference
MQTTAccess Token, MQTT Basic, X.509Custom firmware, real-time telemetry, RPC commandsMQTT API
MQTT Sparkplug BAccess Token, MQTT Basic, X.509SCADA/IIoT with Sparkplug-aware brokersSparkplug B API
HTTPAccess Token, X.509Periodic uploads, devices behind strict firewallsHTTP API
CoAPAccess Token, X.509Constrained devices, UDP networksCoAP API
LwM2MPSK, PRK, X.509, No-SecNB-IoT, cellular IoT, standardized object modelLwM2M API
SNMPCommunity string (v1/v2c), USM (v3)Network devices, industrial equipmentSNMP API

Use the built-in Check connectivity tool from the device details page to generate a ready-to-run command for your chosen protocol and OS.

Used in enterprises, factories, and building management systems where devices speak IIoT protocols (Modbus, OPC-UA, BACnet, CAN, BLE…). The ThingsBoard IoT Gateway runs on a local machine and bridges them to ThingsBoard over MQTT.

ConnectorProtocols / SourcesReference
MQTTMQTT brokers, MQTT devicesMQTT Connector
OPC-UAOPC-UA serversOPC-UA Connector
ModbusModbus RTU/TCP devicesModbus Connector
BLEBluetooth Low Energy devicesBLE Connector
CANCAN bus devicesCAN Connector
BACnetBACnet/IP, BACnet MS/TPBACnet Connector
SNMPSNMP-managed devicesSNMP Connector
ODBCDatabases via ODBCODBC Connector
FTPFTP/FTPS servers, CSV filesFTP Connector
HTTP(S) RequestREST APIs, HTTP endpointsRequest Connector
RESTREST API sourcesREST Connector
CustomAny protocol via PythonCustom Connector
What is ThingsBoard IoT Gateway?

Your devices transmit over a low-power wide-area network (LoRaWAN, SigFox, NB-IoT). Data flows through a network server first, then into ThingsBoard via a Platform Integration.

Network Server / ProviderReference
ChirpStackChirpStack built-in integration
ChirpStackChirpStack Integration
The Things Network (TTN / TTS)TTN Integration
LORIOTLORIOT Integration
Actility ThingParkThingPark Integration
SigFoxSigFox Integration

Your devices already send data to a cloud backend (AWS IoT, Azure, IBM Watson, an MQTT broker, or an OPC-UA server). Platform Integrations bridge that backend to ThingsBoard via a server-side data pipeline. Incoming data is decoded with an uplink converter before being stored as device telemetry.

IntegrationUse caseReference
HTTPDevices that push data via webhooksHTTP Integration
MQTT BrokerBridge from any MQTT broker (Mosquitto, EMQX, HiveMQ…)MQTT Integration
AWS IoTDevices registered in AWS IoT CoreAWS IoT Integration
Azure IoT HubDevices registered in Azure IoT HubAzure IoT Hub Integration
Azure Event HubData streamed via Azure Event HubAzure Event Hub Integration
OPC-UAOPC-UA servers without a local gatewayOPC-UA Integration
View all Platform Integrations →