IRremoteESP8266 icon indicating copy to clipboard operation
IRremoteESP8266 copied to clipboard

Mitsubishi Heavy 88-bit A/C - Fan and Mode cannot be set

Open kodjo80 opened this issue 2 years ago • 5 comments

Version/revision of the library used

_Typically located in the library.json & src/IRremoteESP8266.h files in the root directory of the library.

v2.8.6, 'master' I am using Wemos D1 Mini v 4.0 My AC is Mitsubishi Heavy DXK12Z6-W with remote RKX502A007P

Describe the bug

When I try to set the operation mode or the fan the settings were not changed accordingly. When I change the operation mode with kMitsubishiHeavyAuto, kMitsubishiHeavyHeat, kMitsubishiHeavyCool, kMitsubishiHeavyDry, kMitsubishiHeavyFan the resulting code did.t change as it should. In the summary of the sent message the mode is not changed. I compared the codes with the IRrecvDump_v3 and they don't match. Here comes the interesting: When I change the fan mode with kMitsubishiHeavy88Fan/Auto, High, Med, Low, Econo, Turbo/ they change the operations mode /Heat, Cool, Dry, Auto/

I cannot check what mode is set on the A/C unit, because there is no indicators on it. I can only compare the remote codes with the ones produced by the library, but when I send a code with the ESP the fan is always on High or Auto /I suppose/.

I tried SmartIRRepeater, and it seems to work as expected, so I assume my hardware is setup correctly.

Best wishes, Venelin

kodjo80 avatar Sep 27 '23 17:09 kodjo80

Please post output IRrecvDumpV2+ when using your original remote with the settings you have issues with.

NiKiZe avatar Sep 27 '23 17:09 NiKiZe

Here what I captured with IRrecvDumpV2. Didn't found V2+ version. `Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD708F7986 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 24C, Fan: 3 (Med), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1574, 446, 350, 420, 1208, 422, 350, 420, 382, 418, 1206, 422, 352, 420, 1206, 424, 348, 422, 380, 418, 1186, 444, 1176, 422, 1158, 442, 352, 420, 1182, 446, 350, 422, 1206, 422, 1176, 422, 1178, 422, 350, 420, 380, 418, 382, 418, 382, 418, 1186, 444, 1154, 444, 350, 420, 1206, 422, 1154, 446, 350, 422, 382, 418, 1184, 444, 350, 420, 382, 418, 1186, 444, 350, 420, 382, 416, 1186, 444, 1154, 444, 350, 420, 1182, 446, 1154, 446, 1154, 446, 350, 422, 1184, 446, 1154, 444, 1156, 444, 1154, 446, 1154, 446, 1154, 446, 348, 422, 1184, 444, 350, 422, 380, 418, 382, 418, 382, 418, 382, 416, 382, 418, 1182, 444, 1154, 446, 1154, 444, 1154, 444, 350, 420, 380, 418, 380, 418, 1184, 446, 350, 422, 380, 418, 382, 418, 382, 418, 1184, 444, 1154, 446, 1154, 446, 350, 420, 380, 418, 1182, 446, 1154, 444, 350, 422, 380, 418, 382, 418, 382, 418, 1184, 446, 1152, 446, 350, 422, 382, 422, 1180, 444, 1154, 444, 1154, 444, 1154, 420, 378, 422}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x70, 0x8F, 0x79, 0x86};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD708F7C83 (88 Bits) Mesg Desc.: Power: On, Mode: 4 (Heat), Temp: 24C, Fan: 3 (Med), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3226, 1574, 446, 348, 420, 1186, 442, 350, 420, 380, 418, 1188, 442, 350, 420, 1182, 446, 348, 420, 382, 418, 1182, 448, 1156, 442, 1156, 442, 350, 422, 1182, 446, 348, 420, 1186, 444, 1154, 446, 1154, 446, 348, 420, 380, 418, 382, 418, 382, 418, 1186, 444, 1154, 446, 350, 420, 1184, 446, 1152, 446, 348, 420, 384, 416, 1184, 444, 348, 422, 382, 418, 1184, 446, 350, 420, 382, 418, 1184, 446, 1154, 446, 348, 420, 1184, 446, 1154, 444, 1152, 446, 350, 420, 1182, 446, 1152, 446, 1156, 444, 1156, 444, 1156, 444, 1154, 444, 348, 420, 1184, 444, 350, 420, 380, 418, 382, 418, 384, 416, 384, 418, 382, 418, 1182, 446, 1154, 446, 1152, 446, 1154, 444, 350, 420, 382, 418, 382, 418, 1182, 444, 350, 422, 380, 418, 380, 418, 382, 418, 1184, 446, 1154, 444, 1154, 444, 350, 422, 1180, 422, 1176, 422, 376, 418, 380, 418, 380, 418, 382, 418, 382, 418, 1182, 424, 374, 420, 380, 418, 1184, 436, 1162, 422, 1178, 420, 1180, 420, 1178, 422, 378, 422}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x70, 0x8F, 0x7C, 0x83};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD708F7A85 (88 Bits) Mesg Desc.: Power: On, Mode: 2 (Dry), Temp: 24C, Fan: 3 (Med), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3230, 1572, 446, 348, 420, 1184, 446, 348, 422, 380, 418, 1182, 446, 348, 422, 1182, 446, 346, 422, 380, 418, 1182, 446, 1154, 446, 1152, 446, 348, 420, 1182, 446, 348, 420, 1180, 446, 1154, 446, 1152, 446, 348, 422, 380, 418, 380, 420, 378, 418, 1180, 446, 1154, 444, 348, 422, 1184, 444, 1152, 446, 346, 422, 382, 418, 1182, 446, 348, 422, 380, 418, 1180, 446, 348, 420, 380, 418, 1180, 446, 1152, 448, 348, 420, 1182, 446, 1154, 444, 1154, 446, 346, 422, 1182, 446, 1152, 444, 1156, 446, 1152, 444, 1156, 444, 1154, 444, 346, 422, 1184, 446, 348, 420, 380, 418, 382, 418, 380, 420, 382, 418, 378, 418, 1184, 444, 1152, 446, 1152, 446, 1154, 444, 348, 422, 380, 418, 380, 418, 1182, 422, 374, 420, 378, 418, 380, 418, 382, 420, 1180, 422, 1176, 422, 1176, 424, 374, 420, 1180, 422, 374, 422, 1178, 424, 376, 418, 378, 418, 382, 420, 378, 420, 1180, 420, 376, 420, 1180, 422, 376, 420, 1180, 422, 1178, 422, 1176, 422, 1176, 422, 376, 420}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x70, 0x8F, 0x7A, 0x85};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD708F7B84 (88 Bits) Mesg Desc.: Power: On, Mode: 3 (Fan), Temp: 24C, Fan: 3 (Med), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3230, 1574, 444, 348, 422, 1182, 448, 348, 422, 380, 418, 1184, 446, 350, 420, 1184, 446, 348, 422, 382, 418, 1184, 446, 1156, 444, 1154, 446, 350, 420, 1184, 444, 350, 420, 1184, 446, 1152, 448, 1154, 446, 348, 422, 382, 418, 382, 418, 382, 422, 1180, 446, 1154, 446, 350, 420, 1184, 446, 1154, 446, 350, 420, 382, 418, 1182, 446, 348, 422, 382, 418, 1184, 446, 348, 422, 382, 418, 1184, 446, 1154, 444, 350, 422, 1184, 446, 1152, 448, 1152, 446, 350, 420, 1184, 446, 1156, 444, 1154, 446, 1154, 446, 1156, 444, 1154, 446, 350, 420, 1184, 446, 350, 420, 382, 418, 382, 420, 382, 418, 382, 418, 380, 418, 1182, 444, 1154, 446, 1152, 446, 1154, 446, 350, 422, 380, 420, 380, 418, 1182, 422, 376, 418, 382, 418, 380, 418, 380, 418, 1184, 422, 1176, 422, 1178, 422, 376, 420, 380, 418, 382, 418, 1182, 422, 376, 418, 382, 418, 382, 418, 382, 418, 1184, 422, 1176, 422, 1178, 422, 378, 416, 1184, 422, 1178, 422, 1178, 422, 1176, 424, 376, 418}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x70, 0x8F, 0x7B, 0x84};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD708F7887 (88 Bits) Mesg Desc.: Power: On, Mode: 0 (Auto), Temp: 24C, Fan: 3 (Med), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1574, 444, 348, 420, 1182, 446, 348, 420, 380, 418, 1182, 446, 348, 422, 1180, 448, 348, 422, 380, 418, 1184, 444, 1154, 444, 1154, 446, 348, 422, 1180, 446, 348, 420, 1182, 446, 1154, 446, 1154, 444, 348, 420, 380, 416, 382, 418, 380, 418, 1184, 444, 1152, 446, 348, 420, 1182, 446, 1152, 446, 348, 420, 382, 418, 1184, 444, 348, 420, 382, 416, 1184, 444, 348, 422, 380, 418, 1182, 446, 1154, 448, 348, 420, 1182, 444, 1156, 446, 1152, 446, 348, 420, 1182, 446, 1154, 444, 1154, 444, 1150, 448, 1152, 446, 1152, 446, 348, 422, 1180, 446, 350, 420, 380, 418, 380, 418, 380, 418, 382, 418, 380, 418, 1182, 446, 1154, 446, 1152, 446, 1154, 446, 346, 422, 380, 418, 382, 416, 1182, 446, 348, 420, 380, 418, 380, 418, 380, 418, 1182, 446, 1154, 444, 1154, 446, 346, 422, 1180, 446, 1154, 444, 1152, 448, 348, 422, 380, 418, 382, 416, 382, 418, 1180, 422, 376, 418, 380, 418, 380, 418, 1180, 446, 1154, 422, 1176, 422, 1176, 422, 376, 418}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x70, 0x8F, 0x78, 0x87};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD10EF8976 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 25C, Fan: 0 (Auto), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1570, 446, 348, 420, 1184, 446, 348, 422, 380, 418, 1182, 446, 348, 420, 1184, 444, 348, 422, 380, 418, 1182, 446, 1154, 444, 1154, 446, 348, 420, 1182, 446, 348, 420, 1184, 446, 1152, 446, 1154, 444, 350, 420, 380, 416, 382, 418, 380, 418, 1182, 446, 1154, 444, 348, 420, 1182, 446, 1152, 446, 348, 420, 380, 418, 1180, 446, 348, 420, 380, 418, 1184, 444, 350, 420, 380, 418, 1182, 446, 1152, 446, 348, 422, 1182, 446, 1154, 446, 1154, 446, 348, 420, 1182, 422, 1176, 444, 1154, 444, 1154, 444, 1154, 446, 1154, 422, 374, 418, 1182, 422, 376, 418, 380, 418, 382, 418, 380, 418, 382, 418, 378, 418, 1182, 422, 1176, 444, 1152, 422, 1176, 422, 374, 418, 1182, 422, 1176, 422, 1176, 422, 376, 418, 380, 418, 380, 416, 382, 418, 1182, 422, 374, 418, 380, 418, 380, 418, 380, 418, 1182, 422, 1176, 446, 350, 420, 1182, 422, 1176, 422, 1176, 422, 376, 416, 1182, 422, 376, 418, 380, 418, 1182, 422, 376, 416, 380, 418, 382, 416, 1184, 422}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x10, 0xEF, 0x89, 0x76};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD906F9966 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 26C, Fan: 4 (High), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1574, 446, 350, 422, 1184, 444, 348, 422, 382, 418, 1182, 448, 350, 420, 1182, 446, 350, 420, 384, 418, 1184, 446, 1154, 446, 1154, 446, 350, 420, 1186, 444, 350, 420, 1182, 446, 1154, 446, 1154, 446, 348, 420, 382, 418, 380, 418, 382, 418, 1184, 446, 1154, 446, 350, 420, 1186, 444, 1154, 444, 350, 422, 382, 418, 1182, 446, 350, 420, 382, 420, 1184, 444, 350, 420, 382, 418, 1184, 444, 1156, 446, 350, 420, 1184, 446, 1154, 444, 1156, 444, 352, 420, 1184, 444, 1154, 446, 1154, 446, 1154, 446, 1154, 446, 1152, 446, 350, 420, 1184, 446, 348, 422, 380, 418, 380, 418, 382, 420, 382, 418, 380, 418, 1182, 446, 1154, 446, 1154, 444, 1152, 448, 350, 420, 1182, 446, 1154, 444, 352, 420, 382, 418, 380, 418, 382, 416, 382, 418, 1184, 446, 348, 422, 380, 418, 1184, 444, 350, 420, 1182, 444, 1156, 444, 350, 422, 378, 420, 1180, 446, 1152, 446, 350, 420, 1184, 422, 376, 418, 382, 418, 1182, 442, 1156, 422, 376, 418, 380, 418, 1182, 422}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x90, 0x6F, 0x99, 0x66};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD708F9966 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 26C, Fan: 3 (Med), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1572, 446, 350, 420, 1184, 444, 350, 420, 382, 418, 1186, 444, 350, 420, 1184, 444, 350, 420, 382, 418, 1182, 446, 1154, 444, 1156, 444, 350, 420, 1184, 446, 348, 422, 1182, 448, 1152, 446, 1156, 444, 348, 420, 382, 416, 382, 418, 382, 418, 1184, 446, 1150, 448, 350, 420, 1184, 444, 1154, 444, 350, 420, 382, 418, 1182, 446, 348, 420, 382, 418, 1184, 446, 348, 420, 382, 418, 1184, 446, 1154, 444, 348, 420, 1186, 444, 1154, 446, 1152, 446, 350, 420, 1184, 446, 1152, 448, 1152, 446, 1152, 446, 1154, 446, 1154, 446, 348, 420, 1182, 448, 348, 422, 382, 416, 382, 418, 382, 418, 384, 416, 382, 418, 1184, 444, 1154, 446, 1154, 446, 1156, 442, 348, 422, 382, 418, 382, 418, 1184, 446, 352, 420, 380, 416, 382, 418, 382, 418, 1184, 446, 1152, 448, 1152, 446, 350, 420, 382, 418, 1184, 446, 1154, 444, 350, 420, 382, 418, 1184, 444, 1152, 446, 348, 420, 1184, 444, 352, 420, 382, 418, 1182, 446, 1154, 446, 348, 422, 380, 418, 1184, 446}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x70, 0x8F, 0x99, 0x66};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FD50AF9966 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 26C, Fan: 2 (Low), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3230, 1572, 446, 348, 422, 1182, 446, 348, 422, 380, 418, 1182, 448, 346, 422, 1182, 446, 348, 422, 380, 418, 1182, 446, 1152, 446, 1154, 444, 348, 420, 1182, 448, 346, 422, 1182, 446, 1154, 444, 1152, 446, 348, 422, 380, 418, 380, 418, 380, 418, 1184, 444, 1152, 446, 348, 420, 1182, 446, 1152, 446, 348, 422, 380, 418, 1182, 446, 348, 422, 380, 418, 1182, 444, 348, 422, 380, 418, 1182, 446, 1152, 446, 348, 420, 1182, 446, 1154, 446, 1152, 446, 348, 422, 1184, 446, 1154, 444, 1152, 446, 1152, 446, 1154, 446, 1152, 446, 348, 422, 1180, 446, 348, 422, 380, 418, 380, 418, 380, 418, 380, 418, 380, 418, 1182, 422, 1176, 446, 1152, 422, 1176, 446, 348, 422, 1182, 422, 376, 418, 1182, 422, 374, 418, 380, 418, 380, 418, 380, 418, 1184, 444, 350, 420, 1182, 422, 376, 418, 380, 416, 1182, 422, 1176, 446, 348, 420, 380, 418, 1182, 422, 1176, 422, 376, 418, 1180, 422, 374, 418, 380, 418, 1184, 422, 1176, 422, 376, 416, 382, 418, 1182, 422}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0x50, 0xAF, 0x99, 0x66};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FDD02F9966 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 26C, Fan: 6 (Turbo), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: On, Econo: Off, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1572, 446, 348, 420, 1186, 444, 348, 420, 382, 418, 1184, 446, 350, 420, 1184, 444, 350, 420, 382, 416, 1184, 446, 1154, 444, 1156, 444, 348, 422, 1182, 446, 352, 420, 1186, 444, 1154, 446, 1154, 446, 350, 420, 382, 418, 382, 418, 382, 418, 1184, 444, 1154, 446, 350, 420, 1184, 446, 1154, 444, 350, 420, 382, 418, 1184, 444, 350, 420, 382, 418, 1184, 446, 350, 420, 382, 418, 1184, 446, 1154, 446, 350, 420, 1184, 444, 1154, 444, 1156, 446, 348, 422, 1182, 444, 1154, 446, 1154, 446, 1154, 446, 1154, 446, 1154, 446, 350, 422, 1184, 446, 350, 420, 382, 416, 382, 418, 382, 418, 382, 418, 380, 418, 1182, 444, 1156, 422, 1178, 422, 1176, 422, 378, 418, 1182, 422, 378, 418, 382, 418, 384, 418, 380, 418, 382, 418, 380, 418, 1184, 420, 376, 418, 1182, 422, 1178, 422, 376, 418, 1182, 422, 1178, 422, 376, 418, 382, 418, 1182, 422, 1178, 422, 376, 418, 1184, 422, 376, 418, 382, 418, 1182, 420, 1178, 422, 376, 418, 382, 416, 1184, 422}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0xD0, 0x2F, 0x99, 0x66};

Protocol : MITSUBISHI_HEAVY_88 Code : 0xAD513CD92602FDF00F9966 (88 Bits) Mesg Desc.: Power: On, Mode: 1 (Cool), Temp: 26C, Fan: 7 (Econo), Swing(V): 5 (Low), Swing(H): 0 (Off), Turbo: Off, Econo: On, 3D: Off, Clean: Off uint16_t rawData[179] = {3228, 1572, 446, 350, 420, 1186, 444, 350, 420, 382, 418, 1184, 446, 350, 420, 1184, 444, 350, 420, 382, 418, 1184, 446, 1152, 446, 1154, 446, 348, 420, 1184, 446, 350, 420, 1184, 446, 1154, 444, 1154, 446, 348, 420, 382, 418, 382, 418, 382, 418, 1184, 446, 1154, 446, 350, 420, 1184, 446, 1154, 444, 350, 420, 382, 418, 1184, 444, 348, 420, 382, 418, 1182, 446, 350, 420, 382, 420, 1182, 446, 1154, 446, 350, 420, 1186, 444, 1154, 446, 1154, 444, 352, 420, 1184, 444, 1154, 422, 1178, 444, 1152, 424, 1176, 422, 1176, 424, 374, 418, 1184, 422, 376, 418, 380, 418, 382, 418, 384, 418, 382, 418, 382, 418, 1182, 422, 1178, 422, 1178, 422, 1178, 422, 376, 418, 382, 416, 382, 418, 384, 418, 382, 416, 384, 418, 380, 418, 382, 418, 1184, 422, 1178, 422, 1176, 422, 1178, 422, 376, 418, 1182, 422, 1178, 422, 376, 416, 382, 418, 1184, 422, 1178, 422, 376, 416, 1182, 422, 376, 418, 382, 418, 1182, 424, 1176, 424, 374, 418, 380, 418, 1184, 426}; // MITSUBISHI_HEAVY_88 uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0xF0, 0x0F, 0x99, 0x66};`

Venelin

kodjo80 avatar Sep 27 '23 18:09 kodjo80

Can you please provide the minimal working code example that demonstrates the bug/your issue please? e.g. https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/TurnOnMitsubishiHeavyAc/TurnOnMitsubishiHeavyAc.ino

crankyoldgit avatar Sep 27 '23 20:09 crankyoldgit

Hm... it seems that with the TurnOnMitsubishiHeavyAc.ino example code the codes are produced exactly as they should. Maybe my implementation is not working properly. I will continue with debugging.

I am baffled how did you manage to compile such a complex library. Thank you for your work, and sorry for wasting your time.

Best wishes Venelin.

kodjo80 avatar Sep 28 '23 05:09 kodjo80

it seems that with the TurnOnMitsubishiHeavyAc.ino example code the codes are produced exactly as they should.

Did you change the code appropriately to 88 and not the 152 stuff? e.g. All the constants and the object declaration/instantiation. e.g. https://github.com/crankyoldgit/IRremoteESP8266/blob/a295f87e067bc8ccb22523ef035a05ea11d65e49/examples/TurnOnMitsubishiHeavyAc/TurnOnMitsubishiHeavyAc.ino#L32

Maybe my implementation is not working properly.

That is quite likely.

Have you tried replaying the rawData using sendRaw See: e.g.

uint16_t rawData[179] = {3228, 1572, 446, 350, 420, 1186, 444, 350, 420, 382, 418, 1184, 446, 350, 420, 1184, 444, 350, 420, 382, 418, 1184, 446, 1152, 446, 1154, 446, 348, 420, 1184, 446, 350, 420, 1184, 446, 1154, 444, 1154, 446, 348, 420, 382, 418, 382, 418, 382, 418, 1184, 446, 1154, 446, 350, 420, 1184, 446, 1154, 444, 350, 420, 382, 418, 1184, 444, 348, 420, 382, 418, 1182, 446, 350, 420, 382, 420, 1182, 446, 1154, 446, 350, 420, 1186, 444, 1154, 446, 1154, 444, 352, 420, 1184, 444, 1154, 422, 1178, 444, 1152, 424, 1176, 422, 1176, 424, 374, 418, 1184, 422, 376, 418, 380, 418, 382, 418, 384, 418, 382, 418, 382, 418, 1182, 422, 1178, 422, 1178, 422, 1178, 422, 376, 418, 382, 416, 382, 418, 384, 418, 382, 416, 384, 418, 380, 418, 382, 418, 1184, 422, 1178, 422, 1176, 422, 1178, 422, 376, 418, 1182, 422, 1178, 422, 376, 416, 382, 418, 1184, 422, 1178, 422, 376, 416, 1182, 422, 376, 418, 382, 418, 1182, 424, 1176, 424, 374, 418, 380, 418, 1184, 426}; // MITSUBISHI_HEAVY_88
IRsend irsend(IR_LED_GPIO);
irsend.sendRaw(rawData, 179, 38);  // Send a raw data capture at 38kHz.

and state via setRaw() & send();

IRMitsubishiHeavy88Ac ac(IR_LED_GPIO);
uint8_t state[11] = {0xAD, 0x51, 0x3C, 0xD9, 0x26, 0x02, 0xFD, 0xF0, 0x0F, 0x99, 0x66};

ac.setRaw(state);
ac.send();

I am baffled how did you manage to compile such a complex library.

It takes some effort and automation. ;-)

crankyoldgit avatar Sep 28 '23 07:09 crankyoldgit