drndos/mikettle-ha

error bluepy?

Opened this issue · 7 comments

Hello i have Home Assistant 0.102.3

  • System HassOS 2.12

  • python_version | 3.7.4

  • arch | armv7l
    when I want to install it bluepy,i get such an error and I can't deal with it
    nowy

As per issue IanHarvey/bluepy#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

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

You will need to check logs

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

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

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

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

how do you fix it ?