drndos / mikettle-ha

Mikettle Homeassistant custom component
MIT License
41 stars 7 forks source link

error bluepy? #3

Open djmalin opened 4 years ago

djmalin commented 4 years ago

Hello i have Home Assistant 0.102.3

drndos commented 4 years ago

As per issue https://github.com/IanHarvey/bluepy/issues/158 follow these steps: Uninstall bluepy Install dependencies Install bluepy

pip3 uninstall bluepy
sudo apt-get install python3-pip libglib2.0-dev
pip3 install bluepy
djmalin commented 4 years ago

ok instal bluepy, but now I've added the configuration, but the server check cannot be completed nowy2

drndos commented 4 years ago

You will need to check logs

djmalin commented 4 years ago

2019-12-08 20:28:37 DEBUG (SyncWorker_2) [mikettle.mikettle] Using cache (0:08:18.632596 < 0:10:00) 2019-12-08 20:28:37 INFO (SyncWorker_2) [custom_components.mikettle.sensor] Polling error Could not read data from MiKettle 7C:49:EB:31:29:FF 2019-12-08 20:28:37 DEBUG (SyncWorker_16) [custom_components.mikettle.sensor] Polling data for Mi Kettle Current temperature 2019-12-08 20:28:37 DEBUG (SyncWorker_16) [mikettle.mikettle] Using cache (0:08:18.673446 < 0:10:00) 2019-12-08 20:28:37 INFO (SyncWorker_16) [custom_components.mikettle.sensor] Polling error Could not read data from MiKettle 7C:49:EB:31:29:FF 2019-12-08 20:28:37 DEBUG (SyncWorker_5) [custom_components.mikettle.sensor] Polling data for Mi Kettle Mode 2019-12-08 20:28:37 DEBUG (SyncWorker_5) [mikettle.mikettle] Using cache (0:08:18.704100 < 0:10:00) 2019-12-08 20:28:37 INFO (SyncWorker_5) [custom_components.mikettle.sensor] Polling error Could not read data from MiKettle 7C:49:EB:31:29:FF

djmalin commented 4 years ago

ok it works, but if it's connected to hassio, you can't connect using the mi home app?

drndos commented 4 years ago

You would need to set the Token to be the same as you have in your app.

guyyar89 commented 4 years ago

ok it works, but if it's connected to hassio, you can't connect using the mi home app?

how do you fix it ?