Skip to content

Latest commit

 

History

History

smartLock

Tuya Panel SmartLock 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/smartLock
$ mv smartLock tuya-panel-smartLock-example
$ cd tuya-panel-smartLock-example

Introduction

This template project is a WiFi door lock template, which can support the following functions:

  1. Open door record check
  2. Check the alarm message
  3. Child lock, backlock and battery display
  4. Days of protection

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

SmartLock

Running

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

API

License

Copyright © 2020