|
#餐厅窗帘
- platform: mijia_curtain
name: 'babai_bb82mj_1f03_curtain'
host: 192.168.1.69
token: e4cb73939178a46cf36a9f06******9
model: babai.curtain.bb82mj
scan_interval: 30
原来使用自定义米家窗帘插件,可以搞定TB买的绿米窗帘,不知这几天升级了什么就不能用了,无反馈。重新获取token也不行。请大佬指教!日志如下:
此错误来自自定义集成。
日志记录器: custom_components.mijia_curtain.cover
来源: custom_components/mijia_curtain/cover.py:496
集成: Mijia Curtain (文档)
首次出现: 17:51:39 (12 次总计出现)
上次记录: 17:53:20
Get property current-position exception
Get property target-position exception
Get property motor-control exception
Traceback (most recent call last):
File "/config/custom_components/mijia_curtain/cover.py", line 496, in get_property
results = self.miotDevice.get_property_by(siid, piid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/click_common.py", line 183, in _wrap
self._fetch_info()
File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 161, in send
self.send_handshake()
File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 74, in send_handshake
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device 192.168.1.69
|
|