Thing Model
Less than 1 minute
Thing Model
Thing models describe device capabilities with properties, services, and events.
Three Elements
| Type | Description | Example |
|---|---|---|
| Property | Device state data (read/write or read-only) | temperature, switch state |
| Service | Operations the device can execute | restart, set temperature |
| Event | Notifications from device | alarm, fault |
Data Types
int, float, double, bool, enum, text, date, struct, array
Define Model
- Product detail → Thing Model tab → Add
- Choose type, enter identifier (English, used in MQTT topics)
- Set data type, range, unit
- Publish to activate
Warning
Connected devices must reconnect to load updated thing models.
