Skip to content

Latest commit

 

History

History

lampDimmer

Tuya Panel Dimmer Template

English | 简体中文

for docs, please visit tuya docs

for users outside Chinese mainland, please remove .npmrc file.

Attention

The RN version of the template is 0.51, and the template is no longer maintained. It is for reference only, and it is recommended to use basic-ts-0.59

Download manually

$ curl https://codeload.github.com/tuya/tuya-panel-demo/tar.gz/master | tar -xz --strip=2 tuya-panel-demo-master/examples/lampDimmer
$ mv lampDimmer tuya-panel-lampDimmer-example
$ cd tuya-panel-lampDimmer-example

Introduction

The template project can be used to quickly create lighting dimmer projects, supporting the following functions: 1 channel dimming / 2 channel dimming / dimming lamp type configuration / setting lamp brightness adjustable range / cloud timing / using device storage interface

You can scan the following QR code through the Tuya app to preview.

LampClassic

Running

$ npm install && npm run start
# or
$ yarn && yarn start