|
发表于 2020-11-6 21:52:03
|
显示全部楼层
2020-11-06 20:08:46 ERROR (SyncWorker_1) [custom_components.mitemp_bt2.sensor] A4:C1:38:2C:xx:xx Connection lost, Retrying ... 1
2020-11-06 20:08:46 ERROR (SyncWorker_1) [custom_components.mitemp_bt2.sensor] Waiting ...
2020-11-06 20:08:50 ERROR (SyncWorker_0) [custom_components.mitemp_bt2.sensor] A4:C1:38:7Bxx:xx Connection lost, Retrying ... 1
2020-11-06 20:08:50 ERROR (SyncWorker_0) [custom_components.mitemp_bt2.sensor] Waiting ...
2020-11-06 20:08:53 ERROR (SyncWorker_0) [custom_components.mitemp_bt2.sensor] A4:C1:38:7B:xx:xx Connection lost, Retrying ... 2
2020-11-06 20:08:53 ERROR (SyncWorker_0) [custom_components.mitemp_bt2.sensor] Waiting ...
2020-11-06 20:08:55 ERROR (SyncWorker_0) [custom_components.mitemp_bt2.sensor] A4:C1:38:7B:xx:xx Connection lost, Retrying ... 3
2020-11-06 20:08:55 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.mi_scales fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
raise exc
File "/usr/local/lib/python3.8/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/config/custom_components/mi_scale/sensor.py", line 95, in async_update
devices = scanner.scan(5.0)
File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 854, in scan
self.stop()
File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 803, in stop
self._mgmtCmd(self._cmd()+"end")
File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 309, in _mgmtCmd
rsp = self._waitResp('mgmt')
File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 362, in _waitResp
raise BTLEDisconnectError("Device disconnected", resp)
bluepy.btle.BTLEDisconnectError: Device disconnected
重啟後數據才會更新,但之後數據一直沒更新....包括HA都是最新版本了...樹梅派3B+,docker+hassio |
|