Midea Dehumidifier

Were you able to add the device to the Midea app though? If not then it could be a WIFI issue since it won't work with 5g.

Yes, the Midea product is correctly registered and able to be controlled via the APP.
The python script appears not to be able to login into the cloud account.

Yup, ran everything as admin and still not working. I don't have a mac to try, but it seems others previously had success from windows with those instructions.

Not sure if your issue is resolved but I think this is fix with this forked

1 Like

Nope, still having the same issue. I tried that fork as well just now and it gave the same results unfortunately.

Thanks for the driver @Chen555

There is some problem with RM, it doesn't run the switch action (On: Deumidificatore)

but the log is fine.

Otherwise it works if I set another switch for trigger

(Same thing in Basic Rules)

@Chen555 Thanks for creating this driver. I installed it, and it is talking to my Cube, but I cannot set any values. If I try to change the fan speed or the humidity set point, I'm getting errors like these:

dev:572023-11-09 09:25:05.396 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:04.979 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:04.676 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:04.478 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:04.170 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:03.738 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:03.117 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:01.994 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:01.773 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:01.773 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:25:01.284 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:24:58.986 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:24:54.209 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:24:53.391 PMerrorjava.lang.NullPointerException: Cannot invoke method and() on null object on line 573 (method setTargetHumidity)
dev:572023-11-09 09:24:51.420 PMerrororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'byte'. Try 'java.lang.Byte' instead on line 576 (method setFanSpeed)
dev:572023-11-09 09:24:50.008 PMerrororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'byte'. Try 'java.lang.Byte' instead on line 576 (method setFanSpeed)
dev:572023-11-09 09:24:48.369 PMerrororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'byte'. Try 'java.lang.Byte' instead on line 576 (method setFanSpeed)
dev:572023-11-09 09:24:41.594 PMerrororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'null' with class 'null' to class 'byte'. Try 'java.lang.Byte' instead on line 576 (method setFanSpeed)

This worked perfectly for me! Hell, it even showed up my mini-split (Senville Aura models) that I had bought a Bond RF/Infra remote controller for! This is genius! Thanks!

I love this is local control and not having to go through their cloud!

I leave this here in case any one else runs into similar problems

I was able to attain the Midea Cube information using mill1000 msmart.
[GitHub - mill1000/midea-msmart: Python library for local control of Midea (and associated brands) smart air conditioners.]

Seems like I have Python 2.7 and Python 3.11 installed on my mac. Using Macports I was able to uninstall both pythons and re-install python 3.11 with all of its dependecies.

pip command wasn't working so I used this source [pip Command Not Found – Mac and Linux Error Solved] to help me sort that out.