How does my device connect over MQTT?

Updated

A direct MQTT device connects to our broker itself:

It publishes JSON under its topic:

tenants/{tenantId}/devices/{deviceId}/data

Keep your publish rate under your plan's limits or messages are dropped. Gateway-mediated devices don't need their own MQTT setup — the gateway handles the connection for them.