Device Profiles
Reusable templates that define how a type of device connects and how its data is decoded
A device profile describes a type of device: how it uses MQTT and how to read its data. You configure it once and apply it to every device of that type. Change the profile, and every device using it changes too.
Example
you have 200 identical soil sensors. Create one "Soil Sensor v2" profile with its decoder and keep-alive, and register all 200 devices with it.
What a profile defines
| Setting | Purpose | Where you set it |
|---|---|---|
| Profile Name, Description | How your team recognizes it | Create form |
| Profile Key | A unique identifier in the workspace, generated from the name | Create form |
| Device Type | Sensor, Gateway, Controller, or Transceiver | Create form |
| Transport Type | MQTT (HTTP and LoRaWAN are listed but don't accept data yet) | Create form |
| Visibility | Private or Tenant (see below) | Create form |
| Default Profile | Pre-selected when someone adds a device | Create form |
| Codec Type and Decoder Script | How raw messages become data fields. CUSTOM (a JavaScript decoder) or NONE (no fields are stored) | Payload Formatter tab |
| QoS, Keep Alive, Clean Session | How devices of this type should connect | MQTT Configuration tab |
| Timestamp Source | Platform Timestamp (time received) or Device Timestamp (time in the payload) | MQTT Configuration tab |
Every new profile starts with codec NONE, which doesn't store any fields. For any device whose data you want to keep, switch the profile to CUSTOM, even for plain JSON. See Payload Decoder.
The profile page
Opening a profile shows five tabs:
| Tab | Contents |
|---|---|
| Overview | The profile's settings |
| MQTT Configuration | QoS, keep-alive, clean session, and timestamp source |
| Payload Formatter | Codec type, the decoder editor, and the decoder tester |
| Devices Using Profile | Which devices use it |
| Statistics | Activity for devices on this profile |
Visibility
| Visibility | Who can see and use it |
|---|---|
| Private (default) | The creator and Admins |
| Tenant | Everyone in the workspace who works with devices |
Admins see, edit, and delete every profile. Engineers see their own profiles plus every Tenant profile, and can edit only the profiles they created. Only Admins can delete profiles.
Keep a profile Private while you build and test the decoder, then switch it to Tenant so the whole team can use it.