Function Overview

更新时间:
复制 MD 格式

After you create a product, you must define its features. This is done by defining a Thing Specification Language model.

Features are composed of three elements: properties, events, and services.

Three Elements of a FeatureDescription
PropertyDescribes the runtime status of a device. Supports reading and setting the status, such as on/off state, temperature, and color.
ServiceImplements complex business logic. Services can include input and output parameters to make a device perform a specific task. For example, an oven's baking service requires setting the time and temperature.
EventDescribes device runtime events, such as instant notifications. Events can also include multiple output parameters. For example, an event is triggered when a motion sensor detects a person or an air conditioner reports a failure.

Each product has the following two types of features.

Feature typeDescription
Standard featuresThe platform creates default standard features for each product category based on the ICA Data Standard.
Custom featuresIf the standard features do not match your device, define custom features.
Note Feature customization is available only in Private Brand Projects.

You must define a Thing Specification Language model for each product. For more information, see Thing Specification Language model overview.

Feature typeDescription
Import Thing Specification Language modelImport a Thing Specification Language model by copying it from an existing product or by uploading a local JSON file.
Note You can import a Thing Specification Language model only for products in a Private Brand Project.
View Thing Specification Language modelAfter you define the features, the platform automatically generates a Thing Specification Language model in JSON format. The model is based on the standard and custom features.
Export Thing Specification Language modelWhen you view a Thing Specification Language model, you can export it. For more information, see Export a Thing Specification Language model.