Last Updated on : 2024-06-21 03:47:03download
This chapter describes the development process and API reference for smart lock solutions.
The following integration solutions are available to develop a smart lock product. You can opt for one or more of those solutions that suit your business needs.
This section describes the steps to create a smart lock product. For more information, see Create Products.
Log in to the Tuya Developer Platform.
Choose the Smart Locks category. The following types of smart locks are supported.
Product name: Specifies the name of your product.
Example: xxx (brand) + xxx (product) + xxx (module model)
(Optional) Product model: Specifies the product model to distinguish between products.
Example: XXX (TY-WF-MS-001)
Protocol: Specifies the protocol your product uses for connectivity. The available protocols vary depending on the product you create.
Power type: Low power for Wi-Fi, standard power for Bluetooth and Zigbee, and PSM or DRX for NB-IoT. Currently, all Tuya-enabled smart locks are low-power devices powered by batteries. If your product requires standard power consumption (5V 1A USB power supply), contact your account manager.
After you complete the required information, click Create.
Now, you can proceed to develop the smart lock product. For more information, see Hardware Product Development.
Integrate with Tuya’s smart lock protocol that is available in Wi-Fi, Bluetooth, Zigbee, and NB-IoT.
Communication protocol | Description | Applicable category | Reference |
---|---|---|---|
Wi-Fi | Support MCU integration solution that allows you to interface an MCU with a Wi-Fi module. You need to implement the logic on the MCU side. |
|
MCU Integration for Wi-Fi Lock |
Bluetooth | Support MCU integration and SDK integration.
|
|
SDK integration: Bluetooth Lock SDK Integration MCU integration: Bluetooth Lock MCU Integration |
Zigbee | Support MCU integration solution that allows you to interface an MCU with a Zigbee module. You need to implement the logic on the MCU side. |
|
MCU Integration for Zigbee Lock |
NB-IoT | Support MCU integration solution that allows you to interface an MCU with an NB-IoT module. You need to implement the logic on the MCU side. | NB-IoT lock | MCU Integration for NB-IoT Lock |
Wi-Fi keep-alive | The Wi-Fi keep-alive protocol is not generally available. If you are interested in this protocol, contact your account manager. | Keep-alive Wi-Fi lock | MCU Integration for Wi-Fi Keep-Alive Lock |
This section describes the development process on top of cloud development integration.
To implement cloud development integration, the following prerequisites must be met.
Currently, Wi-Fi and Zigbee lock services use the same set of cloud APIs. The cloud APIs for Bluetooth Low Energy lock services are not generally available. Contact your account manager for details.
Solution | Description | Applicable category | Reference |
---|---|---|---|
Wi-Fi residential lock | You can use the cloud APIs for smart locks to build a mobile app, WeChat mini program, H5 page, or web application to integrate with Tuya-enabled Wi-Fi locks. |
|
Standard Instruction Set Standard Status Set |
Zigbee residential lock | You can use the cloud APIs for smart locks to build a mobile app, WeChat mini program, H5 page, or web application to integrate with Tuya-enabled Zigbee locks. |
|
Standard Instruction Set Standard Status Set |
Bluetooth residential lock | Not generally available. Contact your account manager for details. | Bluetooth Low Energy lock | Not generally available. |
This section describes the process of integrating with the smart lock SDK for mobile app.
To integrate with the smart lock app SDK, the following prerequisites must be met.
The smart lock app SDK is available for iOS and Android and applies to the Wi-Fi and Bluetooth residential lock. The SDK for Zigbee locks is not generally available. Contact your account manager for details.
The smart lock app SDK encapsulates the smart lock services on top of the Smart Life App SDK.
App SDK | Description | Applicable category | Reference |
---|---|---|---|
Wi-Fi Lock App SDK | This SDK applies to Wi-Fi locks. It encapsulates Wi-Fi smart lock services and cloud APIs with native iOS and Android code. |
|
- |
Bluetooth Lock App SDK | This SDK applies to Bluetooth locks. It encapsulates Bluetooth smart lock services and cloud APIs with native iOS and Android code. | Bluetooth Low Energy lock | - |
This section describes the process of integrating with the Panel SDK for mobile app.
Panel SDK | Description | Applicable category | Reference |
---|---|---|---|
Panel SDK integration | The Panel SDK supports the Smart Life app. You develop the smart lock services using the Panel SDK and upload the panel’s React Native (RN) package to the server. | Wi-Fi, Bluetooth, or Zigbee lock. | - |
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback