English | 简体中文
for docs, please visit tuya docs
for users outside Chinese mainland, please remove .npmrc
file.
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
$ curl https://codeload.github.com/tuya/tuya-panel-demo/tar.gz/master | tar -xz --strip=2 tuya-panel-demo-master/examples/smartLock
$ mv smartLock tuya-panel-smartLock-example
$ cd tuya-panel-smartLock-example
This template project is a WiFi door lock template, which can support the following functions:
- Open door record check
- Check the alarm message
- Child lock, backlock and battery display
- Days of protection
You can scan the following QR code through the Tuya app to preview.
$ npm install && npm run start
# or
$ yarn && yarn start
- tuya.m.device.lock.active.period
- tuya.m.device.lock.alarm.unread
- tuya.m.scale.history.list
- tuya.m.device.lock.alarm.list
Copyright © 2020