Xiaomi Sherlock Smartlock

You have access from the inside?
You can dismount the black knob, then turn the key manually.

Probably the battery is dead? Remember that the internal key has to be in horizontal position, in order for an outside key to be able to open/close

hi
“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.”

how did you connected the developers ?

Email the addresses in this post :

you save my day !!!
i got the fastest support from them
problem fix
thanks again !!!

Hi.
How did you get the box to open the circuit?
I tried to open it, but it looks like I’ll only be able to clear the circuit if I break the plastic box.
Do you have any tips?

I have done it with a ESP8266 directly in the lock. I will upload how I did it in a few days!

Many thanks !!! I did it exactly as you did and using the same .ino file you provided.

It works great. I have the Sherlock M1 so I was using an Android mobile phone connected via ADB but sometimes failed, so this is a much better solution. :slight_smile:

I have a question for you @srborines… What I see is that the first time I connect the battery, the lock is closed automatically. The same happens sometimes while the ESP8266 is connected.

It’s like the ESP is disconnected and reconnected again, closing the door automatically.

Do you have the same effect?.

Many thanks for sharing your project. It has been very very useful for me.

You need to break it . It’s irreversible

Hi,

In the bluetooth control of Sherlock S2 has 8 points. Does anyone know what it’s for?

it has been asked before, but nobody answered. You do not need it though for the Keyfob hack, as explained in this forum. I recommend you flash a nodemcu or similar with ESPhome

esphome:
  name: _home_door_bridge
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "xx"
  password: "xx"
  manual_ip:
    static_ip: 192.168.1.xx
    gateway: 192.168.1.yy
    subnet: 255.255.255.0 
# Enable logging
logger:

# Enable Home Assistant API
api:

ota:


web_server:
  port: 80

switch:
#################
#     home door
#################
  - platform: gpio
    pin:
      number: D0
      inverted: yes
    id: relay
  - platform: template
    name: "close_home_door"
    icon: "mdi:gate"
    turn_on_action:
    - switch.turn_on: relay
    - delay: 500ms
    - switch.turn_off: relay
  - platform: template
    name: "open_home_door"
    icon: "mdi:gate"
    turn_on_action:
    - switch.turn_on: relay
    - delay: 500ms
    - switch.turn_off: relay
    - delay: 100ms
    - switch.turn_on: relay
    - delay: 500ms
    - switch.turn_off: relay

 


#################
#     RESTART
#################
  - platform: restart
    name: "  bridge Restart"


sensor:
  - platform: wifi_signal
    name: "  BLE Bridge WiFi Signal"
    update_interval: 60s
  - platform: uptime
    name: "  BLE Bridge Uptime"
    
text_sensor:
  - platform: version
    name: "  ble bridge ESPHome Version"
    
binary_sensor:
  - platform: status
    name: "  home door bridge status"
2 Likes

I finally could fix it modifying the code to add a control that skips the first opening/closing after mqtt is connected or reconnected. :slight_smile:

Now it works perfectly… hehehe

Hi, Could you tell more about it? Maybe I going to have the same problem.

Hi,
I made it and it´s working.
Thank you.

Hi,
I managed to control my S2 lock by connecting an ESP8266 to the bluetooth control.
Thanks to all who helped!
Now another question:
How can I remotely activate the home-assistant’s mobile to open / close the door? Has anyone done this? Any tips? And independent of the home-assistant?
Thanks
Daniel

did you flash esphome?

You have to go to Home Assistant - Configuration - Integration click the + sign, check for ESPhome, then put the IP address you put it the ESPhome doorlock code, then you will have two entities

switch.close_home_door
switch.open_home_door

Yes. It´s working.

Using old Sherlock app, my iPhone is able to find my M1 (never sync).
However, if I use Xiaomi Home app, it is not able to find Sherlock in bluetooth “add devices” (no device found).
Am I doing anything wrong? Is this any kind of bug? Thanx.

———————
Solved:
Selected CHINA as my pefil’s location in Xiaomi Home app.

Hello,
Et
xcuse me, can you summarize the procedure to use the sherlock, I have a good esphome and a bluetooth badge but I do not understand, each piece of information is spread throughout the forum (I’m french and beginner Home Assistant it’s hard to follow for me)
Very big thank you.

This might help you get started.
Xiaomi Sherlock Smartlock

1 Like

hi guys,

Do you think I could retrofit this to a lockwood 001 deadlatch?

my strata has forced one on me, and im trying to find a way to smarten it up as im terrified of being locked out now…

Hi did you connect ESP RX/TX anywhere on the lock?

Also GPIO0 and GPIO2 should be connected to yellow wire, on Touch switch and yellow wire on the lock.

I did find yellow wire on the touch switch and understand that GPIO0 goes there, but I can’t locate yellow wire on the lock.