Skip to main content

A library to control Midea appliances via the cloud API

Project description

This is an updated version of the library component only, from the repo at NeoAcheron/midea-ac-py.

So far, the only changes are to handle the session timeout properly. It should recover from an invalidated session or use of your account on another device.

It is used by the home-assistant custom component at andersonshatch/midea-ac-py

Original Readme:


This is a library to allow communicating to a Midea AC via the Midea Cloud.

This is a very early release, and comes without any guarantees. This is still an early work in progress and simply serves as a proof of concept.

This library would not have been possible if it wasn't for the amazing work done by @yitsushi and his Ruby based command line tool. You can find his work here: The reasons for me converting this to Python is that this library also serves as a platform component for Home Assistant.


Please visit the Wiki for device support and instruction on how to use this component:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for midea-andersonshatch, version 0.1.13
Filename, size File type Python version Upload date Hashes
Filename, size midea_andersonshatch-0.1.13-py3-none-any.whl (13.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size midea-andersonshatch-0.1.13.tar.gz (11.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page