Quick Start

Last Updated on : 2024-04-11 10:30:26download

This topic describes how to quickly create a smart product on the Tuya Developer Platform. You can scan a QR code with the mobile app to try it out. Smart products are the fundamentals of IoT scenarios. You can build an IoT device management platform or develop mobile applications only on top of fully featured products.

Before you start

  1. Go to the account registration page and follow the guide to register a developer account.

  2. (Optional) Complete the organization verification. For more information about the organization verification, see Organization Verification.

    • The registered account is granted all respective permissions. Please keep your account properly to protect your smart products, apps, devices, or user data from being subject to security risks.
    • An organization account refers to a registered account that completes organization verification on the platform. Currently, you must submit your business account to pass the organization verification.

Step 1: Create a product

  1. Log in to the platform.

  2. Click Create.

    Quick Start

  3. Select a product category. For example, you can select Standard Category > Small Home Appliances > Air Purifier.

    Quick Start

    The category must be correct. It determines the subsequent function definitions and device panel development. If you cannot find the product you need, submit a service ticket to contact customer service.

  4. Choose TuyaOS for smart mode. The smart mode includes TuyaOS and TuyaLink.

    Quick Start

  5. After you click TuyaOS, select a custom solution, such as Air Purifier.

    Quick Start

  6. In the Complete product information section, enter the Product Name, Product Model (optional), select Protocol and Power Type. After you confirm it, click Create.

    Quick Start

Step 2: Add product functions

Function refers to the functional abstraction of a smart product, which is one of the most important properties of a product. Functions are represented by different data points (DP for short). For example, a switch has functions of on and off. You can define the switch as a Boolean DP, with 0 indicating off and 1 indicating on. For more information, see Product Functions.

  1. Go to the development page of the smart product and enter the Function Definition step.

  2. As per the prompts, you can select multiple standard product functions.

    In the Selected Function section, certain Required DPs are specified by default according to the category you have selected. In the Selected Function section, you cannot delete a data point with the Required mark.

    Quick Start

  3. Click OK.

  4. (Optional) If you cannot find your desired function in standard functions, you can click + Add in the Custom Functions section to add custom functions. You can also enable advanced functions in the Advanced Functions section.

    Quick Start

    The MCU SDKs for embedded development and app panels will be automatically generated based on product functions.

Step 3: Select an app panel

A panel is a control dashboard on the mobile application of the smart product. After you select an app panel for your product, it will be displayed when the user controls the smart device on the app.

  1. Go to the development page of the smart product and enter the Device Interaction step.

  2. On the Panel Control tab, select the desired panel. Panels are classified into All-in-One Panel, SDK-Based Panel, and Other Panels.

    Quick Start

  3. (Optional) If you want to quickly customize the UI setting and page layout based on the recommended panel, you can hover over the desired panel, click Apply, and then click Edit. You will go to the UI studio to customize the panel online. Meanwhile, you will get a QR code to try it out.

    Quick Start

  4. (Optional) Click the Voice Control tab, choose the desired voice platform, and then click Configure to enable your product to be controlled by its voice assistant.

    Quick Start

Step 4: Download Smart Life app

  1. Scan the QR code to download the Smart Life app.

  2. Register an account and log in to the app.

Step 4: Try it out

  1. On the homepage of the app, click + > Add Device in the top right corner.

    Quick Start
  2. Tap the code scanner icon in the top right corner of the product list.

    Quick Start
  3. Scan the QR code of the product, and start to try your product.

    Quick Start

  4. Now, you can preview your products on your mobile app and try product functions and app panel styles.

    Quick Start

Next steps

After you create a product, you can continue to develop the product according to the following steps.

  1. Hardware Development
  2. Product Configuration
  3. Test Services