GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - banto6/haier: 海尔智能家居设备接入HomeAssistant

BranchesTags
Open more actions menu

Latest commit

 

History

177 Commits
177 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
custom_components/haier
custom_components/haier
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
hacs.json
hacs.json
 
 

Repository files navigation

Haier

本插件可将海尔智家中的设备接入HomeAssistant,理论上支持所有设备。

Note

提交问题时请按Issues模版填写,未按模板填写问题会被忽略和关闭!!!

已支持实体

  • Switch
  • Number
  • Select
  • Sensor
  • Binary Sensor
  • Climate

安装

方法1:下载并复制custom_components/haier文件夹到HomeAssistant根目录下的custom_components文件夹即可完成安装

方法2:已经安装了HACS,可以点击按钮快速安装 通过HACS添加集成

配置

配置 > 设备与服务 > 集成 > 添加集成 > 搜索haier

或者点击: 添加集成

发送原始指令

通过 haier.send_raw_command 可向指定海尔设备发送原始控制指令。

  • device_id:海尔侧的原始设备ID,可在对应设备信息的“序列号”中查看,填写时需保留大小写。
  • attrs: 原始控制指令

以支持以下属性的热水器为例,将目标温度设为 42℃:

action: haier.send_raw_command
data:
  device_id: AABBCCDDEEFF
  attrs:
    targetTemp: "42"

集成会将 attrs 原样提交给网关,不校验或转换其中的内容。调用成功仅表示控制事件已提交,不代表设备已执行指令。

常见问题

遇到问题提交issues前,请先查看常见问题中是否已存在。

调试

在configuration.yaml中加入以下配置来打开调试日志。

logger:
  default: warn
  logs:
    custom_components.haier: debug

About

海尔智能家居设备接入HomeAssistant

Topics

hacshaierhome-assistant

Resources

Readme
Apache-2.0 license
Activity

Stars

1.3k stars

Watchers

10 watching

Forks

202 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.