hillaliy / homebridge-midea-air

Homebridge plugin for Midea units
MIT License
71 stars 22 forks source link

Midea's "Inventor" brand de-humidifier additional controls missing (if supported) #102

Closed mackonsti closed 1 year ago

mackonsti commented 1 year ago

Hello @hillaliy first of all, warm thanks for your great work. It was very hard to trace a device-controlling solution to you as I could not find the the appliance maker INVENTOR (www.inventor.ac) was part of MIDEA solutions and services...

So I am using latest Homebridge on an OpenMediaVault small sever (via Docker) I added your main plugin (just published, v1.6.10) via its Search interface and then added my Inventor iOS application credentials that were accepted, to my great surprise.

I selected (as part of testing) to use the "MideaAir" application in Settings and later, created a "child bridge" as Homebridge prompted me to do.

Reference: https://www.inventorairconditioner.com/dehumidifiers/eva-ii-pro-wi-fi-evp-wf Model: Eva II Pro (EVP-WF20L) Dehumidifier with Wi-Fi

a) Is a child bridge necessary? If not, perhaps you could kindly consider to mention it in the first page README.md? Should I remove everything and re-install without a child-bridge?

b) When I saved and restarted HomeBridge (as needed) my "Inventor" account was accepted and was logged in and I was surprised to see that my appliance was also detected, including my assigned appliance name! Well done:

[11/13/2022, 11:46:34 AM] Homebridge v1.5.1 (HAP v0.10.4) (Homebridge Server) is running on port 53307
[11/13/2022, 11:46:34 AM] [homebridge-midea-air] Launched child bridge with PID XXXX
[11/13/2022, 11:46:35 AM] Registering platform 'homebridge-midea-air.midea-air'
[11/13/2022, 11:46:35 AM] [homebridge-midea-air] Loaded homebridge-midea-air v1.6.10 child bridge successfully
[11/13/2022, 11:46:35 AM] Homebridge v1.5.1 (HAP v0.10.4) (homebridge-midea-air) is running on port 59342
[11/13/2022, 11:46:36 AM] [homebridge-midea-air] Created device: Eva II Pro, with ID: XXXXXXXXXXXXXX, and type: 161

(the ID I have obviously obfuscated, above)

On the devices list, the config icon shows the following and when long-pressing the tile, I get some options (that are not really related, i.e. the device is only a dehumidifier and does not have a humidifier function (perhaps the orange button does nothing?)

At the moment, the only thing that can be done, is to turn ON/OFF and see the reported humidity level (with some delay, compared to the device display, next to me).

Options

Is there a way by providing some logs or tweaking the MideaAir config (that seems added successfully) to be able to control dehumidification modes, or fan speeds, or Ioniser ON/OFF etc.?

Or can I provide specific logs to check with you whether the appliance does allow more to be controller, via your great plugin? Please kindly point me to the right direction, and I will try getting the log(s) necessary.

Many thanks again.

P.S. What is the purpose of parameter "supportedSwingMode": "both" ? For A/C devices that "swing"? What are other options that I can manually set for this parameter as the appliance doesn't have any swings? Thanks!

P.S. How could I increase the responsiveness between the appliance-reported humidity and Homebridge UI?

Config-Report

hillaliy commented 1 year ago

Hi it's very difficult to fix all the problems. There are many models and Midea use an old and new protocol. Also I don't have a dehumidifier to make tests. If You can give me access to your device I could try to make some adjustments

mackonsti commented 1 year ago

Hi @hillaliy thanks for replying.

A small request for text-label correction: Please on the report page above, do change the type label to Humidifer-Dehumidifier with a "dash" character between the two types, so that people can understand a little better (like me 😄 )

How do I give you temporary access to my device? Via the Homebridge UI itself? Or provide the login credentials to the application?

Thanks.

hillaliy commented 1 year ago

About the label it's Homebridge label. Can't change it. If you can send me your credentials. My Discord user: Yossi#1563

mackonsti commented 1 year ago

Request to connect, sent. Many thanks!

EDIT: Do we need to leave parameter "supportedSwingMode": "both" as is, for (de-)humidifiers, eventually? Do we also need to create a child-bridge, eventually?

UPDATE: This field is not related to (de-)humidifiers, we need to set it to none in the config.

hillaliy commented 1 year ago

Fix on version 1.7.0