drndos/mikettle-ha

Can't load states

Opened this issue · 6 comments

Hello.

So thankful mikettle-ha.

but when I installed, I can't load any states of mikettle.

all unkown.

I got logs.

2019-11-19 10:58:49 DEBUG (MainThread) [mikettle.mikettle] Init Mikettle with mac B8:7C:6F:35:98:39 and pid 275
2019-11-19 10:59:09 DEBUG (SyncWorker_0) [custom_components.mikettle.sensor] Polling data for Mi Kettle Keep warm type
2019-11-19 10:59:09 DEBUG (SyncWorker_0) [mikettle.mikettle] Filling cache with new sensor data.
2019-11-19 10:59:10 DEBUG (SyncWorker_0) [mikettle.mikettle] Connect
2019-11-19 10:59:10 DEBUG (SyncWorker_0) [mikettle.mikettle] Auth

but, when i check mode, times, all things unkown...

I'm using hassio on docker, rpi3+.

I installed sudo pip3 install bluepy( when without sudo workdir wrong and can't use ha)

https://imgur.com/N60cpjM

thanks.

Looks like authentication failure. Do you have EU version of kettle?

Looks like authentication failure. Do you have EU version of kettle?

I think it's CN version.

I dont actually have ProductId for that one, but what you can try is - clone mikettle project and run demo.py with python3 demo.py B8:7C:6F:35:98:39 1 then with 2, then 3 and so on until you get the magic number that is your productid. If you dont get your pid number under 1000 I think there might be different auth mechanism. If you get your product id right the kettle name and firmware version should show in console.

You can call the app in for cycle or use excel to create the commands, dont actually do it manually :)

thanks for advice.
but i don't know how to call cycle or use excel haha...
but i'm trying to manually. i can do it...

I have kettle with EU plug and my id is

product_id: 131

Hello, I have a Chinese version and connected it with product ID 131, I get this value from here: https://github.com/aprosvetova/xiaomi-kettle
Status update is too rare, the kettle showed the temperature all day 97 degrees.