Skip to content
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

Can't load states #1

Open
noelesther opened this issue Nov 19, 2019 · 6 comments
Open

Can't load states #1

noelesther opened this issue Nov 19, 2019 · 6 comments

Comments

@noelesther
Copy link

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.

@drndos
Copy link
Owner

drndos commented Nov 19, 2019

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

@noelesther
Copy link
Author

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

I think it's CN version.

@drndos
Copy link
Owner

drndos commented Nov 19, 2019

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 :)

@noelesther
Copy link
Author

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...

@aqualx
Copy link

aqualx commented Nov 27, 2019

I have kettle with EU plug and my id is

product_id: 131

@poisondima
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants