- 积分
- 660
- 金钱
- 513
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 660
- 金钱
- 513
- HASS币
- 0
|
发表于 2018-1-18 22:10:33
|
显示全部楼层
我在PY文件里增加了 SHUT_RDWR = 2
用了几分钟还是
Thu Jan 18 2018 22:08:56 GMT+0800 (中国标准时间)
Update for sensor.m1 fails
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/sensor/PhicommAirDetector.py", line 137, in update
sockA.sendall(b'\xaaO\x01\xf2E\x119\x8f\x0b\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xf8\x93\x11T/\x007\x00\x00\x02{"type":5,"status":1}\xff#END#')
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 199, in async_update_ha_state
yield from self.async_device_update()
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 306, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.5/asyncio/futures.py", line 379, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 297, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 292, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/sensor/PhicommAirDetector.py", line 143, in update
sockA.shutdown(SHUT_RDWR)
OSError: [Errno 107] Transport endpoint is not connected |
|