Giter Club home page Giter Club logo

py-haier-ac-remote's Introduction

PyHaier - AC Remote

Beware: WIP

Intro

Local Haier AC remote, based heavily on @bstuff job with TypeScript.

Current version is being able to parse "State" packets from the AC, allowing us to get info as power state, temps and more.

The AC itself is TCP listening on 56800, sending data when a connection is established and every few seconds when the AC is powered on.

How to run?

Install python construct library using pip install construct. Change the AC's IP address in the test.py file (MAC is not required right now) and run it.

What about Haier's cloud service?

Data is being sent by default to gw.haieriot.com, their cloud service, along with local TCP connections. There is no issue to continue use their service, but as many people are concerned about privacy and external services, blocking the cloud service is a possibility. I recommend PiHole or any custom inhouse DNS service will allow you to alter it and block their default cloud service inhouse). Of course you can also block the IP addresses too within your router's firewall.

Home Assistant Integration?

I'd really like that, and that's the main reason for the Python port. There's a HomeBridge solution to that using the original repo but I wanted a cleaner solution.

What next?

Next steps include implementing sending commands feature to the AC (porting the TypeScript code too from @bstuff repo), and HomeAssistant integrations.

Contribution?

I'd love that. Any help would be great.

py-haier-ac-remote's People

Contributors

roeij avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

py-haier-ac-remote's Issues

Still interested? (not a real issue)

Hi @roeij, I recently started looking into Home Assistant and also recently got a Haier AC unit with WiFi.
I would really love to be able to connect the two.
This repo seemed the most fitting and promising python version so far, so I took it as a starting point and I'm looking to pick up from where you left.

Was wondering if you'd like to (and able) to get back to this project and collaborate to try and get it working with Home Assistant?

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.