DannyDeGaspari / Samsung-HVAC-buscontrol

Protocol description of the serial communication channel of Samsung airconditioners.
GNU General Public License v3.0
71 stars 17 forks source link

Command52 improvements #8

Closed pavelchuchma closed 2 years ago

pavelchuchma commented 2 years ago

Nice work! I did almost the same reverse engineering in 2017 and wrote own controller library in java. I found your project recently and it motivated me to publish my lib too. I took few flags from your understanding of Command52 packet. Thanks for it! Especially for the documentation :-)

And I found one minor mistake here:

And one improvement:

Both updated and verified in my lib: Output air temperature continuously grows from 18-53 degrees after device start. Manually measured air temperature on heat pump output corresponds to this value.

DannyDeGaspari commented 2 years ago

Thank you very much! I'll update my documentation according to your info.

DannyDeGaspari commented 2 years ago

I checked the values of byte 8 in command 52. In my case the value is not equal to byte 3 and always a little bit higher when the unit is switched on. The other unit which is off has byte 8 value a little bit lower then byte 3.

pavelchuchma commented 2 years ago

Thanks for fast reaction :-) The message structure is probably designed for 2 internal thermometers. Most probably, some units have 2 thermometers and are reporting values separately. And other units (like my) have only one thermometer and they are putting this single value to both fields to keep message compatibility.

btw: don't forget to update bit mask here