aprosvetova / xiaomi-kettle

Xiaomi Kettle BLE protocol reverse-engineered
Do What The F*ck You Want To Public License
253 stars 26 forks source link

How can I connect to homeassistant? #5

Open noelesther opened 5 years ago

noelesther commented 5 years ago

Hello.

I need your help.

I want to using me-kettle on homeassistant.

So, Can you tell me about that?

thanks.

DejavuDmitry commented 5 years ago

Я думаю, что стоит подождать пару лет. Будьте терпимы.

tytuseek commented 5 years ago

Hi, have you think about making it compatible with esphome.io? Esphome already supports few BT devices from xiaomi and Mi Kettle would be nice addition.

aprosvetova commented 4 years ago

Hi, have you think about making it compatible with esphome.io? Esphome already supports few BT devices from xiaomi and Mi Kettle would be nice addition.

It’s a bit more complex when it comes to authorization handshake. But I will look into it, because I really love esphome :) Thanks for an idea!

drndos commented 4 years ago

Hi, I have finally managed to do the actual integration for getting values from kettle to HA for now here: https://github.com/drndos/mikettle-ha . Try it out, let me know. Thx.

jascdk commented 4 years ago

@drndos cool :) but is it possible to use an esp32 board as a hub for it and use it through esphome?

jascdk commented 4 years ago

Hi, have you think about making it compatible with esphome.io? Esphome already supports few BT devices from xiaomi and Mi Kettle would be nice addition.

It’s a bit more complex when it comes to authorization handshake. But I will look into it, because I really love esphome :) Thanks for an idea!

Hi - any news on using esphome for this ?

drndos commented 4 years ago

@drndos cool :) but is it possible to use an esp32 board as a hub for it and use it through esphome?

Not at the moment. But you could extend current implementation of xiaomi_ble in esp_home with the authentication mechanism from this or mine repo. It is in cpp, so you might need to rewrite it, since I don't see a simple way to include the base python library, but I might be wrong.

jascdk commented 4 years ago

Thanks - i Will try direct your answer to the esp home folks here at github :) I cannot code 😃