- 积分
- 500
- 金钱
- 450
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 500
- 金钱
- 450
- HASS币
- 0
|
发表于 2020-2-9 02:47:33
|
显示全部楼层
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 272, in send
data, addr = s.recvfrom(1024)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 272, in send
data, addr = s.recvfrom(1024)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 272, in send
data, addr = s.recvfrom(1024)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 58, in setup_platform
device_info = device.info()
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 352, in info
return DeviceInfo(self.send("miIO.info"))
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 310, in send
return self.send(command, parameters, retry_count - 1)
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 310, in send
return self.send(command, parameters, retry_count - 1)
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 310, in send
return self.send(command, parameters, retry_count - 1)
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 313, in send
raise DeviceException("No response from the device") from ex
miio.exceptions.DeviceException: No response from the device
连接中断。正在重新连接...
请问一般出现这个报错可能是什么原因导致的呢? |
|