mill1000 / midea-msmart

Python library for local control of Midea (and associated brands) smart air conditioners.
MIT License
49 stars 2 forks source link

Format of real time power data is device dependent #154

Closed mill1000 closed 1 month ago

mill1000 commented 2 months ago

It appears that the real time power (and maybe energy consumption) data can come in different data formats and scales.

This was always a risk based on the code in georgezhao2010/midea_ac_lan and the variability between the plugin and Lua.

This user reports needing a scaling of 1000 on the power data: https://github.com/mill1000/midea-ac-py/issues/194

This user needs the data to be processed as binary instead of BCD: https://github.com/mill1000/midea-msmart/pull/116#issuecomment-2241536091

mill1000 commented 2 months ago

The issue in https://github.com/mill1000/midea-ac-py/issues/194 was simply due to the unit being wrong.