Skip to content
IntellobotsTechnologies

Set up · How-to

Connect Wi-Fi and IoT devices

Endpoints, topics and message formats for devices that talk MQTT directly, including commands and twins.

Updated 11 Nov 20262 min read

All ThingsX IoT Core pages

Endpoint and ports

PortProtocolSign in with
8883MQTT over TLSClient certificate, or username and password
8443MQTT over secure WebSocketUsername and password
1883Plain MQTT (private networks only)Username and password

Use the endpoint from your workspace details (<your-endpoint> below). The client ID must equal the thing name.

Topics a device uses

PurposeTopicDirection
Telemetrytic/things/<name>/telemetryDevice → cloud
Eventstic/things/<name>/eventsDevice → cloud
Commandstic/things/<name>/commands/<id>Cloud → device (subscribe to tic/things/<name>/commands/#)
Command replytic/things/<name>/commands/<id>/responseDevice → cloud
Twin$tic/things/<name>/twin/update, /get, /deleteBoth ways (replies on /accepted, /rejected, /delta, /documents)

Telemetry

Publish JSON. Every numeric field becomes a metric you can chart and use in rules; nested objects are flattened ({"power": {"v": 230}} becomes power.v). Add ts (ISO 8601) if the reading was taken earlier than it is sent.

{ "temperature": -19.4, "humidity": 61.2, "door_open": 0, "ts": "2026-11-11T09:30:00Z" }

Events

For things that happen rather than readings, publish to the events topic with a type:

{ "type": "door_alarm", "duration_s": 95 }

Events appear on the device's Timeline and can trigger rules.

Commands

Subscribe to your command topic. When a command arrives, do the work, then reply on the response topic with {"status": "ok"} or {"status": "failed", "reason": "…"}. The command moves from queued → sent → acked (or failed). See Send commands.

Device examples

  • ESP32 (Arduino or ESP-IDF): use the MQTT client with TLS; load the root CA, device certificate and key from flash. Keep the clock right (SNTP) so certificate checks pass.
  • Linux devices: any MQTT library works (Paho for Python, C or Java; mosquitto_pub for quick tests).
mosquitto_pub -h <your-endpoint> -p 8883 --cafile root-ca.pem --cert dev.pem --key dev.key \
  -i store-hyd-01-freezer-1 -t tic/things/store-hyd-01-freezer-1/telemetry -m '{"temperature": -19.4}' -q 1