Code Monkey home page Code Monkey logo

esphome-haier's Introduction

Haier AC integration for Home Assistant with ESPHome

Based on the work of https://github.com/albetaCOM/esp-haier and other home assitant forum users

Replaces the "ESP32 for Haier" wifi dongle and hOn app with an ESPHome device. Still in developement beta, only tested by me, but testing and feedback is welcome. Proper readme coming soon. This adds a climate entity, and switch entities for the other functions that we know how to control in Home Assistant. Not sure on model compatibility, but if it uses the hOn app and ESP32 for Haier dongle, it might work.

Currently known Byte and Bit address definitions and information on the message format can be found in the haier.h file. We receive the current status from the ac and send it back with our changes to the settings. The status message contains more info then we can send in the control message, so some bytes (after 21) we cant control, only read.

For development I have added a few "tester" entities, these allow you to view and toggle bits from HA. This can be used for finding out what unknown bits in the message do, there are sill a lot of them. Testing for this is welcome, different models may use the bits for different things based on features that my model didnt have for testing. ESPhome debug log is enabled to help with this, it will show you what bytes and bits change when they do. If you dont need them, feel free to remove them from the yaml.

Health aka Purify, display on/off, Remote Lock, Self Clean, Steri Clean, display Units are all currently implemented as switches in HA.

Quiet, Boost, Away, and Sleep are implemented as Presets in HA.

Things known to not be implemented yet are controling the wifi light on the ac unit, timers, potentially a few position settings, and fully understanding the message format.

esphome-haier's People

Contributors

ivoh95 avatar

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.