Exporting and Importing Product Models

Product models can be exported from or imported to the IoT platform.

  • After a product is developed, tested, and verified, you can export the online defined product model to the local host.
  • If you have a complete product model (developed offline or exported from other projects or platforms) or use an Excel file to edit a product model, you can directly import the product model to the platform.

Exporting a Product Model

After a product is developed, tested, and verified, you can export the online defined product model to the local host.

  1. Log in to the IoTDA console.
  2. In the navigation pane, choose Products. In the product list, select a product and click View.
  3. On the product details page, click to download the product model to the local host.

Importing a Product Model

If you have a complete product model (developed offline or exported from other projects or platforms) or use an Excel file to edit a product model, you can directly import the product model to the platform.

The product model imported from the local host does not contain a codec. If the device reports binary code, go to the IoTDA console to develop or import a codec.

  • Import Local Profile
    1. Log in to the IoTDA console.
    2. In the navigation pane, choose Products. In the product list, select a product and click View.
    3. On the Model Definition tab page, click Import Local Profile. In the dialog box displayed, load the local profile and click OK.

  • Import from Excel
    1. Log in to the IoTDA console.
    2. In the navigation pane, choose Products. In the product list, select a product and click View.
    3. On the Model Definition tab page, click Import from Excel. In the product template downloaded, enter the service ID on the Device sheet and set parameters such as properties, commands, and events on the Parameter sheet. Import the Excel file and click OK.