In a smart living environment, consumers interact with physical devices using apps or voice control. The IoT Platform provides an app service to simplify app development. You can configure a few settings to enable data communication between your app and the platform for device interaction.
Procedure
- Click Next to open the Human-Computer Interaction page for the product.
- Select an app version.
The platform supports two types of apps: a public, no-code app and a self-branded app that you develop using the provided SDK and plugins.
In this example, the public app is used to control the device. To use the public app to control the product, turn on the corresponding switch.
- In the navigation pane on the left, select Share Method to configure the sharing method for the app.
When you bind a device using the app, device ownership is determined by this sharing method. Because of the security requirements for device sharing in the public app, the default sharing method is Authorization-based and cannot be changed.
- In the navigation pane on the left, select Device Panel to configure how the product panel is displayed in the app.
- Click Not Set. In the Select Product Panel dialog box, select a theme panel.
- Install the public app, Cloud Intelligence.
Click Install Now, select the Development Version tab, and then scan the QR code to download the development version.
NoteThe public app has a development version and a user version. The differences are as follows.
- The development version is for developers to debug devices during the development phase. You can download this version only by scanning a QR code.
- The user version is for consumers. You can download it by scanning a QR code or by searching for "Cloud Intelligence" in major app stores. The user version is also divided into global, domestic, and overseas versions based on the region. Scanning the QR code redirects you to the corresponding app store.
- (Optional) Use the Cloud Intelligence app to scan the QR code in the UI Preview section to preview the product interface.
- In the navigation pane on the left, select Product Display to configure the product icon and name that are displayed in the app.
- (Optional) Click Change Icon to change the product icon that is displayed in the app.
- Configure the product name that is displayed in the app.
The product is displayed in the public app in the Brand + Name + Model format. The rules for configuring the product name are as follows.
- Supports Chinese characters, English letters, numbers, hyphens (-), at signs (@), and parentheses ().
- The content cannot contain the word "test".
- Cannot exceed 30 characters. A Chinese character counts as one character.
Note The product name on this page automatically synchronizes with the Chinese tab on the App Multilingual - Click Save.
- In the navigation pane on the left, select Network Provisioning Guide to configure the network provisioning guide that is displayed in the app for the device.
If you select the public app and the product category is light, socket, or switch, two network provisioning methods are supported.
- Standard category provisioning
You cannot modify the guide text for standard category provisioning. You only need to configure the network provisioning type and entry point for the product.
- Custom provisioning
If you do not want to use standard category provisioning, click I want to customize provisioning in the upper-right corner of the Network Provisioning Guide page.
This example uses standard category provisioning. Perform the following steps. For more information about how to use custom provisioning, see Configure custom provisioning for a self-branded project.
- Configure the standard provisioning type.
The supported provisioning methods vary for Wi-Fi and BLE Mesh devices:
- Wi-Fi devices support Wi-Fi and BLE+Wi-Fi. Select a method based on the network connection type of your product.
- BLE Mesh devices only support BLE-Mesh.
Note BLE Mesh & WiFi Combo devices also only support BLE-Mesh.
- (Optional) Configure the network provisioning entry point for the product in the public app.
The default entry points for standard category provisioning are app QR code scanning and local auto-discovery. You can also select the Manually select from product list/search check box to add a category-based entry point for the product.
If you select the Manually select from product list/search check box, the product name that you configure must comply with the specifications. For mass production, the product name must be reviewed by the platform. Only after the name is approved can it be displayed in the network provisioning list of the public app.
- Click Confirm and Save Settings.
- Standard category provisioning
- In the navigation pane on the left, select Multilingual Management to configure the multilingual display of the product name and features in the app.
- Configure the product name.
Note If the product name is already configured on the Product Display page, it is automatically displayed here. Any changes you make here are also synchronized to the Product Display page.
For mass production of lights, sockets, or switches, if the Manually select from product list/search check box is selected on the Network Provisioning Guide page, the configured product name requires a review before it can be used. If the review fails, you must modify and resubmit the name until it is approved.
- Configure the names of product features.
Product features are divided into simple and complex features. You must configure the display name for each property value in the app.
For lights, sockets, and switches, the platform automatically generates default feature names that you can use directly. For other categories, you must configure the names.
- Click Save.
- (Optional) To change the app language, switch to the tab of the required language and configure the product name and features in the same way.
- Configure the product name.
- (Optional) Configure the remaining app parameters.
This example describes only the required parameters for selecting the public app. For more information about other parameters and their configuration methods, see Configure human-computer interaction.