ThingsLink Self-Hosted: Air-gapped Ed25519 Signed License & Pay-As-You-Go Cloud now available→
Docs/Connectivity

MQTT, HTTP & 4G DTU Connectivity

Connect MQTT 5.0 (TLS 8883), HTTP REST, 4G Cat.1 DTUs, Modbus gateways, and rotate DeviceKey credentials safely.

Protocol Matrix

Protocol Default Port Authentication Typical Hardware
MQTT 5.0 over TLS 8883 DeviceKey + AccessToken ESP32, STM32, 4G Cat.1, Raspberry Pi
HTTP / HTTPS REST 443 Bearer AccessToken Low-frequency sensors, Webhooks
Modbus RTU / TCP Gateway bridge Gateway credentials + slave ID Siemens PLC, ABB VFD, RS485 meters
LoRaWAN NS Webhook Project inbound secret LoRaWAN gateways & soil/weather sensors

Standard MQTT Topics

  • Publish attributes: attributes (JSON key-value payload persisted to TimescaleDB and evaluated by rules)
  • Subscribe desired shadow: attributes/push (real-time cloud-to-device property updates)
  • Receive commands (RPC): command/send/+ (reply to command/reply/<id> after execution)

Connecting Legacy RS485 / PLC Hardware via 4G DTU

Configure your rail-mounted 4G DTU without touching PLC firmware:

  1. Point the DTU to your MQTT TLS endpoint (8883);
  2. Enter the ThingsLink DeviceKey and AccessToken;
  3. Map Modbus RTU holding registers to JSON attribute keys (kwh, voltage_a, rpm).

Zero-Downtime Credential Rotation

Never hardcode production AccessToken values in public repositories.

Use Reset AccessToken in the device detail view to immediately invalidate a leaked token while preserving DeviceKey continuity.

Ready to build your IoT solutionwith ThingsLink?

Start free on ThingsLink Cloud or deploy sovereign On-Premises in minutes.