Skip to content

Thing Model ​

Thing models describe device capabilities with properties, services, and events.

Three Elements ​

TypeDescriptionExample
PropertyDevice state data (read/write or read-only)temperature, switch state
ServiceOperations the device can executerestart, set temperature
EventNotifications from devicealarm, fault

Data Types ​

int, float, double, bool, enum, text, date, struct, array

Define Model ​

  1. Product detail → Thing Model tab → Add
  2. Choose type, enter identifier (English, used in MQTT topics)
  3. Set data type, range, unit
  4. Publish to activate

警告

Connected devices must reconnect to load updated thing models.

FastBee | fastbee.cn