arduino-heatpumpir icon indicating copy to clipboard operation
arduino-heatpumpir copied to clipboard

Adding a new model of heat pump (already decoded)

Open Fardenco opened this issue 2 years ago • 0 comments

I've been decoding the output of the remote from a Hyundai heat pump, and I think I figured the function of each byte. Heat, cool, dry, temp, fan speed, programming, swing and sleep, everything seems right.

This is for a portable AC unit, which is reversible to output heat. It's a Hyundai hy-clm12kr Here is a typical IR code :

0001|1000 | 18 | 00011000 never seems to change 1010|0001 | 85 | 10000101 temp change, cool 0000|0001 | 80 | 10000000 No programming, Celcius, no sweep, normal mode, fan speed 1 0001|1000 | 18 | 00011000 24 degrees 0000|0000 | 00 | 00000000 no programming 0000|0000 | 00 | 00000000 never seems to change 0100|0110 | 62 | 01100010 checksum

We have 7 bytes, the last one seems to be the checksum Here is what I found

0001|1000 kkkk|mmmm dusn|ffff tttt|tttt hhhh|hhhh 0000|0000 cccc|cccc

kkkk : 1010 temperature change, 1000 mode change / on, 0000 off. mmmm = mode : 1000 heat, 0100 fan, 0010 dehumidification, 0001 cold d = time programming, 0 = off, 1 = on u = unit : 0 = C, 1 = F s = sweep : 0 off, 1 on n = sleep : 0 normal, 1 sleep ffff = fan speed : 0001 = 1, 0010 = 2, 0100 = 3 tttt = temperature, unit is specified before hhhhhhhh= time programming in hours, up to 24 cccccccc : checksum, simply the sum of all previous bytes, truncated to fit 8 bits

The only doubt I have is regarding the kkkk bits, I don't fully understand their role, they change depending on the action done on the remote but I suspect they are not always used to do anything They are used to switch off the unit, that's for sure, but beside that they seems useless even if the value changes depending of what I do. For example if I hide the remote when pressing power on, and then I change the temperature, the code is for a temperature change but the unit still turns on.

Could you please add this to your library ? Thanks

Fardenco avatar Nov 29 '22 18:11 Fardenco