English | 简体中文
for docs, please visit tuya docs
for users outside Chinese mainland, please remove .npmrc
file.
$ curl https://codeload.github.com/tuya/tuya-panel-demo/tar.gz/master | tar -xz --strip=2 tuya-panel-demo-master/examples/lampGeneric
$ mv lampGeneric tuya-panel-lamp-generic-example
$ cd tuya-panel-lamp-generic-example
The template project can be used to quickly create a standard dp protocol lighting 5-way bulb project, supporting the following functions
- White light setting
- IPL settings
- Scene setting
- Musical rhythm
- Customize the setting of scene attributes
- Countdown
- Cloud timing
The following categories are supported:
- WiFi
- BLE
- Sigmesh
- Zigbee
You can scan the following QR code through the Tuya app to preview.
$ npm install && npm run start
# or
$ yarn && yarn start
Copyright © 2020