andersonshatch / midea-ac-lib

Library for controlling Midea AC devices via their cloud
MIT License
21 stars 6 forks source link

Fan Only Workaround fix #11

Open gdagalakis opened 3 years ago

gdagalakis commented 3 years ago

About the fan only problem i would recommend to see @mac-zhou 's implementation for the issue at https://github.com/mac-zhou/midea-msmart/blob/master/msmart/device.py#L195 that introduces an update_special method that updates only indoor and outdoor_temperature. Unfortunately i have no idea how to create a development enviroment so i cant help with that. I think that this will fix the issue

fraschizzato commented 3 years ago

As I have understand, the script uses a "write" to get the status response (probably the default data of 17° is the problem but can't find what other data use), and in some units (like mine) that write command provoke the fan issue. I have seen that both android apps (Midea Air and NetHome Plus) can update device status without trigger the fan. Probably new devices have a different "status request command" that can be sniffed from the android apps, I've tried with "packet capture" app but can't find wich data can be usefull. I've searched a while but I can't find anything about data template.

fraschizzato commented 3 years ago

I think I've solved the main issue, here my repo, https://github.com/fraschizzato/midea-ac-lib maybe can be merged if it really works

floringhimie commented 2 years ago

Hi if fraschizzato update works how can I test it? My HA config /config/custom_components/midea/manifest.json { "domain": "midea", "name": "Midea Aircon", "documentation": "", "requirements": ["midea-andersonshatch==0.1.13", "pycryptodome"], "dependencies": [], "codeowners": ["@andersonshatch"], "homeassistant": "0.96.0", "version": "2021.1" } How can I modify this to use fraschizzato repo? Sorry new to git... Thank you!