ttlock

TTLock smart lock integration - generate random passwords, custom passwords and send e-keys

Package Information

Released: 5 mo ago
Downloads: 3 weekly / 188 monthly
Latest Version: 0.0.9
Author: mqq

Available Nodes

Documentation generating…

Documentation

n8n-nodes-ttlock

npm version

n8n community node that integrates with the ttlock open platform. Control smart locks directly in n8n automation workflows — supports creating random passcodes and creating custom passcodes.

Features

Feature Description
Create Random Passcode Generate one-time, permanent, period and other types of random passcodes for smart locks
Create Custom Passcode Specify the passcode and deliver it to the lock via Wi-Fi, gateway

Use Cases

Use Case Description
Airbnb / Hotels Auto-generate a periodic passcode before check-in; auto-expire after checkout
Office Space Auto-deliver a one-time passcode for temporary visitors
Property Management Remotely send a periodic passcode for maintenance staff on-site

Installation

Via n8n UI (recommended)

  1. Open n8n, go to Settings → Community nodes
  2. Click Install a community node
  3. Enter n8n-nodes-ttlock, click Install
  4. Restart n8n

Via npm

npm install n8n-nodes-ttlock

Credential Configuration

Add a TTLock node in n8n, select Create new credential from the Credential dropdown, and fill in:

Field Description Default
Client ID Open platform Client ID
Client Secret Open platform Client secret
Username TTLock App account Required
Password TTLock App password Required

Tip: To obtain your own Client ID and Client Secret, sign up as a developer on the TTLock Open Platform, then create an application in the developer console — the system will assign a Client ID and Client Secret to your app after approving. Copy them into the fields above.

Compatibility

  • n8n >= 1.0.0
  • Node.js >= 22.22.2
  • pnpm >= 10.33.0

Links

Discussion