English | 简体中文
This document provides development templates of common categories.
You can read the official documents for more information.
- nodejs 8+
npm
oryarn
To quickly run a panel project, run:
$ cd examples/${TemplateName}
$ npm install && npm run start
# or
$ yarn && yarn start # if you use yarn
Then, open your Tuya Smart app for debugging.
It is recommended to use the template of
tuya-panel-ki
4.0.0 or above for development, and the 2.0.0 series is no longer maintained
- airPurifier
- airThermostat
- basic-ts-0.59
- basic-ts-navigation
- basic
- cooker
- curtain
- curtainSwitch
- electricHeatingTable
- gatewayBleMesh
- gatewayZigbee
- ipc
- ipcBasic
- lampClassic
- lampDimmer
- lampGeneric
- platoonSocket
- scenario
- sensor
- smartLock
- smartLockZigbee
- switch
- wirelessSwitch
You can check the complete list of Tuya Panel examples here.
# 4.x & 2.x
$ sudo ./scripts/tuya-panel-kit 4.x 2.x
# 4.x
$ sudo ./scripts/tuya-panel-kit 4.x
# 2.x
$ sudo ./scripts/tuya-panel-kit "" 2.x
Copyright © 2020