- 积分
- 467
- 金钱
- 389
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 467
- 金钱
- 389
- HASS币
- 0
|
发表于 2020-10-20 12:28:27
|
显示全部楼层
修改完出现以下报错
Logger: custom_components.mitemp_bt2.sensor
Source: custom_components/mitemp_bt2/sensor.py:137
Integration: mitemp_bt2 (documentation)
First occurred: 下午12:25:39 (6 occurrences)
Last logged: 下午12:26:39
Traceback (most recent call last): File "/config/custom_components/mitemp_bt2/sensor.py", line 135, in get_info p = btle.Peripheral(mac, iface=interface) File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 391, in __init__ self._connect(deviceAddr, addrType, iface) File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 439, in _connect raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp) bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral A4:C1:38:F0:F4:95, addr type: public
Traceback (most recent call last): File "/config/custom_components/mitemp_bt2/sensor.py", line 135, in get_info p = btle.Peripheral(mac, iface=interface) File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 391, in __init__ self._connect(deviceAddr, addrType, iface) File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 439, in _connect raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp) bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral A4:C1:38:4C:89:F9, addr type: public
Traceback (most recent call last): File "/config/custom_components/mitemp_bt2/sensor.py", line 135, in get_info p = btle.Peripheral(mac, iface=interface) File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 391, in __init__ self._connect(deviceAddr, addrType, iface) File "/usr/local/lib/python3.8/site-packages/bluepy/btle.py", line 439, in _connect raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp) bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral A4:C1:38:39C:6A, addr type: public |
|