Connect a direct MQTT device
A mqtt-direct device connects to our broker itself — no gateway needed.
Protocol: mqtt-direct
Connection fields:
| Field | Meaning |
|---|---|
mqttUsername |
The device's broker username (issued on creation) |
baseTopic |
Topic prefix your device publishes under |
Steps
- Add a device with protocol mqtt-direct and define your tags.
- On the 201 Created response, copy the username and password shown once — they are not retrievable later.
- Configure your device to connect to our MQTT endpoint with those credentials and publish JSON values under its
baseTopic.
Publish data to tenants/{tenantId}/devices/{deviceId}/data. Mind your plan's publish-rate limits.