- 积分
- 658
- 金钱
- 503
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 658
- 金钱
- 503
- HASS币
- 0
|
楼主 |
发表于 2017-11-25 22:56:30
|
显示全部楼层
2017-11-25 22:52:43 WARNING (MainThread) [homeassistant.bootstrap] Python 3.4 support has been deprecated and will be removed in the beginning of 2018. Please upgrade Python or your operating system. More info: https://home-assistant.io/blog/2 ... python-3.4-support/
2017-11-25 22:53:01 WARNING (MainThread) [homeassistant.setup] Setup of climate is taking over 10 seconds.
2017-11-25 22:53:02 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-11-25 22:53:05 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform yr is taking over 10 seconds.
2017-11-25 22:53:24 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform mi_acpartner
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 2784, in _parse
return self.subcon._parse(stream, context, path)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 1594, in _parse
obj = self.cases.get(key, self.default)._parse(stream, context, path)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 2343, in _parse
hash2 if not isinstance(hash2,bytes) else hexlify(hash2), ))
construct.core.ChecksumError: wrong checksum, read b'ffffffffffffffffffffffffffffffff', computed b'b27d6d3eb0c006547c013e92655e5d3c'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/climate/mi_acpartner.py", line 134, in setup_platform
token, sensor_entity_id, sync, customize),
File "/home/homeassistant/.homeassistant/custom_components/climate/mi_acpartner.py", line 207, in __init__
self._state = self.climate_get_state()
File "/home/homeassistant/.homeassistant/custom_components/climate/mi_acpartner.py", line 473, in climate_get_state
getstate = self.climate.send("get_model_and_state", [])
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/miio/device.py", line 237, in send
m = Message.parse(data, ctx)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 158, in parse
return self.parse_stream(BytesIO(data), context, **kw)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 171, in parse_stream
return self._parse(stream, context2, "(parsing)")
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 867, in _parse
subobj = sc._parse(stream, context, path)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/construct/core.py", line 2788, in _parse
raise e.__class__("%s\n %s" % (e, path))
construct.core.ChecksumError: wrong checksum, read b'ffffffffffffffffffffffffffffffff', computed b'b27d6d3eb0c006547c013e92655e5d3c'
(parsing) -> checksum
2017-11-25 22:53:41 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
具体代码已经改了:
climate:
- platform: mi_acpartner
name: mi_acpartner
host: 92.168.50.68
token: 332d729b18d867d89f99a6bfc5a4890a
target_sensor: sensor.temperature_158d00019f95bb |
|