-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] SwitchBot Lock Support #79
Comments
hey. there is no documentation for the lock yet and I believe it uses encryption which isnt currently used by the other devices. also I don't own one so its a bit difficult there |
I second this! I saw that it definitely does use encryption for security purposes. What kind of documentation is required, just for my education? I would also be willing to help debug/test if this request is taken on |
the current request for documentation is here OpenWonderLabs/SwitchBotAPI-BLE#5 |
I saw a post in a live chat with a cofounder of switchbot that said the ble lock api is coming: Here's the op: "Hey. It's Richard here. I am one of the cofounders of Here's the reply that says the lock api is coming: "1. Lock API is definitely on its way. We gotta |
Also, just for the sake of clarity, I believe this is the big that is blocking this bug. |
@Jacksonbm1 my guess is they are talking about the API that requires to go through the switchbot hub. What we would require is the BLE API which might take some time if provided. Not sure how the encryption part works but it might require a switchbot AES key |
Nope. They seemed to have removed their response, but the question explicitly stated ble "Will switchbot be releasing their ble api for the locks? The hub api is out and also apis for the bots and stuff." Edit: possibly the removed the reply because they misread, but the question was pretty explicit |
Hello, i buy a lock and a mini hub. |
No words on this yet, patiently waiting... |
Hi! Switchbot finally seems to have released the API: OpenWonderLabs/SwitchBotAPI-BLE#5 (comment) Is there any chance this will now be able to be incorporated? |
Clarification, it's actually not an official documentation, someone just reverse engineered it, but that still seems good enough to use? |
@Jacksonbm1 So the linked PR is from the official source but it only contains advertisement data structure, so you can only read some of the locks state. |
Got it, thanks for clarifying! Does the integration allow you to control via an esp32 or would you need to use the homeassistant hub directly? |
@Jacksonbm1 If by esp32 you mean the Bluetooth proxy functionality, I haven't tested it myself but I heard from multiple sources that it works. |
As one of those people, i can confirm it works. |
@chinedu40 I'm a little confused about how you did that. Would you by any chance be able to point me towards docs or even just your code? |
any news on the Lock integration? |
Any news? Wondering about buying one of these |
Apologies for the late reply. There's not special code needed....You need one of these devices from here: https://esphome.github.io/bluetooth-proxies/ . Once you have it, flash the software using the website. It will instruct you to add to Home assistant (you'll need to know the devices IP to add to home assistant). Once added to home assistant it will automatically find your switchbot bluetooth devices as long as you have the switchbot integration installed. Sometimes with the lock you may need to open and close it to refresh the Bluetooth connection and for it to be found on home assistant. Hope this helps! |
Just configured this and it's working great. Currently have a SwitchBot Lock and would really like to integrate this into my Home Assistant and would be willing to help test and debug as necessary.
The text was updated successfully, but these errors were encountered: