Closed pauliborodulin closed 11 months ago
I prepared a fix and created a PR: https://github.com/mill1000/midea-msmart/pull/78
Interestingly I have a device capable of 16 C with the current code, even though the references I've seen say that should be invalid
I have Midea Mission Pro 9, which is a model of Midea's AC imported and sold by Finnish distributor Onninen. If I set the temp to 16 degrees celsius using Midea Air App, the temp is incorrectly reported as 17 degrees by msmart-ng (version 2023.9.5):
If I set the temp to 17 degrees or higher using Midea Air App, msmart-ng reports the temperature correctly. I am also unable to set the temp to 16 degrees using msmart-ac-py. The following warnings get logged when I attempt it:
This seems to be due to fact that older models could not go under 17 degrees. Later models support lower temperature setting, but require update to msmart's getTargetTemp and setTargetTemp. Such updates has already been done in MideaUART: https://github.com/dudanov/MideaUART/commit/3bbd505ee58792a620ad115f9f26652b688f58e3