Xiaomi Sherlock Smartlock


Hi. Any progress on this? When I try to even the qr code to activate the device it gives me some Chinese error message. I’ve reset and tried multiple phones but no luck.


Hello! Resolved. I got help. Press the adjustment button for 10 seconds to reset the device. There was no problem afterwards.


I’m getting similar issues with basic setup between mobile app and lock ATM. My setup errored out and now I’m stuck in some kind of loop. Can’t delete the device. I can reset it but that doesn’t help. I’ve uninstalled and reinstalled app. Googling keywords returns online yields nothing. Annoying.

Update: I contacted the developers, they responded within 2 days, they deleted the hung device, then I could go through set up again and no issues.



My findings:

Here in the Netherlands we have mainly vertically placed cylinders (so the key is upright in the lock). Because I had the mount the lock vertically as well, I did NOT have to modify the lock in any way!


  • The hardware of the lock is great. Mechanically and optically it’s a fine piece of hardware.

  • The functionality that is provided in the app works fine.


  • The app does not show status (locked/unlocked) or I am not able to find it :wink:

I have successfully managed to modify one of the remotes and attached it to a ESP32.

The ESP does 2 things:

  1. Open/close
  2. Send out a BLE ibeacon so that when I approach the door, HA will send me a actionable notification that allows me to open the door. That works fine 9 out of 10 times.

The ONLY downside of it all is that I have NO way of being 100% certain that the lock is actually locked or unlocked.

If anybody has a good solution for that, I would be grateful :slight_smile:


can you please share how you did it?


For checking the lock/unlock status the only way I see achievable is by checking an internal contact with the cilinders


I used this:

with an ibeacon

and this for the actionable notification:


Hi, how did you do the assembly of the nodemcu and the ble button? Is that plastic …??


So I’ve made some progress on my implementation.

Here is the vid. I’ll just add to this post as it progresses…


Main materials:


  • Only a thumb turn on the inside, like in @andreyxc 's video.
  • Vertical is locked. Rotate 90 degrees clockwise to unlock (horizontal)
  • Thumb turn width quite wide which meant I couldn’t just reverse the thing-me-bob (see video) . Have to build custom coupling thingo.

Special features/pros of my implementation:

  • Still manually turn/unlock/unlock from inside (like andreyxc, but not as cool)
  • Looks ok. (I reckon)
  • Updated: I integrated one of the newer gen Xiaomi sensors that can track rotation to track locked/unlocked state. I haven’t actually coded it into a state sensor yet. Where I currently have it placed is picking up a reliable ‘unlocked’ movement (which has a long pause between returning to the ‘normal state’ , but unfortunately it’s not picking up the ‘locked’ movement at all (which has a short pause between returning to normal state. Might have to rethink placement or something. See charts below.

Cons of my implementation:

  • quite a lot of modding.
  • cut your finger whittling wood and blood goes everywhere and walk bloody down the street to get stitches (optional).

Next up:

  • report back on reliability/operability
  • do the wired in fob thingo.


interesting idea, which is the events, can you please share the code with the Xiaomi sensor


I’ve added a bit more to my other post. I’ll share properly when/if I get it sorted…Cheers.


I am not interested in this (In the sense that I am not good in hardware DIY so I prefer not do it) will the Xiaomi sensor still fit inside?


Do you use a fake (assumed state) template switch?