Hi
I'm new to this Arduino and I'm seeing if I can make a control for my heat pump so I have the following buttons
10 degrees
18 degrees
20 degrees
22 degrees
power off
I've messed up a bit with Heatpumpir from GitHub GitHub - ToniA/arduino-heatpumpir: An Arduino library to control split-unit heatpumps over Infrared but I may not quite understand I've got the one called PanasonicRelayControl to work can not just figure out and translate the codes.
the ones I receive with IRrecvDumpV2 look like this:
Power on 20 degree car fan
12: 00: 58.993 -> Protocol: PANASONIC_AC
12: 00: 58.993 -> Code: 0x0220E004000000060220E00400492880A106000EE0000089000015 (216 Bits)
12: 00: 58.993 -> Mesg Desc .: Model: 6 (RKR), Power: On, Mode: 4 (Heat), Temp: 20C, Fan: 7 (Auto), Swing (V): 1 (Highest), Swing (H): 6 (Middle), Quiet: Off, Powerful: Off, Clock: 00:00, On Timer: Off, Off Timer: Off
12: 00: 59.040 -> uint16_t rawData [439] = {3536, 1696, 470, 418, 450, 1256, 474, 418, 446, 420, 446, 420, 448, 418, 446, 420, 444, 422, 446, 420, 444, 420, 472, 422, 446, 420, 446, 420, 444, 1260, 474, 420, 444, 422, 446, 420, 446, 422, 442, 424, 444, 422, 444, 422, 444, 1262, 472, 1262, 444, 1288, 472, 420, 472, 422, 442, 1262, 470, 424, 440, 398, 444, 422, 444, 424, 442, 424, 442, 422, 442, 424, 442, 426, 440, 424, 440, 424, 440, 426, 440, 426, 440, 426, 468, 426, 440, 426, 440, 426, 440, 426, 462, 402, 440, 426, 440, 426, 440, 426, 440, 426, 440, 426, 440, 426, 438, 426, 440, 426, 440, 428, 466, 426, 438, 426, 440, 426, 440, 1294, 438, 1294, 440, 426, 440, 426, 440, 426, 440, 426, 438, 426, 440, 9988, 3530, 1700, 440, 424, 466, 1268, 466, 426, 438, 426, 440, 428, 438, 426, 438, 428, 438, 428, 438, 428, 438, 428, 438, 430, 436, 430, 434, 432, 436, 1296, 436, 430, 438, 428, 462, 432, 436, 430, 434, 432, 434, 432, 432, 434, 432, 1300, 432, 1302, 432, 1302, 432, 434, 432, 434, 430, 1304, 428, 458, 408, 458, 410, 458, 410, 456, 410, 456, 436, 456, 408, 458, 408, 458, 408, 458, 408, 458, 406, 460, 406, 460, 404, 462, 404, 1328, 404, 462, 406, 460, 402, 1332, 400, 466, 400, 466, 424, 1308, 426, 468, 398, 468, 396, 468, 398, 468, 398, 1336, 398, 468, 398, 1336, 398, 468, 398, 468, 398, 468, 398, 470, 396, 468, 398, 468, 396, 470, 424, 468, 398, 468, 398, 1334, 398, 1336, 398, 468, 398, 468, 398, 468, 398, 468, 396, 1336, 396, 470, 396, 1336, 396, 470, 396, 1336, 396, 1336, 396, 470, 396, 470, 422, 470, 396, 472, 394, 470, 396, 494, 374, 492, 372, 494, 372, 494, 372, 494, 374, 494, 372, 494, 372, 494, 372, 494, 372, 1360, 372, 1360, 372, 1362, 398, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 1360, 372, 1360, 372, 1360, 372, 494, 372, 494, 372, 494, 400, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 494, 372, 494, 370, 494, 372, 494, 372, 496, 370, 494, 372, 494, 372, 494, 370, 1362, 370, 496, 398, 494, 372, 1360, 372, 494, 370, 496, 372, 494, 372, 1362, 370, 496, 346, 520, 346, 518, 348, 520, 370, 494, 346, 520, 346, 518, 346, 522, 372, 520, 346, 520, 346, 520, 346, 520, 346, 520, 344, 520, 346, 520, 346, 544, 320, 1412, 322, 546, 320, 1410, 322, 544, 320, 1412, 320, 546, 322, 544, 348, 546, 320}; // PANASONIC_AC
12: 00: 59.240 -> uint8_t state [27] = {0x02, 0x20, 0xE0, 0x04, 0x00, 0x00, 0x00, 0x06, 0x02, 0x20, 0xE0, 0x04, 0x00, 0x49, 0x28, 0x80, 0xA1, 0x 0x00, 0x0E, 0xE0, 0x00, 0x00, 0x89, 0x00, 0x00, 0x15};
so I do not know how to conveter and set up the buttons
hope there is someone who can help me