deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
214 stars 58 forks source link

Something is wrong with status of f_temp_in and t_temp #89

Open aaronsb opened 3 years ago

aaronsb commented 3 years ago

This platform is homeassistant. Here is the relevant device info. I had to disable discovery and manually define mqtt climate for the device, also mapping temperature status to same command topic, otherwise it's status is illogical.

{ "name":"Mini-Split AC", "unique_id":"7cb37b2de99a", "device":{ "identifiers":[ "hisense_ac_7cb37b2de99a" ], "manufacturer":"Hisense (denali-us)", "model":"Smart-1-110-fld", "name":"Mini-Split AC", "sw_version":"ADA 1.4.3-beta ameba 2018-03-28 19:20:06 8f40fe89d" }

It looks like there might be some sort of parse problem with data from the controller. Temp status and temperature sense are highly incorrect.

Commands to the unit work as expected, ie: commanding 70F sets unit to 70F, or 65 or 75 for example.

Attached is a brief gif of setting the command topic to lower and lower temperatures, and you can observe a type of "wrap around" of the offending values.

numberhandle

aaronsb commented 3 years ago

Let me know if there's any other debug info or anything you'd like me to grab.