Last Updated on : 2024-09-13 08:51:38download
This topic describes how to create a switch product with a no-code solution on the Tuya Developer Platform, using Three-gang Switch Pro Wi-Fi and Bluetooth LE combo as an example.
Log in to the Tuya Developer Platform.
Click Create.
Find Standard Category, and click Electrical > Switch.
Find Choose a product plan, and click Zero-Coding Development > WiFi+Bluetooth > 3-gang > Three-gang Switch Pro_Wi-Fi_Bluetooth LE.
Note: If the functions provided by the no-code solution fails to meet your requirements, you can turn to custom solutions with the reference of SoC custom firmware process.
Complete product information.
Note:
- The model will not be displayed on the app. It is recommended to enter the internal model name or customer’s product model to ease product and order management on the platform.
- The product information above can be modified in subsequent steps. See Modify product information.
Click Create. When a product is created, you will see Create Standard Functions of the step of Function Definition.
In the dialog box of Create Standard Functions, add functions as needed, and click Confirm.
Note:
- The required functions cannot be removed from the selected functions.
- Select data points for different products according to actual interface prompts.
(Optional) Modify product information. Product information can be modified at any stage of the no-code solution.
(Optional) On the Function Definition page, enable cloud functions as needed.
Click Next: Device Panel at the bottom of the page. You will see the Device Panel page.
This section describes how to configure a device panel, using a public panel as an example. If you require custom panels or panel editing, you can proceed with relevant operations as per the prompts.
On the Device Panel page, find an ideal panel and click Apply.
Note: More panels are available after upgrading to an enterprise account.
(Optional) You can change or edit the panel as needed. Scan the QR code with the Tuya Smart app to preview.
Click Next: Hardware Commission. You will see the Hardware Commission page.
This section uses the WB3S Wi-Fi and Bluetooth LE combo module to describe hardware commission. It is recommended that professional engineers perform hardware commissioning.
Select a module as needed after checking the module details.
Configure firmware parameters in the Generate firmware 1 To be generated area. The specific parameter configuration is as follows.
Parameter Type | Parameters | Description |
---|---|---|
Master control settings | Device Status |
|
button_type |
|
|
Hardware function selection | Backlight selection | Select as needed. Backlight switch DP corresponds with backlight function respectively. |
Zero-crossing action selection | Select as needed. | |
distribution_network_setting | first_distribution_network_trigger_mode | Pairing triggering mode when the switch is powered on for the first time.
|
reset_time | The time of pressing and holding the button to restore the device. Value range: 3 to10 seconds. |
|
netled | Select a pin from the pull-down menu and the selected one cannot be used for other parameter configurations. High-level active and low-level active.Note: When the indicator is blank, use the first relay indicator of the configuration as network indicator. Network indicator and relay indicator cannot both be blank. |
|
Network indicator status when not connected | Select the indicator status as needed when it is not connected to the network. | |
Network indicator status when connected | Select the indicator status as needed when it is connected to the network. | |
Channel settings | Button | Select a pin from the pull-down menu and the selected one cannot be used for other parameter configurations. High-level active and low-level active. |
Relay | Select a pin from the pull-down menu and the selected one cannot be used for other parameter configurations. High-level active and low-level active. | |
relay led | Select a pin from the pull-down menu and the selected one cannot be used for other parameter configurations. |
When the configuration is completed, click Online Firmware Generation.
Development debugging. Follow the interface prompts, view the circuit schematic, download the Tuya Cloud Test app, and perform debugging.
After debugging is completed, Click Next: Product Configuration. You will see Product Configuration page.
Configure items according to operating instructions. When the configuring is finished, click Next: Test Services.
Follow the prompts on the page to perform a self-service test with the Tuya Cloud Test app and produce a test report. You can also subscribe to the Tuya Test service. When the test is completed, click Next: Product Release.
Note:
- Tuya Cloud Test app is only available for Android.
- For more information about the Tuya Cloud Test process, see Tuya Cloud Test App.
- Do not delete developing or completed products to avoid data loss and affecting proper product usage.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback