Mini-app panel
Build a device control panel that runs in the phone app and cooperates with the firmware over DP (Data Points) โ create, bind, preview, and publish.
This practice turns to the interface โ you use Tuya mini-app technology to build a device control panel that runs inside the phone app and talks to the firmware through DP (Data Points).
How firmware and panel cooperate over DP
Firmware and panel are two independent programs that communicate through DP:
- Firmware side: define DPs in TuyaOpen IDE (for example
switch_led) and report them. - Panel side: use the mini-app API โ
publishDpsto send,onDpDataChangeto listen โ to control the device.
Prerequisite: at least one device that can reach the Tuya Cloud. Build one first in Practice 2.
Step 1: Account and product
-
Enter mini-app panel development and follow the three steps on the right.

-
After Practice 2 you are already logged in and have a bound product. Now go to the developer platform to create a mini-app for binding.

-
Create a new mini-app panel.

-
Select the panel mini-app type.

-
After creating it, return to the IDE and log in to your Tuya developer account again.

-
After login, return to mini-app panel development and click Update. You see the panel mini-app you just created on the developer site โ click Bind.

Step 2: Debug and preview
-
Click Debug & Preview on the right to build the mini-app and render the panel. The panel appears below on a virtual device.

-
Click the virtual panel on the left to interact; the right side shows the DP data for the virtual device interaction.

-
Now you can personalize the mini-app code. After editing, rebuild and re-render to preview. Installing the IDE-provided skills speeds this up โ see Vibe Coding skills.
Step 3: Upload and publish
-
Click Upload & Publish on the right to upload to the cloud first.

-
After upload succeeds, go to the Tuya Developer Platform to submit for review.

-
Open Basic settings, fill in the mini-app description, English display name, and upload a preview image.

-
Open Version management and do Step 1 โ Submit for review.

-
Open the review version and wait. After a few minutes, refresh to see it approved, then click Publish.

-
Back in the IDE, do Step 2 โ click Reselect panel, choose the custom panel, and you can see the latest panel in the SmartLife app.


Where to go deeper
| Want to | Go here |
|---|---|
| Speed up development with AI | Vibe Coding skills |
| Build your own cloud Agent | Agent Development Guide |
| Build device control panels | Panel Mini-App portal |
| Learn the mini-app technology / API | Tuya Mini-App docs |
| Build a panel with no code | Panel Studio |