HASS Addon TTLock offline integration

Got my lock in the mail.
For anyone that’s interested here’s the info:
mine is an A260 TTLOCK version, seems to also be named the X6 lock version (X6 Yrhand Electronic Lock Waterproof Biometric Fingerprint Door Locks Bluetooth Digital Keypad Door Lock TTlock App Smart Lock|Electric Lock| - AliExpress) This version has the doorbell button and an extra rubber seal.

Opening it up, all the electronics are on the outside part of the lock. The inside part just has the battery holder, the lock switch, reset button and the speaker. Outside part has 2 PCBS 1 for the touch panel and RFID and one for the main MCUs and interface drivers. All pcbs are covered in conformal coating and connectors have glue on them.

Main MCU seems to be an nRF51802 (U1), programming header seems to be accessible. There’s also a footprint for a ufl connector, so technically you could put that one on there and route a coax through the door and mount the BLE antenna on the inside of the door for better reception.
Other chips:
U9: RFID-> Kencent NZ3801
U1 (bottom pcb): Cap Touch sensor → TSM12
U6: ?? → HC32L110 → ARM-M0 not sure what this one is used for, doesn’t look like it’s for the
fingerprint sensor. Maybe it’s to play the audio files?
U10 is probably the amp for the speaker
U2 probably an H-bridge for the lock motor
U4 maybe memory for the audio clips

Doesn’t look like there’s anything super unknown on there, so making a custom firmware for the NRF51 would definitely be possible.
Converting this model to WiFi with an ESP32 would mean redesigning a whole new main PCB and is probably not worth it, it’s much easier to use @kind3r their gateway.

Images:

1 Like