Skip to content
← Projects

SmartTurn — Retrofit Smart Lock

Lock and unlock an ordinary door from your phone, without changing the lock.

SmartTurn — Retrofit Smart Lock
FIG. 1 — Prototype mounted on a real door

The problem

Most interior doors, in flats, offices and rooms, have a thumb-turn on the inside rather than a keyhole. Smart locks that open from your phone want you to replace the cylinder, which you are not allowed to do if you rent and cannot afford if you are a student. We wanted phone control on the lock that is already there.

What I built

With two teammates at RTU, a device that clamps onto the thumb-turn and turns it when you press Lock or Unlock on your phone.

On the phone

The ESP32 connects to the Wi-Fi network and serves its own control page. You open its address in the phone’s browser, so there is no app to install. The page shows whether the door is locked, and has a password field and two buttons, Unlock and Lock. When a command comes in, the ESP32 turns the servo to the matching position and the page shows the new state. There is also a physical button on the unit for when a phone is not to hand.

On the door

A 3D-printed gripper grabs the knob and a 13 kg·cm MG996R metal-gear servo turns it. It mounts with adhesive or screws, with no holes and no changes to the door. It only works from the inside, and the outside key keeps working exactly as before. The lock is not replaced or bypassed, just turned.

What testing showed

We tested the prototype on a real door, simulating heavy daily use. Commands from the phone were carried out without the ESP32 hanging, the servo had enough torque for standard locks, and the rotation angle held without skipped steps.

It also showed us two things we got wrong: under high load the housing bends slightly, and the gripper needs fitting to each lock type or it goes off-axis and slips.

What I’d change

Two things. First, reaching it from outside the house. Right now the phone has to be on the same Wi-Fi network as the lock, because the ESP32 serves its page on the local network. I would add a way in from anywhere, through a small cloud relay or Matter. Second, and before any of that goes near the internet, security. The page runs over plain HTTP, so the password crosses the network unencrypted, which is not good enough for a lock. I would move it to an encrypted connection first.

The control page in a phone browser: lock state, password, Unlock and Lock
FIG. 2 — The control page in a phone browser: lock state, password, Unlock and Lock