Skip to content

Commit

Permalink
Merge pull request #1 from mypalg/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
mypal authored Jun 28, 2019
2 parents 5320f6a + 3a61acb commit 6b46938
Show file tree
Hide file tree
Showing 12 changed files with 1,588 additions and 126 deletions.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
# ha-dsair
# Daikin DS-AIR Custom Component For Home Assistant

此项目是Home Assistant平台[DS-AIR](https://www.daikin-china.com.cn/newha/products/4/19/DS-AIR/)自定义组件的实现

支持的网关设备型号为DTA117B611,其他网关的支持情况未知

由于家里只有中央空调,对于老款型号、浴室系列空调等等没有测试条件。理论上也能部分支持

# 接入方法

1. 将项目ha-air目录部署到自定义组件目录,一般路径为```~/.homeassistant/custom_components/``
2. 在配置文件```~/.homeassistant/configuration.yaml``中添加配置
```yaml
climate:
- platform: ds_air
host: 192.168.1.150 # 空调网关IP地址,默认:192.168.1.150
port: 8008 # 网关端口号,默认:8008
```
3. 重启HA服务
# 开发过程
本组件开发过程可在[blog](https://www.mypal.wang/blog/lun-yi-ci-jia-yong-kong-diao-jie-ru-hazhe-teng-jing-li/)查看
4 changes: 4 additions & 0 deletions custom_components/ds_air/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
Platform for DS-AIR of Daikin
https://www.daikin-china.com.cn/newha/products/4/19/DS-AIR/
"""

if __name__ == '__main__':
from custom_components.ds_air.ds_air_service.service import Service
Service.init()
Loading

0 comments on commit 6b46938

Please sign in to comment.