Giter Site home page Giter Site logo

hailin-climate's Introduction

本插件是根据妖神的插件改编而来 https://github.com/Yonsm/ZhiSaswell ,非常感谢妖神

Hailin 地暖温控面板插件,我家里用的是 㻏动 这一款。

当前已知支持的设备:

  • 㻏动
    • devType 8
    • devType 9 (需要配置support参数,见下文)
  • 绿动
    • devType 14

相关使用方式都是基于以上两款设备。其他型号就不太确定是否能用,欢迎抓包后提issue给我

1. 安装准备

hailin 放入 custom_components;也支持在 HACS 中添加自定义库的方式安装。

2. 配置方法

climate:
  - platform: hailin
    #type: mail
    type: mobile
    username: ********
    password: ********
    # scan_interval: 300
    # temp_step: 1
    # support_fan: true
    # support_cool: false
    # support_heat: true

scan_interval 可以自行调整状态拉取时间间隔秒数,默认五分钟同步一次温度和状态,是不是慢了点儿,不过地暖本来就很慢:)

temp_step 每次点击加减温度时的温度跨度,默认值为0.5,可以根据实际情况修改。例如目前我的㻏动面板在app中以及HA中已经无法以0.5为单位加减温度了

support_XXX 这三个选填参数可以全局指定所有面板支持的模式。当你的设备不在已知支持设备列表,并且默认状态下没有正确读出所有模式时可以使用这三个参数手动指定模式。

3. 使用方式

HA面板会根据设备型号以及当前所处模式变化。

比如送风模式时无法调节温度,制热(地暖)模式时无法调节风速。 㻏动 绿动 绿动 绿动

4. 注意

请确保APP的分组管理中至少存在一个分组并且所有设备都在分组中。否则会出现接口无法找到该设备的情况

分组示例

5. 参考

hailin-climate's People

Contributors

alkalixin avatar

Stargazers

rickycm avatar alittlefish avatar  avatar  avatar Ray Zhou avatar Baiju Zhang avatar

Watchers

 avatar

hailin-climate's Issues

绿动面板还有一个模式没能列出

感谢更新。

绿动这个面板有5种模式,其中制热是出风的制热, 然后还有一个是地暖。另外有一个出风制热+地暖同时的模式。
制冷 operation: {"temp_cool":"c23.0","status":"1"}
制热 operation: {"temp_heat":"c23.0","status":"2"}
地暖 operation: {"fan_mod":"5","status":"7"}
通风 operation: {"fan_mod":"5","status":"5"}
制热+地暖 operation: {"fan_mod":"5","status":"8"}

抓包看到发送指令的时候,有一个status 8,不知道这种模式ha是否支持

运行模式只有关闭一个选项

添加成功后,运行模式里面只有“关”,请问还需要配置哪里才能有其他操作选项?我用的是灵动空调温控面板,是不是这个面板的各个模式ID跟地暖的不太一样?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.