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

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

[求助] 有没有人用过JasonGao大佬的大金中央空调插件

[复制链接]

7

主题

48

帖子

473

积分

中级会员

Rank: 3Rank: 3

积分
473
金钱
425
HASS币
0
发表于 2022-9-24 18:04:26 | 显示全部楼层 |阅读模式
有没有人用过JasonGao大佬的大金中央空调的插件。
原帖:https://bbs.hassbian.com/forum.p ... =%E5%A4%A7%E9%87%91

我也是按照帖子中买了一个modbus转TCP的网关,但是配置以后报如下错误:

Error during setup of component daikin_dta116a621
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
    result = await task
  File "/config/custom_components/daikin_dta116a621/__init__.py", line 64, in async_setup
    adapter : DaikinAPI = await hass.async_add_executor_job(create_adapter, conf_adapter_host, conf_adapter_port, conf_adapter_slave)
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/daikin_dta116a621/__init__.py", line 75, in create_adapter
    api = DaikinAPI(host, port, slave)
  File "/usr/local/lib/python3.10/site-packages/pydta116a621/__init__.py", line 20, in __init__
    self._areas.update_all()
  File "/usr/local/lib/python3.10/site-packages/pydta116a621/register_area.py", line 58, in update_all
    proxy.update_all()
  File "/usr/local/lib/python3.10/site-packages/pydta116a621/proxy.py", line 46, in update_all
    self.update_cells(self._base_address, self._cells_count)
  File "/usr/local/lib/python3.10/site-packages/pydta116a621/proxy.py", line 42, in update_cells
    cells = self._modbus_client.read_cells(self.register_type, address, this_turn_cells_count)
  File "/usr/local/lib/python3.10/site-packages/pydta116a621/modbus_client.py", line 30, in read_cells
    cells = self._read_input_cells(address, count)
  File "/usr/local/lib/python3.10/site-packages/pydta116a621/modbus_client.py", line 21, in _read_input_cells
    return result.registers
AttributeError: 'ModbusIOException' object has no attribute 'registers'


请问各位你们有没有类似的问题,谁能帮忙解决一下,感谢各位大佬。

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 12:39 , Processed in 0.193797 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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