TTLock

TTLock logo

TTLock Smart Lock Attendance Integration

SmartOn integrates with TTLock smart locks (passcodes, RFID cards and fingerprints) via the TTLock Cloud API, automatically logging employee entrances and exits the same way a physical card reader would — plus remote unlock and live lock status from the back office.


1. Prerequisites

  • TTLock smart lock(s) already set up in the TTLock mobile app, ideally with an online Gateway (WiFi bridge) paired nearby — locks without a Gateway only sync to the cloud when someone opens the TTLock app next to them, which does not trigger real-time attendance logging.
  • The TTLock App account (username + password) that administers the lock(s).

2. Connecting your TTLock account

  1. Go to System Settings → Integrations.
  2. Click the + button and select Add connection.
  3. Enter the username and password of the TTLock App account that manages your locks.
  4. Click Save. SmartOn exchanges these credentials for API access and refreshes the token automatically in the background, so this only needs to be done once.

3. Mapping a lock to an entrance reader

SmartOn tracks attendance through Entrance doors and Entrance readers, the same structures used for physical card readers. A TTLock lock is simply attached to a reader.

  1. Create or select an Entrance door (name, and whether it counts as an entrance door).
  2. Create or edit an Entrance reader on that door.
  3. Set Destination — Entrance, Exit or Open.
  4. Choose the physical lock from the TTLock lock dropdown, populated from the locks visible on the connected TTLock account.

Entrance doors, entrance readers with TTLock locks assigned, and the entries log — all on the same System Settings → Integrations → Entry sensor page.


4. Linking employees to passcodes, cards and fingerprints

There are two ways to link an employee to a lock identity:

a) From the entrance reader — link an identity already on the lock

  1. On the Entrance readers table, click the Assign employees row action (only shown once a TTLock lock is set on that row).
  2. SmartOn lists every passcode, RFID card and fingerprint already configured on that physical lock.
  3. Pick the employee for each identity — this is the link SmartOn uses to match incoming unlock events to a person.

b) From the employee's profile — create a new identity

  1. Open the employee's profile and find the Entrance card section.
  2. Click Add and choose Electronic handle (as opposed to a plain magnetic door card).
  3. Select the lock, then choose the identity type:
    • Passcode — type a numeric code; it is created on the lock remotely.
    • RFID card — scan the card on a connected desktop reader; the card number is read automatically.
    • Fingerprint — fingerprints cannot be enrolled remotely; follow the on-screen prompt to enroll it directly on the lock itself, then link it to the employee via the Assign employees dialog described above.

5. Remote unlock & live status

On the Entrance readers table, once a lock is assigned to a row, two extra row actions become available:

ButtonAction
Open padlock iconRemotely unlocks the door (requires the lock to be online via its Gateway). Recorded as a remote_open entry in the attendance log.
Info iconQueries the lock's current state in real time — locked, unlocked, or unknown (the Gateway could not reach the lock).

6. Attendance log & audit trail

Every recognized unlock — fingerprint, passcode, RFID card, or a remote unlock triggered from SmartOn — appears in the Entries log table on the same page, showing date/time, employee, destination, door name, the identity used, and whether it was allowed.

Changes to entrance doors and entrance readers (created, edited, removed) are recorded in SmartOn's audit log like any other configuration change.


7. Troubleshooting

ProblemLikely causeFix
Physical unlocks don't appear in the Entries logNo online Gateway near the lock — without one, the lock only syncs to the cloud when someone opens the TTLock app nearby, which does not push a real-time eventSet up and pair a TTLock Gateway near the lock
"Assign employees" list is emptyNo passcodes, cards or fingerprints have been created on that lock yetAdd at least one via the employee's Entrance card section, or directly in the TTLock app
Remote unlock or status check failsThe lock is offline or its Gateway is unreachableCheck the Gateway's power and WiFi connection
TTLock lock dropdown is emptyNo TTLock account connected yet, or the connected account doesn't administer any locksReconnect via Add connection using the account that owns the locks