Bluetooth Lock

Version: 20240613

Solution description

Tuya's Bluetooth lock solutions support two types of connection:

Both connection types require integration with the Tuya Bluetooth lock protocol. There are two options to achieve this purpose:

These two integration methods are performed on the device side with different protocols.

Architecture

Features

Tuya Bluetooth lock solution supports the following features:

FeatureDescription
End-to-end encryptionData is encrypted and secured when it travels across the mobile app, server, and Bluetooth module.
Unlocking recordAn unlocking record contains the unlocking method, unlocking ID, and unlocking time. The user can check the unlocking records for the last 6 months from the mobile app. A combination of unlocking methods is supported, such as fingerprint plus password.
Cache unlocking recordsCache the unlocking records on the Bluetooth module or chip and synchronize them with the mobile app when the lock connects to it.
AlertAn alert is sent to the user in any of these cases: low battery, wrong attempts by passwords, fingerprints, or cards, prying lock, and high temperature.
Time synchronizationSynchronize the clock on the lock with a time server. Global time zones and daylight saving time (DST) are supported.
Member managementThe user can add lock members using the mobile app.
Battery levelDisplay battery percentage or status.
Unlock via mobile appThe user can unlock the door using the mobile app when the mobile phone is connected to the lock over Bluetooth.
Dynamic passwordThe Bluetooth module is integrated with dynamic password algorithms. The user can get dynamic passwords that are valid for five minutes using the mobile app.
Add unlocking methodsWhen connected to the lock via Bluetooth, the mobile app allows the user to add or delete unlocking methods, such as fingerprints, cards, and passwords.
Temporary passwordIf the hardware supports local RTC, the lock administrator can set a validity period and temporary password for non-home member users. However, the validity period and temporary password do not apply to home member users.
Validity periodThe lock administrator can specify the validity period of a user on the mobile app.
OTA updateUpdate the firmware on the module and the MCU via OTA.
Offline temporary passwordThe offline temporary password does not rely on an internet connection. The algorithms are implemented by the module and the cloud. The MCU calls the specified API to verify the temporary password.
Lock statusThe user can check the lock status on the mobile app, such as double lock and child lock.
Auto-lockingEnable or disable auto-locking.
Auto-locking delayThe user can set the time before the lock gets locked.
Synchronize unlocking methodsWhen directly connected to the mobile app, the lock synchronizes the unlocking methods with the cloud.
Voice commandsThe mobile app sends the collected voice commands to the lock.

Product creation

The Bluetooth lock solution supports the following categories:

CategoryDescription
Bluetooth residential lockIt is the standard Bluetooth lock solution, with a full set of smart lock features that can be tailored to your needs.
Bluetooth safe boxSupport Bluetooth safe box solution.
Bluetooth lock accessoryApply to common lock accessories such as key fobs and password panels.
Bluetooth small lockApply to cabinet locks, U-locks, and key boxes.

Process

Data point (DP) reference

Product development

Module selection

TYBN1 module is recommended for Bluetooth lock solutions.

Software integrationHardware integrationModelFirmware keyVersionStateDescription
MCU integrationModuleTYBN1keyxwmm86.1ReleasedBase version
MCU integrationChipBK3431Qkeyktpaa3.3ReleasedBase version
SDK integrationChipnRF528321.4UnreleasedSupport integration with Amazon Alexa and Google Assistant as well as offline passwords.
SDK integrationChipBK3431Q1.4UnreleasedSupport integration with Amazon Alexa and Google Assistant as well as offline passwords.

Product development

For more information about the development process, key steps, and important DPs, see the following documentation:

MCU integration protocol

For more information about the generic communication and data protocol, see the following documentation:

Info: You can download the latest protocol after you select the module for your product on the Tuya Developer Platform.

Voice assistant

Bluetooth locks support unlocking with third-party voice assistants, which is available in the Smart Life app v3.17 or later.

Third-party voice assistantsSupported feature
Unlock with Alexa commandsUnlock, lock, query unlocking/locking status, and return a voice response after unlocking/locking is executed.

PDF preview unavailable. Download the PDF instead.

Bluetooth Lock Tuya Developer Platform Tuya Developer Platform LaTeX via pandoc with the Eisvogel template xdvipdfmx (20200315)

Related Documents

Preview Tuya BLE Lock Instructions: Smart Lock SDK Developer Guide
A developer's guide to the Tuya BLE Lock Instructions SDK, detailing APIs for member management, device connection, dynamic passwords, unlock modes, and function points for smart lock integration into Android applications.
Preview Set Up Tuya Integration (Stable) in Home Assistant
A comprehensive guide for setting up the official Tuya integration within Home Assistant. This document covers prerequisites, step-by-step installation procedures for Home Assistant Core and the Tuya integration, and frequently asked questions regarding supported device categories and managing existing devices with the new integration version.
Preview TUYA Smart Home Automation Solutions: Curtains, Blinds, Lighting & Security
Explore TUYA powered smart home devices including motorized curtains, smart blinds, LED lighting, security sensors, and smart locks. Discover seamless integration with Google Assistant and Amazon Alexa for a connected living experience.
Preview Fast Integration with IPC SDK for Android - Tuya Developer Guide
A comprehensive guide for developers on integrating the Tuya IPC SDK for Android, covering setup, configuration, and demo app features for IP camera functionalities. Learn how to quickly integrate the Tuya IPC SDK for Android into your projects. This guide covers build.gradle configuration, AndroidManifest.xml permissions, code obfuscation, and details about the demo app features for IP camera functionalities.
Preview Integrating Samsung SmartThings with Your OEM App
A guide on how to configure your OEM app to support Samsung SmartThings, enabling voice assistant capabilities for smart home devices.
Preview Tuya BE09 WiFi Smart Plug Instruction Manual
Comprehensive guide to setting up and using the Tuya BE09 WiFi Smart Plug with voice assistants like Alexa and Google Assistant, including specifications, safety, and warranty information.
Preview Tuya Intelligent Lock User Manual - Features, Operation, and Connectivity
Comprehensive user manual for the Tuya Intelligent Lock. Learn about its unlocking methods, system settings, operating instructions, product specifications, and WiFi/Bluetooth connectivity options.
Preview Tuya Smart Lock User Manual: Ball Lock Function Description
Comprehensive guide to operating the Tuya Smart Lock, covering fingerprint management, app connectivity, security settings, and troubleshooting. Learn how to install, configure, and use your smart lock for enhanced home security.