Tuya
Creating Products with TuyaOS
Document Version: 20250610
Table of Contents
Step 1: Select Product Category
This guide uses the creation of a custom development light source product as an example to explain the entire process of creating a product on the Tuya Developer Platform. This includes steps such as selecting the product category, functionality, control panel, hardware module, and obtaining an authorization code. The described steps are applicable to most TuyaOS developed products.
- Log in to the Tuya Developer Platform using your previously registered account.
- On the left sidebar, click Products > Product Development > Create Product.
- In the standard categories, select Lighting > General Lighting > Light Source.
- Select Light Source > Product Development > Custom Solution > Light Source.
Info:
- If you choose Zero-Code Implementation, you can configure functions online on the platform and directly generate firmware.
- If you choose Custom Solution, you can use Tuya Wind IDE to develop custom functions. This offers more flexibility compared to zero-code implementation and requires selecting the Custom Solution option.
Create Product
Image Description: A screenshot of the Tuya Developer Platform's 'Create Product' interface, showing category selection options like 'Electrical', 'Lighting', 'Sensors', 'Home Appliances', etc. The 'Lighting' category is expanded, showing 'General Lighting' and 'Light Source' selected. Options for 'Zero-Code Implementation' and 'Custom Solution' are visible.
5. Fill in the Product Name. Select the communication protocol based on the module. Then, click Create Product.
Step 2: Select Functionality
After creating the product, you need to select its functionalities. The left list shows available functions, and the right list shows selected functions. You can choose functions based on your actual application scenario.
- Select only the mandatory functions. Click to delete optional functions, and then click Confirm.
Image Description: A screenshot of the 'Select Functionality' interface within the Tuya Developer Platform. It displays available Data Points (DPs) like 'Brightness', 'Color Temperature', 'Color', 'Switch', 'Mode', 'Scene', 'Countdown', 'Music Rhythm', 'Real-time Adjustment', and 'Gamma Debugging'. Users can add or remove these DPs.
2. After selecting the functions, you will be directed to the Function Definition interface. Below the product name is the product's PID information. The middle section shows the selected functions, including their IDs and data types. To add more functions, click Add Function.
3. Below this interface, you will find sections for Custom Functions and Advanced Functions.
- In the Custom Functions section, you can add custom functionalities.
- The Advanced Functions section includes optional features such as lighting scene libraries and color temperature configuration. You can adjust these based on your specific needs.
Step 3: Select Panel
1. On the product development page, click Device Interaction, and then under Panel Control, select a suitable panel for your product. The panel is the interface style used to control the device in the Smart Life App. Different control panels have different interface styles and control elements. The platform provides a large number of public panels for you to choose from. You can also develop custom panels, order customized panels, or select Studio panels. This example uses a public panel.
For panel selection and configuration, please refer to Device Interaction.
Image Description: A screenshot showing the 'Device Interaction' section of the Tuya Developer Platform. It highlights the 'Panel Control' area where users can choose from 'Public Panels', 'Custom Panels', 'Customized Panels', and 'Studio Panels'. A preview of a European-style lighting template is shown.
2. After selecting the panel, you can click Edit Panel for simple panel editing, or click Re-select Panel to change the panel. You can also use the Smart Life App to scan the QR code on the right to experience the panel's functionality.
Image Description: A QR code and instructions on how to scan it using the Smart Life App to preview the panel's functionality.
Step 4: Select Hardware Module
1. Click Hardware Development and select TuyaOS as the access method.
Image Description: A screenshot showing the 'Hardware Development' section. Options for 'MCU SDK' and 'TuyaOS' are presented. 'TuyaOS' is selected, with a description highlighting its rich IoT function components and chip platform support.
2. On this interface, you can select the hardware module to be used. Click Hardware Details to view the module's main frequency, peripheral parameters, etc. Make your selection based on your actual application. Here, we select the CBU Wi-Fi & Bluetooth module.
Image Description: A list of available hardware modules with options to view details and select them. The 'CBU Wi-Fi & Bluetooth Module' is highlighted.
With this, the product creation configuration is complete. Typically, you only need to select the product's functionality, panel, and hardware module.
Step 5: Obtain Authorization Code
Only authorized modules can access the Tuya Developer Platform. Each account can obtain free authorization codes.
- After clicking Hardware Development, click Claim 2 Free Authorization Codes.
- In the pop-up window indicating the maximum number of free authorization codes your account can claim, click Confirm.
- Select Authorization Code List as the delivery method, and click Confirm Claim.
- Click Submit Order.
- Click Go to Order List Page.
- Click Download Authorization Code List.
Image Description: A screenshot of the order confirmation and download process for authorization codes, including options for advanced features and their associated costs.
7. In the Download Production Certificate pop-up window, obtain and enter the verification code, then click Confirm and Generate for Download.
8. Subsequently, the system will automatically download and save an Excel file containing the authorization code information.
For an introduction to UUID and Authkey, please refer to Authorization Code and Advanced Capabilities.