-
Notifications
You must be signed in to change notification settings - Fork 16
Temperature units #7
Comments
Hi @AlexGrieco Is it the temperature display on your AC changing to Fahrenheit, or the value returned by the app? |
Hi @NeoAcheron It’s the other way around. I have manually set my AC to Fahrenheit (my own preference), but anytime I run a command through midea-ac the setting is switched to Celsius. I can see in the midea iOS app, there is a setting called “Units”. There is also an led display on the actual AC which also changes from (F) to (C) after firing a command through midea-ac. I tried to wireshark the commands, while manually changing the setting in the app but I can’t tell which value is changing. It is not a huge deal, everything works fine, just a preference and wondered if it might be easy to use Fahrenheit. |
I think there is a bit for that and because we use Celsius all the data I had was Celsius. When I started my experiment it was in my mind, but later (because I had no issue with this) totally format about that. I'll check if I find anything quick, but to speed up all the researches, I will publish all the scripts I used for reverse-engineering (basically I patched apk with my own ssl cert + an ruby MitM proxy with that SSL cert which is encoding every single message and prints out in a much readable format) The problem with wireshark is... all packets are aes encoded so watching on raw packets is totally useless. |
I started to publish a HowTo-ish post here: https://cheppers.com/operation-ac-ctf-without-flag-part-i The second part (the guessing game) is sadly is still in progress because of time issues :/ |
@AlexGrieco : Can you check if the linked patch works or not? I'm not sure if I'll have the opportunity to test it this week. Check out the branch, build and install the built gem (ping me if you need more details). |
I pushed up some maybe useful materials/docs into the |
@yitsushi Thank you! The link works. I will try to dig into it today. |
@yitsushi I ran the 7-temp-unit branch today and I think this is positive feedback. Before, the get command will show: Target temperature: 22 celsius After, it reads the unit correctly, but does not convert the actual value (maybe expected at this point) Target temperature: 22.0 F Then if I send any set command...it will revert to C. Target temperature: 22.0 C |
Thanks for the quick test. Next time I can inspect/test it in the office (where we have all the devices) will be next Monday. |
Any update on this? If you can lead me in the right direction to prevent the AC changing from Fahrenheit to Celsius every time a command is sent, I would really appreciate. |
First off, kudos! This library is awesome and is working well with Mr Cool DIY 12k mini-split (whitelabel midea). However, any set command changes the temperature unit from F to C.
Is it possible to retain the current setting or at least for me to hard code it somewhere (in the data I presume)?
The text was updated successfully, but these errors were encountered: