『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 2741|回复: 0

[技术探讨] HASS对米家的空调伴侣和电暖器支持似乎有点问题,日志有...

[复制链接]

174

主题

634

帖子

3792

积分

论坛元老

Rank: 8Rank: 8

积分
3792
金钱
3153
HASS币
0
发表于 2019-2-21 12:49:27 | 显示全部楼层 |阅读模式
本帖最后由 ptlzx 于 2019-2-21 12:53 编辑

日志显示:
You are using a custom component for miheater.climate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

Your configuration contains extra keys that the platform does not support.Please remove [name], [token].  (See /config/configuration.yaml, line 438).


configuration.yaml  438行内容:
climate:
  - platform: mi_acpartner
    name: mi_acpartner
    host: 192.168.1.154
    token: 9c7257db7aba88773d5d93645e939078
    target_sensor: sensor.temperature_158d00014ff8fa
  - platform: miheater
    host: 192.168.1.106
    token: b9838f31304e3c9a6db6cabb39a927a4
    name: xiaomi_heater


Unable to discover a device at address 192.168.1.154

Thu Feb 21 2019 12:55:49 GMT+0800 (CST)
Error doing job: Task exception was never retrievedTraceback (most recent call last):  File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 259, in send    data, addr = s.recvfrom(1024)socket.timeout: timed outDuring 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 259, in send    data, addr = s.recvfrom(1024)socket.timeout: timed outDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro    res = func(*args, **kw)  File "/config/custom_components/mi_acpartner/climate.py", line 279, in _async_get_states    self.climate_get_state()  File "/config/custom_components/mi_acpartner/climate.py", line 485, in climate_get_state    getstate = self.climate.send("get_model_and_state", [])  File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 288, in send    return self.send(command, parameters, retry_count - 1)  File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 288, in send    return self.send(command, parameters, retry_count - 1)  File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 224, in send    self.do_discover()  File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 162, in do_discover    raise DeviceException("Unable to discover the device %s" % self.ip)miio.exceptions.DeviceException: Unable to discover the device 192.168.1.154







回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 17:20 , Processed in 0.107855 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表