Project Template

Overview

The project template is designed to reduce the difficulty for developers to set up projects by organizing common capabilities and providing corresponding project source code.

Warning

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.

✅ 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

  • Light String Custom Painting

  • Music Mode

    • App Music - Color changes following the phone's microphone input
    • Device Music - Device microphone captures sound, light string colors change accordingly
  • Scenes

    • Supports 49 default scenes, also supports custom scenes. See Scenes 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

Appendix