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

 找回密码
 立即注册
楼主: mypal

[技术讨论] 大金空调DS-AIR及『金制空气』接入HA

  [复制链接]

3

主题

107

帖子

879

积分

高级会员

Rank: 4

积分
879
金钱
772
HASS币
0
发表于 2021-9-18 21:41:53 | 显示全部楼层
本帖最后由 big111boy 于 2021-9-18 21:43 编辑

1.jpg
感谢楼主大佬的分享,终于把空调接进来了,但是大金送的空气传感器还是获取不到
回复

使用道具 举报

0

主题

3

帖子

22

积分

新手上路

Rank: 1

积分
22
金钱
19
HASS币
0
发表于 2021-9-24 21:34:38 | 显示全部楼层
楼主首先感谢您提供大金接入ha的功能支持。但是我使用上遇到一个问题,因为我有两台主机,也就是两个网关,但是只能输入一次个ip地址,添加一个后第二个又没办法添加,不知道如何解决,谢谢,希望得到您的指导。
回复

使用道具 举报

0

主题

4

帖子

34

积分

新手上路

Rank: 1

积分
34
金钱
30
HASS币
0
发表于 2021-9-27 17:44:02 | 显示全部楼层
请问下,我用这个插件接入到homeassistant了,但是homekit里找不到啊
回复

使用道具 举报

2

主题

54

帖子

565

积分

论坛技术达人

积分
565
金钱
506
HASS币
20
 楼主| 发表于 2021-9-30 10:36:55 | 显示全部楼层
mengduo 发表于 2021-9-27 17:44
请问下,我用这个插件接入到homeassistant了,但是homekit里找不到啊

homeassistant有的话,那就不是插件的问题了,你需要研究下空调如何接入到HomeKit
回复

使用道具 举报

0

主题

4

帖子

34

积分

新手上路

Rank: 1

积分
34
金钱
30
HASS币
0
发表于 2021-10-1 23:02:50 | 显示全部楼层
mypal 发表于 2021-9-30 10:36
homeassistant有的话,那就不是插件的问题了,你需要研究下空调如何接入到HomeKit ...

现在接入成功了,但是运行了几天,homeassistant运行不起来了,删除插件,homeassistant又可以运行了,这个不知道是什么问题,重新安装了插件也不行,把homeassistant完全删除配置,又可以运行了。
回复

使用道具 举报

0

主题

4

帖子

34

积分

新手上路

Rank: 1

积分
34
金钱
30
HASS币
0
发表于 2021-10-4 19:30:11 | 显示全部楼层
2021-10-04 11:19:44 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ds_air which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
群晖下docker的homeassistant,运行一天又启动不了了。
回复

使用道具 举报

0

主题

4

帖子

34

积分

新手上路

Rank: 1

积分
34
金钱
30
HASS币
0
发表于 2021-10-4 19:31:53 | 显示全部楼层
2021-10-04 11:19:44 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ds_air which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-10-04 11:20:58 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: ds_air
2021-10-04 11:21:58 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: ds_air
2021-10-04 11:22:58 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: ds_air
2021-10-04 11:23:58 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: ds_air
2021-10-04 11:24:47 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 89, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 190, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 63, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 72, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 171, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1429, in async_create_flow
    return cast(OptionsFlow, HANDLERS[entry.domain].async_get_options_flow(entry))
  File "/config/custom_components/ds_air/config_flow.py", line 81, in async_get_options_flow
    return DsAirOptionsFlowHandler(config_entry)
  File "/config/custom_components/ds_air/config_flow.py", line 93, in __init__
    self._climates = list(map(lambda state: state.alias, Service.get_aircons()))
  File "/config/custom_components/ds_air/ds_air_service/service.py", line 197, in get_aircons
    return Service._new_aircons+Service._aircons+Service._bathrooms
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
2021-10-04 11:24:53 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for stage 2 - moving forward
2021-10-04 11:28:16 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 89, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 190, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 63, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 72, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 171, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1429, in async_create_flow
    return cast(OptionsFlow, HANDLERS[entry.domain].async_get_options_flow(entry))
  File "/config/custom_components/ds_air/config_flow.py", line 81, in async_get_options_flow
    return DsAirOptionsFlowHandler(config_entry)
  File "/config/custom_components/ds_air/config_flow.py", line 93, in __init__
    self._climates = list(map(lambda state: state.alias, Service.get_aircons()))
  File "/config/custom_components/ds_air/ds_air_service/service.py", line 197, in get_aircons
    return Service._new_aircons+Service._aircons+Service._bathrooms
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
2021-10-04 11:28:18 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 89, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 190, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 63, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 72, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 171, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1429, in async_create_flow
    return cast(OptionsFlow, HANDLERS[entry.domain].async_get_options_flow(entry))
  File "/config/custom_components/ds_air/config_flow.py", line 81, in async_get_options_flow
    return DsAirOptionsFlowHandler(config_entry)
  File "/config/custom_components/ds_air/config_flow.py", line 93, in __init__
    self._climates = list(map(lambda state: state.alias, Service.get_aircons()))
  File "/config/custom_components/ds_air/ds_air_service/service.py", line 197, in get_aircons
    return Service._new_aircons+Service._aircons+Service._bathrooms
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
回复

使用道具 举报

2

主题

54

帖子

565

积分

论坛技术达人

积分
565
金钱
506
HASS币
20
 楼主| 发表于 2021-10-10 15:37:18 | 显示全部楼层
mengduo 发表于 2021-10-4 19:31
2021-10-04 11:19:44 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ds_a ...

还有其他的报错没?要不你加一下QQ群693698416,需要定位下你的具体问题
回复

使用道具 举报

2

主题

54

帖子

565

积分

论坛技术达人

积分
565
金钱
506
HASS币
20
 楼主| 发表于 2021-10-10 15:44:52 | 显示全部楼层
big111boy 发表于 2021-9-18 21:41
感谢楼主大佬的分享,终于把空调接进来了,但是大金送的空气传感器还是获取不到
...

可以尝试下1.3.1版本
回复

使用道具 举报

14

主题

243

帖子

1595

积分

金牌会员

Rank: 6Rank: 6

积分
1595
金钱
1352
HASS币
0
发表于 2021-11-1 10:12:39 | 显示全部楼层
谢谢楼主的分享,大让人惊喜了。本来觉得要买淘宝上那种2K左右的第三方控制器的
还想请教楼主一个问题,不知道DTA117D611能支持吗?
准备上大金,JS给我的配置单上是这个网关,谢谢
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 03:06 , Processed in 0.530443 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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