General-Scene
Function Introduction
- Scene capability is a very important part of intelligent lighting. It can enrich the lighting gameplay and realize various lighting effects. It is divided into two scene modes: standard scene and customer-defined scene.
DP protocol
- dpCode: dreamlight_scene_mode Details (applicable to fantasy scene)
- General dpCode scene_data protocol details
How to develop
-
Monitor and report DP according to UI interaction
-
Furthermore, we provide extension plug-ins on Tuya MiniApp IDE to assist development. Click
Extension Managementto seePanel IDE Lighting Scenario Library Extension. After downloading, follow the instructions on the extension to use it.
Notes
- Limitation on the number of custom scenarios:
- Due to the limited embedded memory space, the number of custom scenarios added during operation is generally limited, usually not exceeding 10
Related materials
- [Function page]:
- None
- [Component]:
- None
- [Tutorial]:
- None
- [API]: