n8n-nodes-ttlock
v0.0.9
Published
TTLock smart lock integration - generate random passwords, custom passwords and send e-keys
Readme
n8n-nodes-ttlock
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)
- Open n8n, go to Settings → Community nodes
- Click Install a community node
- Enter
n8n-nodes-ttlock, click Install - Restart n8n
Via npm
npm install n8n-nodes-ttlockCredential 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
