# Project Template

## Overview

The project [template](https://developer.tuya.com/en/miniapp-codelabs/codelabs/panel-lamp-strip/index.html#0) is designed to reduce the difficulty for developers to set up projects by organizing common capabilities and providing corresponding project source code.

<Callout type="warning" emoji="⚠️">
  Note that the corresponding external template is for light strips, which has slight differences from light strings. These differences will be explained in the documentation.
</Callout>

> ✅ **It is recommended to use this template as a starting point for development** to avoid reinventing the wheel and improve efficiency.

## Covered Features

The project template includes multiple pages and functional modules.

### Home Page

- [Switch](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/common-switch)
- Light String [Custom Painting](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/special-light-dimmer)
- Music Mode
  - [App Music](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/common-music) - Color changes following the phone's microphone input
  - [Device Music](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/common-music) - Device microphone captures sound, light string colors change accordingly
- Scenes

  - Supports 49 default scenes, also supports custom scenes. See [Scenes](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/common-scene) documentation

- Supports uploading images, AI image recognition to identify main color values in the image and make the light string colors consistent with the image colors

### More

- [Painting Adjustment](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/special-light-dimmer)
  - **Unlike light strips**, light strings have a separate segment DP, which determines the number of segments based on the segment DP
- [Timer](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/common-timing)
- [Countdown](/en/miniapp/solution-ai/ability/lamp-solution/lamp/module-set/common-countdown)

## Appendix

- [Template Documentation](https://developer.tuya.com/en/miniapp-codelabs/codelabs/panel-lamp-strip/index.html#0)
- [Asset Repository](https://developer.tuya.com/material/library_oHEKLjj0/)
