English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development

Tuya provides multiple mobile app development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.
layoutIndex
DocumentationQuick Start

Quick Start

Last Updated on : 2021-12-27 07:14:49download

This topic describes how to use the Tuya IoT Development Platform to fast create a smart product. You can scan the QR code with the app to get a browsing experience.

Before you start

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

    The account you registered has administrative permission. Please keep your account properly to prevent the smart hardware products, apps, device operations, or user data from being subject to security risks.

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

    An organization account refers to a registered account that completes organization verification on the Tuya IoT Development Platform. At present, for organization verification, you must submit your business account. The account that completes organization verification enjoys more account benefits. For more information, visit Cloud Market.

Procedure

Step 1: Create a product

  1. Log in to the Tuya IoT Development Platform.

  2. Click Create.

    Quick Start

  3. In the left navigation bar, select Small Home Appliance > Air Purifier. Select a smart mode from TuyaOS and TuyaLink and then select a custom solution. For TuyaLink products, see Device Connectivity.

    Quick Start

    The selected product category is very important. The platform presets and recommends product functions and app panels for the specified product. If you cannot find the product you need, click the Help Center icon in the lower right corner and submit a ticket to contact customer service.

  4. Take TuyaOS products for example. After you select a product, complete the following fields for product information: Product Name, Product Model (optional), 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 attributes 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 1 indicating on and 0 indicating off. For more information, see Product Functions.

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

  2. According to the guide on the page, select multiple standard product functions.

    In the Standard Functions, the Tuya IoT Development Platform has set some Required DPs according to the category you have selected. In the Standard Functions, 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

The 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 Panel step.
  2. Hover your mouse cursor on the desired panel, and click Apply.
  3. (Optional) If you want to quickly customize the UI setting and page layout based on the recommended panel, you can click Edit after selecting the panel, and go to the panel studio to customize the panel online.
  4. Get the QR code to try it out.
    Quick Start

Step 4: Try it out

  1. Scan the code to download the Smart Life app.
    Quick Start

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

  3. On the home page of the app, click + in the top right corner.

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

    Quick Start
  5. Scan the QR code of the product, and start to try your product. Now, you can preview your products on your mobile phone 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 Service

This section contains the following topics to help you quickly understand related concepts and how-to guides: