The TTLock integration lets you connect your TTLock smart lock to Nowistay so that unique passcodes are automatically generated for every guest booking. No more coordinating key handoffs, hiding lockboxes, or manually programming door codes β Nowistay handles everything for you.
Each guest receives a temporary code that only works during their stay (from check-in to check-out), and it's automatically revoked once they leave.
Important: only one smart lock can be assigned per property. If you use multiple lock brands (TTLock, Nuki, igloohome), you need to choose one per property.
Before connecting TTLock to Nowistay, make sure you have:
If your lock isn't connected to a gateway, or doesn't support V4 keypad passwords, the integration won't work.
Go to Integrations from your Nowistay dashboard. Under the Smart locks section, find the TTLock card and click "Connect".

The TTLock connection panel will open. Enter your TTLock username and TTLock password, then click "Connect TTLock".

If the credentials are valid, you'll see a success message and your TTLock account name will appear as connected.
Once connected, the panel shows the "Lock assignments" section with a list of your properties.
For each property you want to equip with smart access:
Important: each property can only have one smart lock assigned at a time, regardless of the brand. If the property already has a Nuki or igloohome lock assigned, you'll need to remove it first before assigning a TTLock lock.
To change the assigned lock later, select a different one from the dropdown. To remove an assignment, click "Remove".

Once a lock is assigned to a property, Nowistay takes care of everything automatically:
For each lock, you can choose how many days before check-in Nowistay should generate and send the code. This setting appears below the lock selector, labeled "Generate codes X days before arrival".
You can set any value between 1 and 14 days. The default is 5 days.
Examples:
If the code cannot be generated on the scheduled day (for example, if the lock or gateway is temporarily offline), Nowistay will automatically retry every hour until the code is successfully created β up to midnight on the check-in day (in the property's local timezone).
The access margin controls how much extra time the code is valid before check-in and after check-out. This setting appears below the code generation timing, labeled "Access margin".
You can set any value between 0 and 240 minutes (4 hours). The default is 30 minutes.
The margin is applied symmetrically: the same duration is added before check-in and after check-out.
Examples:
The code validity window is based on the check-in and check-out times set for each booking. Nowistay uses the property's timezone. It checks:
If Nowistay can't generate a code (for example, if the lock or gateway is offline), the system keeps retrying every hour:
The generated passcode is automatically available in your automated guest messages through the {{smartlock_code}} variable (the legacy {{nuki_code}} variable also works for backward compatibility).
For example, you can create an automated message triggered before check-in that includes:
"Your door code is {{smartlock_code}}. It will be active from check-in to check-out. Simply enter the code on the keypad to unlock the door."
This way, your guests receive their access code automatically β no manual work required.
If you need to disconnect your TTLock account, open the TTLock panel from Integrations and click "Disconnect" next to your account name.
Disconnecting will:
Active codes for current guests will remain until they expire naturally at checkout.
If you run into any issues setting up your TTLock integration, don't hesitate to contact us. We're here to help you get everything running smoothly.