Xiaomi Sherlock Smartlock


#51

Hi guys,

managed the Sherlok to work via adb and old phone connected to rasp…any update on better methods?


#52

hi, yes that is correct. But there are locks that allow to have both keys at the same time.

It is harder to find them as they are less secure.


#53

I am working on hacking this lock i sniffed data through mobile Bluetooth hcl file though reverse engineering if some is willing to help please let me know


#57

Anyone mounted it vertically, instead of how explained in the instructions?

EDIT: it seems you can, but then you lose the possibility of keeping the regular key horizontally (needed if you wish to use an external key to coem in)


#58

The hardware arrived and I mounted it. Its ingeneous, and works well. It also opens the door completely (beside unlocking) so if outside you don’t have a handle you can also enter. And from the outside you can use your regular key if the phone/button is not around.

Pretty cool.

Now I really wish a HASS integration


#60

Please note that M1 version works with Mi Home app, but the Bluetooth key doesn’t.

The S2 version doesn’t work with Mi Home app (so no automation possible that way) but works with its extra Bluetooth button


#61

But it is stated in the aliexpress page that the S2 version was able to be used with the Sherlock’s own app. Can you verify this?
There is also a new version avaliable for the ios version of the app (3.3.8, released 11h ago) In the change log it is stated that the app now supports online activities. There could now be a way to integrate into hass. Hopefuly.


#62

Yes it works with the Sherlock app, but NOT with the MI HOME app, so you can’t make automation with the MI HOME APP (and Sherlock app has no automating possibilities)


#63

I just updated the android app, which also has new “online activities”, but I found nothing useful


#64

After lot of tries I finally managed to connect my phone to a raspberry pi (if you have USB-C cable, please note that some do not work for transferring data)

But nothing happens when I give this command. Am I missing something?

[13:00:01] [email protected]:~$ adb shell
lithium:/ $ exit
[13:00:06] [email protected]:~$ adb shell input keyevent 26&&sleep 0.2&&adb shell input swipe 360 1000 150 1000;adb shell input keyevent 26
[13:00:11] [email protected]:~$

#65

for the S2 the file is located in a different directory

0/Android/data/com.aerolite.smartlock/files/logback

not sure if the format is the same as M1, I can provide the log, since I do not know how to extract text from it


#66

Just waiting for this function for the lock Sherlock S2


#67

sure, pm me the log and I`ll have a look


#68

Any updates on this? I can make some tests with my keyfob, but need some help in what to do try. I opened the keyfob and it has around 8 pins (like serial), but have no idea on how to start


#69

That’s the inside


#70

Hello,

Could you tell me what kind of hass are you using exactly? Do you have the M1 or S2 sherlock?

Thank you in advance,


#71

Hello,

Which adb do you use?


#72

Hey,
I’m running vanilla hass into a docker container as for the lock I have the first gen M1


#73

I managed to control my doorlock s2 with hooking the keyfob to my raspberry pi , very simple i will guide you with more deitails in the upcomin days , im very busy with my work but soon i will provide a deitailed instruction .


#74

Really? That is fantastic news to me