Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please add support for Midea(RN08A/BG) #821

Closed
hassbian-ABC opened this issue Jul 17, 2019 · 32 comments
Closed

please add support for Midea(RN08A/BG) #821

hassbian-ABC opened this issue Jul 17, 2019 · 32 comments
Assignees

Comments

@hassbian-ABC
Copy link

Midea -RN08ABG.txt

@hassbian-ABC
Copy link
Author

When I press the remote control off, temp becomes 255.
When I press the remote control to swing, it also becomes 255
Swing (V) and swing (H) are auto.
But my remote control is swing (H)

@1043717432
Copy link



Timestamp : 000089.318
Encoding  : COOLIX
Code      : B21FC8 (24 bits)
Mesg Desc.: Power: On, Mode: 2 (AUTO), Fan: 0 (AUTO0), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:

+  4374, -  4462,    +   480, -  1704,    +   478, -   602,   +   476, -  1704,
+   478, -  1702,    +   480, -   604,    +   474, -   600,   +   478, -  1704,
+   478, -   602,    +   476, -   602,    +   476, -  1702,    +   480, -   600,
+   476, -   604,    +   474, -  1704,    +   480, -  1704,    +   480, -   602,
+   476, -  1702,    +   480, -   602,    +   476, -   600,    +   476, -   602,
+   476, -  1702,    +   482, -  1700,    +   480, -  1704,    +   480, -  1704,
+   478, -  1704,    +   478, -  1704,    +   480, -  1704,    +   478, -  1704,
+   480, -   602,    +   476, -   602,    +   476, -   602,    +   476, -   602,
+   476, -   600,    +   476, -  1704,    +   478, -  1702,    +   478, -   602,
+   478, -   626,    +   450, -  1702,    +   480, -   602,    +   478, -   600,
+   474, -   602,    +   476, -   600,    +   476, -   602,    +   476, -  1704,
+   478, -  1704,    +   480, -   626,    +   452, -  1704,    +   478, -  1702,
+   480, -  1704,    +   478, -  5280,    +  4376, -  4464,    +   478, -  1704,
+   478, -   600,    +   480, -  1700,    +   478, -  1704,    +   480, -   600,
+   476, -   602,    +   478, -  1700,    +   480, -   602,    +   478, -   600,
+   476, -  1704,    +   478, -   602,    +   476, -   602,    +   476, -  1704,
+   478, -  1704,    +   478, -   604,    +   474, -  1702,    +   480, -   600,
+   478, -   600,    +   476, -   602,    +   476, -  1702,    +   480, -  1704,
+   480, -  1702,    +   480, -  1704,    +   480, -  1702,    +   478, -  1704,
+   482, -  1700,    +   480, -  1704,    +   478, -   602,    +   476, -   602,
+   482, -   596,    +   476, -   626,    +   452, -   602,    +   476, -  1702,
+   480, -  1702,    +   480, -   600,    +   476, -   602,    +   476, -  1702,
+   480, -   602,    +   476, -   600,    +   478, -   602,    +   476, -   600,
+   476, -   600,    +   478, -  1704,    +   478, -  1704,    +   478, -   602,
+   476, -  1704,    +   478, -  1702,    +   480, -  1702,    +   480

uint16_t rawData[199] = {4374, 4462,  480, 1704,  478, 602,  476, 1704,  478, 1702,  
480, 604,  474, 600,  478, 1704,  478, 602,  476, 602,  476, 1702,  480, 600,  476, 
604,  474, 1704,  480, 1704,  480, 602,  476, 1702,  480, 602,  476, 600,  476, 602,  
476, 1702,  482, 1700,  480, 1704,  480, 1704,  478, 1704,  478, 1704,  480, 1704,  
478, 1704,  480, 602,  476, 602,  476, 602,  476, 602,  476, 600,  476, 1704,  478, 
1702,  478, 602,  478, 626,  450, 1702,  480, 602,  478, 600,  474, 602,  476, 600,  
476, 602,  476, 1704,  478, 1704,  480, 626,  452, 1704,  478, 1702,  480, 1704,  478, 
5280,  4376, 4464,  478, 1704,  478, 600,  480, 1700,  478, 1704,  480, 600,  476, 602,  
478, 1700,  480, 602,  478, 600,  476, 1704,  478, 602,  476, 602,  476, 1704,  478, 1704,  
478, 604,  474, 1702,  480, 600,  478, 600,  476, 602,  476, 1702,  480, 1704,  480, 1702,  
480, 1704,  480, 1702,  478, 1704,  482, 1700,  480, 1704,  478, 602,  476, 602,  482, 596,  
476, 626,  452, 602,  476, 1702,  480, 1702,  480, 600,  476, 602,  476, 1702,  480, 602,  
476, 600,  478, 602,  476, 600,  476, 600,  478, 1704,  478, 1704,  478, 602,  476, 1704,  
478, 1702,  480, 1702,  480};  // COOLIX B21FC8

uint64_t data = 0xB21FC8;

..................................................................................................................

{mode:auto, power: on, temp: 25, fanspeed: auto, led: on} swingh: on

Timestamp : 001183.168
Encoding  : COOLIX
Code      : B26BE0 (24 bits)
Mesg Desc.: Power: On, Swing: Toggle
Library   : v2.6.2

Raw Timing[199]:
+  4406, -  4434,    +   506, -  1676,    +   506, -   574,    +   504, -  1676,
+   506, -  1676,    +   506, -   572,    +   506, -   572,    +   506, -  1676,
+   506, -   572,    +   506, -   572,    +   506, -  1676,    +   506, -   572,
+   506, -   572,    +   534, -  1646,    +   508, -  1676,    +   508, -   572,
+   506, -  1676,    +   506, -   572,    +   518, -  1664,    +   506, -  1676,
+   504, -   574,    +   478, -  1704,    +   480, -   600,    +   476, -  1704,
+   478, -  1704,    +   478, -  1704,    +   480, -   600,    +   478, -   600,
+   478, -  1702,    +   480, -   600,    +   478, -  1702,    +   480, -   600,
+   476, -   602,    +   476, -  1704,    +   482, -  1702,    +   478, -  1704,
+   480, -   600,    +   476, -   602,    +   476, -   602,    +   510, -   568,
+   476, -   602,    +   478, -   602,    +   476, -   602,    +   476, -   602,
+   476, -  1706,    +   478, -  1704,    +   478, -  1704,    +   478, -  1706,
+   478, -  1704,    +   478, -  5284,    +  4376, -  4462,    +   476, -  1706,
+   476, -   602,    +   476, -  1706,    +   478, -  1704,    +   478, -   602,
+   476, -   600,    +   482, -  1700,    +   480, -   600,    +   482, -   598,
+   476, -  1706,    +   478, -   602,    +   476, -   600,    +   478, -  1702,
+   504, -  1680,    +   480, -   600,    +   478, -  1704,    +   504, -   574,
+   502, -  1680,    +   478, -  1706,    +   478, -   600,    +   478, -  1704,
+   478, -   602,    +   476, -  1704,    +   504, -  1678,    +   506, -  1678,
+   478, -   600,    +   504, -   576,    +   476, -  1704,    +   480, -   598,
+   476, -  1706,    +   478, -   600,    +   476, -   602,    +   476, -  1704,
+   480, -  1704,    +   502, -  1680,    +   478, -   600,    +   476, -   602,
+   476, -   602,    +   476, -   602,    +   476, -   602,    +   476, -   602,
+   476, -   602,    +   476, -   602,    +   476, -  1704,    +   478, -  1706,
+   478, -  1706,    +   476, -  1706,    +   478, -  1704,    +   478


uint16_t rawData[199] = {4406, 4434,  506, 1676,  506, 574,  504, 1676,  506, 1676,  506, 
572,  506, 572,  506, 1676,  506, 572,  506, 572,  506, 1676,  506, 572,  506, 572,  534, 
1646,  508, 1676,  508, 572,  506, 1676,  506, 572,  518, 1664,  506, 1676,  504, 574,  478,
 1704,  480, 600,  476, 1704,  478, 1704,  478, 1704,  480, 600,  478, 600,  478, 1702,  480, 
 600,  478, 1702,  480, 600,  476, 602,  476, 1704,  482, 1702,  478, 1704,  480, 600,  476, 
 602,  476, 602,  510, 568,  476, 602,  478, 602,  476, 602,  476, 602,  476, 1706,  478, 1704, 
 478, 1704,  478, 1706,  478, 1704,  478, 5284,  4376, 4462,  476, 1706,  476, 602,  476, 1706, 
 478, 1704,  478, 602,  476, 600,  482, 1700,  480, 600,  482, 598,  476, 1706,  478, 602,  476,
 600,  478, 1702,  504, 1680,  480, 600,  478, 1704,  504, 574,  502, 1680,  478, 1706,  478, 600, 
 478, 1704,  478, 602,  476, 1704,  504, 1678,  506, 1678,  478, 600,  504, 576,  476, 1704,  480, 598, 
 476, 1706,  478, 600,  476, 602,  476, 1704,  480, 1704,  502, 1680,  478, 600,  476, 602,  476, 602, 
 476, 602,  476, 602,  476, 602,  476, 602,  476, 602,  476, 1704,  478, 1706,  478, 1706,  476, 1706,  478, 1704,  478};  // COOLIX B26BE0

 uint64_t data = 0xB26BE0;
 
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

{mode:auto, power: on, temp: 25, fanspeed: auto, led: on} swingh: off

Timestamp : 001183.168
Encoding  : COOLIX
Code      : B26BE0 (24 bits)
Mesg Desc.: Power: On, Swing: Toggle
Library   : v2.6.2

Raw Timing[199]:
+  4406, -  4434,    +   506, -  1676,    +   506, -   574,    +   504, -  1676,
+   506, -  1676,    +   506, -   572,    +   506, -   572,    +   506, -  1676,
+   506, -   572,    +   506, -   572,    +   506, -  1676,    +   506, -   572,
+   506, -   572,    +   534, -  1646,    +   508, -  1676,    +   508, -   572,
+   506, -  1676,    +   506, -   572,    +   518, -  1664,    +   506, -  1676,
+   504, -   574,    +   478, -  1704,    +   480, -   600,    +   476, -  1704,
+   478, -  1704,    +   478, -  1704,    +   480, -   600,    +   478, -   600,
+   478, -  1702,    +   480, -   600,    +   478, -  1702,    +   480, -   600,
+   476, -   602,    +   476, -  1704,    +   482, -  1702,    +   478, -  1704,
+   480, -   600,    +   476, -   602,    +   476, -   602,    +   510, -   568,
+   476, -   602,    +   478, -   602,    +   476, -   602,    +   476, -   602,
+   476, -  1706,    +   478, -  1704,    +   478, -  1704,    +   478, -  1706,
+   478, -  1704,    +   478, -  5284,    +  4376, -  4462,    +   476, -  1706,
+   476, -   602,    +   476, -  1706,    +   478, -  1704,    +   478, -   602,
+   476, -   600,    +   482, -  1700,    +   480, -   600,    +   482, -   598,
+   476, -  1706,    +   478, -   602,    +   476, -   600,    +   478, -  1702,
+   504, -  1680,    +   480, -   600,    +   478, -  1704,    +   504, -   574,
+   502, -  1680,    +   478, -  1706,    +   478, -   600,    +   478, -  1704,
+   478, -   602,    +   476, -  1704,    +   504, -  1678,    +   506, -  1678,
+   478, -   600,    +   504, -   576,    +   476, -  1704,    +   480, -   598,
+   476, -  1706,    +   478, -   600,    +   476, -   602,    +   476, -  1704,
+   480, -  1704,    +   502, -  1680,    +   478, -   600,    +   476, -   602,
+   476, -   602,    +   476, -   602,    +   476, -   602,    +   476, -   602,
+   476, -   602,    +   476, -   602,    +   476, -  1704,    +   478, -  1706,
+   478, -  1706,    +   476, -  1706,    +   478, -  1704,    +   478


uint16_t rawData[199] = {4406, 4434,  506, 1676,  506, 574,  504, 1676,  506, 1676,  506, 
572,  506, 572,  506, 1676,  506, 572,  506, 572,  506, 1676,  506, 572,  506, 572,  534, 
1646,  508, 1676,  508, 572,  506, 1676,  506, 572,  518, 1664,  506, 1676,  504, 574,  478,
 1704,  480, 600,  476, 1704,  478, 1704,  478, 1704,  480, 600,  478, 600,  478, 1702,  480, 
 600,  478, 1702,  480, 600,  476, 602,  476, 1704,  482, 1702,  478, 1704,  480, 600,  476, 
 602,  476, 602,  510, 568,  476, 602,  478, 602,  476, 602,  476, 602,  476, 1706,  478, 1704, 
 478, 1704,  478, 1706,  478, 1704,  478, 5284,  4376, 4462,  476, 1706,  476, 602,  476, 1706, 
 478, 1704,  478, 602,  476, 600,  482, 1700,  480, 600,  482, 598,  476, 1706,  478, 602,  476,
 600,  478, 1702,  504, 1680,  480, 600,  478, 1704,  504, 574,  502, 1680,  478, 1706,  478, 600, 
 478, 1704,  478, 602,  476, 1704,  504, 1678,  506, 1678,  478, 600,  504, 576,  476, 1704,  480, 598, 
 476, 1706,  478, 600,  476, 602,  476, 1704,  480, 1704,  502, 1680,  478, 600,  476, 602,  476, 602, 
 476, 602,  476, 602,  476, 602,  476, 602,  476, 602,  476, 1704,  478, 1706,  478, 1706,  476, 1706,  478, 1704,  478};  // COOLIX B26BE0

 uint64_t data = 0xB26BE0;
 
 .....................................................................................................................................................
 
 {mode:auto, power: on, temp: 25, fanspeed: auto, } Led: Toggle
 
 Timestamp : 001711.563
Encoding  : COOLIX
Code      : B5F5A5 (24 bits)
Mesg Desc.: Power: On, Led: Toggle
Library   : v2.6.2

Raw Timing[199]:
+  4378, -  4464,    +   478, -  1704,    +   478, -   602,    +   476, -  1704,
+   480, -  1704,    +   480, -   600,    +   478, -  1702,    +   480, -   600,
+   476, -  1704,    +   478, -   600,    +   478, -  1702,    +   480, -   600,
+   476, -   602,    +   476, -  1702,    +   480, -   600,    +   478, -  1702,
+   480, -   600,    +   478, -  1702,    +   480, -  1702,    +   480, -  1702,
+   480, -  1702,    +   482, -   600,    +   478, -  1702,    +   482, -   600,
+   478, -  1702,    +   480, -   598,    +   480, -   600,    +   478, -   600,
+   478, -   598,    +   480, -  1700,    +   480, -   600,    +   480, -  1700,
+   482, -   598,    +   482, -  1700,    +   480, -   600,    +   480, -  1702,
+   480, -   598,    +   480, -   598,    +   484, -  1698,    +   482, -   598,
+   478, -  1702,    +   480, -   598,    +   480, -  1702,    +   482, -   598,
+   478, -  1702,    +   480, -  1702,    +   484, -   598,    +   478, -  1702,
+   480, -   600,    +   478, -  5280,    +  4378, -  4460,    +   480, -  1704,
+   480, -   600,    +   482, -  1700,    +   480, -  1702,    +   480, -   600,
+   478, -  1702,    +   480, -   600,    +   478, -  1702,    +   480, -   600,
+   478, -  1702,    +   480, -   600,    +   478, -   600,    +   478, -  1702,
+   484, -   598,    +   478, -  1702,    +   508, -   572,    +   478, -  1702,
+   508, -  1674,    +   480, -  1702,    +   480, -  1704,    +   480, -   600,
+   504, -  1676,    +   506, -   574,    +   504, -  1676,    +   506, -   574,
+   506, -   572,    +   504, -   574,    +   504, -   572,    +   506, -  1672,
+   512, -   572,    +   504, -  1674,    +   508, -   572,    +   506, -  1676,
+   506, -   574,    +   506, -  1674,    +   508, -   572,    +   506, -   572,
+   506, -  1674,    +   506, -   574,    +   506, -  1676,    +   506, -   574,
+   504, -  1678,    +   504, -   574,    +   504, -  1678,    +   504, -  1678,
+   506, -   574,    +   504, -  1678,    +   480, -   600,    +   478

uint16_t rawData[199] = {4378, 4464,  478, 1704,  478, 602,  476, 1704,  480, 1704,  
480, 600,  478, 1702,  480, 600,  476, 1704,  478, 600,  478, 1702,  480, 600,  476,
 602,  476, 1702,  480, 600,  478, 1702,  480, 600,  478, 1702,  480, 1702,  480, 1702,
 480, 1702,  482, 600,  478, 1702,  482, 600,  478, 1702,  480, 598,  480, 600,  478, 600,
 478, 598,  480, 1700,  480, 600,  480, 1700,  482, 598,  482, 1700,  480, 600,  480, 1702,
 480, 598,  480, 598,  484, 1698,  482, 598,  478, 1702,  480, 598,  480, 1702,  482, 598, 
 478, 1702,  480, 1702,  484, 598,  478, 1702,  480, 600,  478, 5280,  4378, 4460,  480, 1704, 
 480, 600,  482, 1700,  480, 1702,  480, 600,  478, 1702,  480, 600,  478, 1702,  480, 600,  478, 
 1702,  480, 600,  478, 600,  478, 1702,  484, 598,  478, 1702,  508, 572,  478, 1702,  508, 1674, 
 480, 1702,  480, 1704,  480, 600,  504, 1676,  506, 574,  504, 1676,  506, 574,  506, 572,  504, 574, 
 504, 572,  506, 1672,  512, 572,  504, 1674,  508, 572,  506, 1676,  506, 574,  506, 1674,  508, 572, 
 506, 572,  506, 1674,  506, 574,  506, 1676,  506, 574,  504, 1678,  504, 574,  504, 1678,  504, 1678,  
 506, 574,  504, 1678,  480, 600,  478};  // COOLIX B5F5A5

 uint64_t data = 0xB5F5A5;

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

mode:cool, power: on, temp: 25, fanspeed: auto,

Timestamp : 002001.899
Encoding  : COOLIX
Code      : B2BFC0 (24 bits)
Mesg Desc.: Power: On, Mode: 0 (COOL), Fan: 5 (AUTO), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:
+  4348, -  4492,    +   476, -  1706,    +   474, -   606,    +   446, -  1734,
+   448, -  1736,    +   446, -   632,    +   448, -   630,    +   448, -  1734,
+   448, -   630,    +   448, -   632,    +   446, -  1734,    +   450, -   630,
+   446, -   630,    +   474, -  1706,    +   450, -  1732,    +   448, -   630,
+   446, -  1736,    +   448, -  1734,    +   448, -   630,    +   448, -  1734,
+   448, -  1734,    +   450, -  1734,    +   448, -  1734,    +   450, -  1732,
+   450, -  1732,    +   450, -   630,    +   448, -  1734,    +   448, -   630,
+   448, -   630,    +   448, -   630,    +   446, -   632,    +   446, -   632,
+   474, -   604,    +   446, -  1734,    +   448, -  1734,    +   450, -   630,
+   448, -   632,    +   444, -   632,    +   446, -   632,    +   446, -   632,
+   444, -   630,    +   448, -   630,    +   472, -   606,    +   448, -  1734,
+   448, -  1734,    +   448, -  1734,    +   450, -  1734,    +   448, -  1734,
+   448, -  1734,    +   450, -  5312,    +  4348, -  4492,    +   450, -  1734,
+   448, -   630,    +   448, -  1734,    +   448, -  1734,    +   448, -   630,
+   446, -   632,    +   448, -  1732,    +   448, -   632,    +   446, -   632,
+   446, -  1734,    +   448, -   630,    +   448, -   656,    +   422, -  1734,
+   450, -  1734,    +   448, -   632,    +   446, -  1734,    +   448, -  1734,
+   446, -   632,    +   446, -  1736,    +   446, -  1736,    +   448, -  1734,
+   448, -  1734,    +   450, -  1732,    +   450, -  1736,    +   446, -   632,
+   448, -  1734,    +   448, -   654,    +   448, -   604,    +   448, -   654,
+   422, -   630,    +   446, -   632,    +   446, -   630,    +   448, -  1734,
+   448, -  1734,    +   448, -   656,    +   422, -   630,    +   448, -   656,
+   450, -   604,    +   446, -   630,    +   446, -   632,    +   444, -   632,
+   446, -   632,    +   446, -  1734,    +   448, -  1734,    +   448, -  1736,
+   450, -  1734,    +   446, -  1736,    +   474, -  1708,    +   450

uint16_t rawData[199] = {4348, 4492,  476, 1706,  474, 606,  446, 1734,  448, 1736,  
446, 632,  448, 630,  448, 1734,  448, 630,  448, 632,  446, 1734,  450, 630,  446, 
630,  474, 1706,  450, 1732,  448, 630,  446, 1736,  448, 1734,  448, 630,  448, 1734,  
448, 1734,  450, 1734,  448, 1734,  450, 1732,  450, 1732,  450, 630,  448, 1734,  448, 
630,  448, 630,  448, 630,  446, 632,  446, 632,  474, 604,  446, 1734,  448, 1734,  450,
 630,  448, 632,  444, 632,  446, 632,  446, 632,  444, 630,  448, 630,  472, 606,  448, 
 1734,  448, 1734,  448, 1734,  450, 1734,  448, 1734,  448, 1734,  450, 5312,  4348, 4492, 
 450, 1734,  448, 630,  448, 1734,  448, 1734,  448, 630,  446, 632,  448, 1732,  448, 632, 
 446, 632,  446, 1734,  448, 630,  448, 656,  422, 1734,  450, 1734,  448, 632,  446, 1734, 
 448, 1734,  446, 632,  446, 1736,  446, 1736,  448, 1734,  448, 1734,  450, 1732,  450, 1736, 
 446, 632,  448, 1734,  448, 654,  448, 604,  448, 654,  422, 630,  446, 632,  446, 630,  448,
 1734,  448, 1734,  448, 656,  422, 630,  448, 656,  450, 604,  446, 630,  446, 632,  444, 632, 
 446, 632,  446, 1734,  448, 1734,  448, 1736,  450, 1734,  446, 1736,  474, 1708,  450};  // COOLIX B2BFC0

 uint64_t data = 0xB2BFC0;
 
 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
 
 Power: On, Mode: COOL, Fan: min, Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored
 
 Timestamp : 002181.884
Encoding  : UNKNOWN
Code      : 95356358 (100 bits)
Library   : v2.6.2

Raw Timing[199]:
+  4348, -  4490,    +   476, -  1710,    +   448, -   630,    +   448, -  1734,
+   472, -  1710,    +   448, -   630,    +   446, -   630,    +   448, -  1734,
+   450, -   630,    +   448, -   630,    +   448, -  1734,    +   448, -   632,
+   446, -   632,    +   448, -  1734,    +   448, -  1734,    +   448, -   634,
+   446, -  1734,    +   450, -  1734,    +   450, -   630,    +   446, -   630,
+   422, -  1758,    +   450, -  1734,    +   448, -  1732,    +   450, -  1736,
+   448, -  1734,    +   448, -   632,    +   444, -  1736,    +   448, -  1734,
+   450, -   632,    +   446, -   656,    +   422, -   630,    +   446, -   632,
+   446, -   630,    +   446, -  1736,    +   448, -  1734,    +   448, -   632,
+   446, -   630,    +   448, -   632,    +   446, -   630,    +   448, -   632,
+   446, -   656,    +   420, -   632,    +   446, -   632,    +   446, -  1736,
+   448, -  1734,    +   448, -  1734,    +   448, -  1734,    +   450, -  1732,
+   450, -  1734,    +   450, -  5310,    +  4350, -  4492,    +   448, -  1734,
+   450, -   632,    +   444, -  1736,    +   448, -  1734,    +   448, -   630,
+   446, -   632,    +   446, -  1736,    +   448, -   630,    +   448, -   632,
+   446, -  1734,    +   448, -   632,    +   476, -   602,    +   448, -  1732,
+   448, -  1736,    +   476, -   602,    +   448, -  1734,    +   450, -  1732,
+   450, -   630,    +   446, -   632,    +   446, -  1734,    +   450, -  1734,
+   448, -  1734,    +   448, -  1736,    +   448, -  1732,    +   450, -   628,
+   448, -  1736,    +   448, -  1734,    +   448, -   632,    +   446, -   630,
+   474, -   604,    +   448, -   630,    +   448, -   630,    +   446, -  1736,
+   448, -  1732,    +   450, -   630,    +   446, -   632,    +   448, -   630,
+   446, -   656,    +   422, -   630,    +   448, -   630,    +   448, -   630,
+   446, -   632,    +   448, -  1734,    +   450, -  1732,    +   448, -  1736,
+   448, -  1734,    +   450, -  1734,    +   448, -  1736,    +   446


uint16_t rawData[199] = {4348, 4490,  476, 1710,  448, 630,  448, 1734,  472, 1710, 
 448, 630,  446, 630,  448, 1734,  450, 630,  448, 630,  448, 1734,  448, 632,  446, 
 632,  448, 1734,  448, 1734,  448, 634,  446, 1734,  450, 1734,  450, 630,  446, 630, 
 422, 1758,  450, 1734,  448, 1732,  450, 1736,  448, 1734,  448, 632,  444, 1736,  448,
 1734,  450, 632,  446, 656,  422, 630,  446, 632,  446, 630,  446, 1736,  448, 1734,  448,
 632,  446, 630,  448, 632,  446, 630,  448, 632,  446, 656,  420, 632,  446, 632,  446, 1736, 
 448, 1734,  448, 1734,  448, 1734,  450, 1732,  450, 1734,  450, 5310,  4350, 4492,  448, 1734, 
 450, 632,  444, 1736,  448, 1734,  448, 630,  446, 632,  446, 1736,  448, 630,  448, 632,  446, 
 1734,  448, 632,  476, 602,  448, 1732,  448, 1736,  476, 602,  448, 1734,  450, 1732,  450, 630,  
 446, 632,  446, 1734,  450, 1734,  448, 1734,  448, 1736,  448, 1732,  450, 628,  448, 1736,  448, 
 1734,  448, 632,  446, 630,  474, 604,  448, 630,  448, 630,  446, 1736,  448, 1732,  450, 630,  446, 
 632,  448, 630,  446, 656,  422, 630,  448, 630,  448, 630,  446, 632,  448, 1734,  450, 1732,  448, 
 1736,  448, 1734,  450, 1734,  448, 1736,  446};  // UNKNOWN 95356358
 
 
 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
 
 mode:cool, power: on, temp: 25, fanspeed: medium,
 
 Timestamp : 002426.385
Encoding  : COOLIX
Code      : B25FC0 (24 bits)
Mesg Desc.: Power: On, Mode: 0 (COOL), Fan: 2 (MED), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:
+  4348, -  4490,    +   448, -  1734,    +   448, -   632,    +   446, -  1734,
+   448, -  1734,    +   450, -   630,    +   448, -   630,    +   448, -  1734,
+   450, -   630,    +   446, -   630,    +   448, -  1734,    +   450, -   630,
+   448, -   630,    +   448, -  1734,    +   448, -  1734,    +   450, -   632,
+   446, -  1732,    +   450, -   628,    +   450, -  1732,    +   448, -   632,
+   446, -  1734,    +   450, -  1734,    +   448, -  1734,    +   448, -  1734,
+   448, -  1736,    +   450, -  1732,    +   450, -   630,    +   448, -  1732,
+   476, -   604,    +   448, -   630,    +   446, -   630,    +   448, -   630,
+   448, -   630,    +   450, -  1732,    +   450, -  1734,    +   450, -   628,
+   448, -   630,    +   448, -   628,    +   446, -   632,    +   450, -   628,
+   448, -   630,    +   448, -   632,    +   448, -   630,    +   448, -  1732,
+   450, -  1732,    +   450, -  1734,    +   450, -  1734,    +   450, -  1734,
+   448, -  1734,    +   450, -  5312,    +  4348, -  4492,    +   450, -  1734,
+   448, -   630,    +   448, -  1734,    +   446, -  1736,    +   448, -   632,
+   446, -   630,    +   448, -  1732,    +   448, -   630,    +   448, -   630,
+   448, -  1734,    +   450, -   630,    +   446, -   630,    +   448, -  1734,
+   450, -  1734,    +   450, -   630,    +   448, -  1734,    +   450, -   630,
+   448, -  1734,    +   474, -   604,    +   448, -  1732,    +   450, -  1732,
+   450, -  1734,    +   450, -  1732,    +   450, -  1734,    +   448, -  1734,
+   448, -   630,    +   448, -  1736,    +   448, -   630,    +   448, -   628,
+   450, -   630,    +   446, -   630,    +   424, -   654,    +   448, -  1734,
+   450, -  1736,    +   448, -   630,    +   446, -   632,    +   446, -   632,
+   446, -   632,    +   448, -   630,    +   448, -   630,    +   448, -   630,
+   450, -   630,    +   448, -  1734,    +   448, -  1734,    +   450, -  1734,
+   450, -  1734,    +   450, -  1734,    +   450, -  1732,    +   448

uint16_t rawData[199] = {4348, 4490,  448, 1734,  448, 632,  446, 1734,  448, 1734,  
450, 630,  448, 630,  448, 1734,  450, 630,  446, 630,  448, 1734,  450, 630,  448, 630,  
448, 1734,  448, 1734,  450, 632,  446, 1732,  450, 628,  450, 1732,  448, 632,  446, 1734, 
 450, 1734,  448, 1734,  448, 1734,  448, 1736,  450, 1732,  450, 630,  448, 1732,  476, 604, 
 448, 630,  446, 630,  448, 630,  448, 630,  450, 1732,  450, 1734,  450, 628,  448, 630,  448, 
 628,  446, 632,  450, 628,  448, 630,  448, 632,  448, 630,  448, 1732,  450, 1732,  450, 1734, 
 450, 1734,  450, 1734,  448, 1734,  450, 5312,  4348, 4492,  450, 1734,  448, 630,  448, 1734, 
 446, 1736,  448, 632,  446, 630,  448, 1732,  448, 630,  448, 630,  448, 1734,  450, 630,  446, 
 630,  448, 1734,  450, 1734,  450, 630,  448, 1734,  450, 630,  448, 1734,  474, 604,  448, 1732, 
 450, 1732,  450, 1734,  450, 1732,  450, 1734,  448, 1734,  448, 630,  448, 1736,  448, 630,  448, 
 628,  450, 630,  446, 630,  424, 654,  448, 1734,  450, 1736,  448, 630,  446, 632,  446, 632,  446, 
 632,  448, 630,  448, 630,  448, 630,  450, 630,  448, 1734,  448, 1734,  450, 1734,  450, 1734,  450,
 1734,  450, 1732,  448};  // COOLIX B25FC0

 uint64_t data = 0xB25FC0;

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

mode:cool, power: on, temp: 25, fanspeed: max,

Timestamp : 002746.413
Encoding  : COOLIX
Code      : B23FC0 (24 bits)
Mesg Desc.: Power: On, Mode: 0 (COOL), Fan: 1 (MAX), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:
+  4404, -  4436,    +   506, -  1676,    +   504, -   574,    +   504, -  1678,
+   504, -  1678,    +   508, -   574,    +   502, -   574,    +   504, -  1678,
+   504, -   574,    +   478, -   598,    +   504, -  1678,    +   506, -   574,
+   478, -   600,    +   502, -  1678,    +   508, -  1674,    +   506, -   574,
+   502, -  1678,    +   506, -   574,    +   502, -   576,    +   510, -  1670,
+   504, -  1678,    +   506, -  1678,    +   480, -  1704,    +   506, -  1678,
+   504, -  1676,    +   480, -  1704,    +   516, -  1666,    +   504, -   576,
+   478, -   600,    +   504, -   574,    +   478, -   600,    +   504, -   574,
+   478, -   600,    +   504, -  1678,    +   506, -  1676,    +   508, -   572,
+   476, -   600,    +   502, -   576,    +   504, -   574,    +   502, -   576,
+   504, -   574,    +   504, -   574,    +   478, -   600,    +   502, -  1678,
+   506, -  1678,    +   504, -  1680,    +   510, -  1674,    +   506, -  1678,
+   504, -  1678,    +   480, -  5282,    +  4378, -  4462,    +   506, -  1676,
+   480, -   600,    +   478, -  1704,    +   504, -  1678,    +   478, -   602,
+   502, -   574,    +   504, -  1678,    +   480, -   600,    +   478, -   600,
+   504, -  1678,    +   480, -   600,    +   476, -   600,    +   478, -  1702,
+   480, -  1702,    +   480, -   600,    +   502, -  1678,    +   504, -   574,
+   478, -   600,    +   478, -  1702,    +   506, -  1678,    +   506, -  1678,
+   480, -  1702,    +   506, -  1676,    +   506, -  1676,    +   504, -  1680,
+   506, -  1678,    +   504, -   576,    +   478, -   600,    +   506, -   572,
+   480, -   600,    +   478, -   600,    +   502, -   574,    +   504, -  1678,
+   506, -  1676,    +   504, -   576,    +   478, -   598,    +   478, -   600,
+   478, -   600,    +   478, -   600,    +   478, -   600,    +   478, -   600,
+   502, -   574,    +   504, -  1678,    +   478, -  1702,    +   480, -  1702,
+   480, -  1702,    +   506, -  1678,    +   480, -  1702,    +   508

uint16_t rawData[199] = {4404, 4436,  506, 1676,  504, 574,  504, 1678,  504, 1678,
  508, 574,  502, 574,  504, 1678,  504, 574,  478, 598,  504, 1678,  506, 574,  478,
  600,  502, 1678,  508, 1674,  506, 574,  502, 1678,  506, 574,  502, 576,  510, 1670, 
  504, 1678,  506, 1678,  480, 1704,  506, 1678,  504, 1676,  480, 1704,  516, 1666,  504, 
  576,  478, 600,  504, 574,  478, 600,  504, 574,  478, 600,  504, 1678,  506, 1676,  508,
  572,  476, 600,  502, 576,  504, 574,  502, 576,  504, 574,  504, 574,  478, 600,  502, 
  1678,  506, 1678,  504, 1680,  510, 1674,  506, 1678,  504, 1678,  480, 5282,  4378, 4462, 
  506, 1676,  480, 600,  478, 1704,  504, 1678,  478, 602,  502, 574,  504, 1678,  480, 600,  
  478, 600,  504, 1678,  480, 600,  476, 600,  478, 1702,  480, 1702,  480, 600,  502, 1678,  
  504, 574,  478, 600,  478, 1702,  506, 1678,  506, 1678,  480, 1702,  506, 1676,  506, 1676, 
  504, 1680,  506, 1678,  504, 576,  478, 600,  506, 572,  480, 600,  478, 600,  502, 574,  504,
  1678,  506, 1676,  504, 576,  478, 598,  478, 600,  478, 600,  478, 600,  478, 600,  478, 600, 
  502, 574,  504, 1678,  478, 1702,  480, 1702,  480, 1702,  506, 1678,  480, 1702,  508};  // COOLIX B23FC0

  uint64_t data = 0xB23FC0;
  
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

Power: On, Mode: DRY, Fan: AUTO, Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored

Timestamp : 003020.110
Encoding  : UNKNOWN
Code      : A331D580 (100 bits)
Library   : v2.6.2

Raw Timing[199]:
+  4348, -  4490,    +   450, -  1734,    +   448, -   630,    +   448, -  1734,
+   448, -  1736,    +   448, -   630,    +   448, -   630,    +   478, -  1704,
+   450, -   630,    +   446, -   630,    +   448, -  1732,    +   448, -   630,
+   448, -   630,    +   448, -  1732,    +   450, -  1734,    +   448, -   632,
+   448, -  1734,    +   450, -   630,    +   446, -   630,    +   448, -   630,
+   448, -  1734,    +   448, -  1734,    +   448, -  1734,    +   474, -  1708,
+   448, -  1734,    +   448, -  1736,    +   448, -  1736,    +   448, -  1736,
+   446, -   632,    +   448, -   632,    +   446, -   632,    +   446, -   630,
+   446, -   632,    +   424, -  1758,    +   450, -  1732,    +   426, -   654,
+   448, -   630,    +   450, -   630,    +   446, -  1734,    +   450, -   630,
+   424, -   652,    +   446, -   634,    +   446, -   630,    +   446, -  1734,
+   450, -  1734,    +   426, -  1756,    +   448, -   630,    +   448, -  1734,
+   426, -  1758,    +   450, -  5312,    +  4348, -  4492,    +   450, -  1734,
+   448, -   630,    +   448, -  1734,    +   450, -  1734,    +   450, -   630,
+   446, -   632,    +   448, -  1734,    +   448, -   630,    +   478, -   600,
+   448, -  1734,    +   448, -   630,    +   448, -   630,    +   448, -  1734,
+   448, -  1734,    +   426, -   654,    +   448, -  1734,    +   448, -   632,
+   448, -   630,    +   448, -   630,    +   448, -  1732,    +   448, -  1734,
+   450, -  1734,    +   450, -  1734,    +   450, -  1734,    +   448, -  1734,
+   476, -  1708,    +   448, -  1734,    +   448, -   630,    +   446, -   630,
+   448, -   630,    +   448, -   630,    +   448, -   630,    +   448, -  1734,
+   448, -  1734,    +   478, -   602,    +   472, -   604,    +   448, -   630,
+   448, -  1734,    +   448, -   630,    +   448, -   630,    +   448, -   630,
+   448, -   630,    +   448, -  1734,    +   448, -  1734,    +   448, -  1734,
+   448, -   632,    +   448, -  1734,    +   450, -  1734,    +   448

uint16_t rawData[199] = {4348, 4490,  450, 1734,  448, 630,  448, 1734,  448, 1736, 
 448, 630,  448, 630,  478, 1704,  450, 630,  446, 630,  448, 1732,  448, 630,  448, 
 630,  448, 1732,  450, 1734,  448, 632,  448, 1734,  450, 630,  446, 630,  448, 630, 
 448, 1734,  448, 1734,  448, 1734,  474, 1708,  448, 1734,  448, 1736,  448, 1736,  
 448, 1736,  446, 632,  448, 632,  446, 632,  446, 630,  446, 632,  424, 1758,  450,
 1732,  426, 654,  448, 630,  450, 630,  446, 1734,  450, 630,  424, 652,  446, 634,
 446, 630,  446, 1734,  450, 1734,  426, 1756,  448, 630,  448, 1734,  426, 1758,  
 450, 5312,  4348, 4492,  450, 1734,  448, 630,  448, 1734,  450, 1734,  450, 630, 
 446, 632,  448, 1734,  448, 630,  478, 600,  448, 1734,  448, 630,  448, 630,  448,
 1734,  448, 1734,  426, 654,  448, 1734,  448, 632,  448, 630,  448, 630,  448, 1732, 
 448, 1734,  450, 1734,  450, 1734,  450, 1734,  448, 1734,  476, 1708,  448, 1734,  448,
 630,  446, 630,  448, 630,  448, 630,  448, 630,  448, 1734,  448, 1734,  478, 602,  472,
 604,  448, 630,  448, 1734,  448, 630,  448, 630,  448, 630,  448, 630,  448, 1734,  448,
 1734,  448, 1734,  448, 632,  448, 1734,  450, 1734,  448};  // UNKNOWN A331D580
 
 ........................................................................................................................
 Power: On, Mode: HEAT, Fan: AUTO, Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored


 Timestamp : 003243.750
Encoding  : COOLIX
Code      : B2BFCC (24 bits)
Mesg Desc.: Power: On, Mode: 3 (HEAT), Fan: 5 (AUTO), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:
+  4376, -  4462,    +   478, -  1704,    +   478, -   602,    +   480, -  1700,
+   478, -  1706,    +   478, -   602,    +   476, -   600,    +   478, -  1706,
+   478, -   600,    +   508, -   570,    +   476, -  1704,    +   478, -   602,
+   476, -   602,    +   476, -  1706,    +   478, -  1704,    +   478, -   602,
+   476, -  1704,    +   478, -  1706,    +   476, -   602,    +   476, -  1704,
+   480, -  1704,    +   478, -  1706,    +   478, -  1704,    +   478, -  1704,
+   478, -  1704,    +   478, -   602,    +   480, -  1702,    +   478, -   602,
+   476, -   602,    +   476, -   602,    +   476, -   602,    +   476, -   602,
+   476, -   602,    +   476, -  1704,    +   478, -  1704,    +   478, -   602,
+   476, -   602,    +   476, -  1704,    +   478, -  1706,    +   478, -   602,
+   478, -   600,    +   476, -   602,    +   476, -   602,    +   476, -  1706,
+   478, -  1704,    +   478, -   600,    +   478, -   600,    +   478, -  1704,
+   478, -  1704,    +   478, -  5284,    +  4378, -  4462,    +   504, -  1678,
+   502, -   578,    +   476, -  1704,    +   512, -  1672,    +   482, -   598,
+   476, -   602,    +   476, -  1706,    +   478, -   602,    +   476, -   602,
+   508, -  1674,    +   476, -   602,    +   476, -   602,    +   476, -  1704,
+   476, -  1706,    +   476, -   602,    +   476, -  1706,    +   478, -  1706,
+   476, -   604,    +   474, -  1706,    +   476, -  1706,    +   476, -  1708,
+   476, -  1706,    +   476, -  1706,    +   476, -  1708,    +   476, -   604,
+   474, -  1706,    +   508, -   572,    +   506, -   572,    +   476, -   602,
+   474, -   604,    +   476, -   602,    +   474, -   604,    +   474, -  1708,
+   476, -  1708,    +   474, -   604,    +   474, -   604,    +   474, -  1708,
+   476, -  1708,    +   476, -   602,    +   472, -   606,    +   474, -   604,
+   472, -   604,    +   472, -  1710,    +   474, -  1708,    +   476, -   604,
+   424, -   652,    +   446, -  1736,    +   474, -  1708,    +   446

uint16_t rawData[199] = {4376, 4462,  478, 1704,  478, 602,  480, 1700,  478, 
1706,  478, 602,  476, 600,  478, 1706,  478, 600,  508, 570,  476, 1704,  478,
 602,  476, 602,  476, 1706,  478, 1704,  478, 602,  476, 1704,  478, 1706,  476, 
 602,  476, 1704,  480, 1704,  478, 1706,  478, 1704,  478, 1704,  478, 1704,  478, 
 602,  480, 1702,  478, 602,  476, 602,  476, 602,  476, 602,  476, 602,  476, 602,
 476, 1704,  478, 1704,  478, 602,  476, 602,  476, 1704,  478, 1706,  478, 602, 
 478, 600,  476, 602,  476, 602,  476, 1706,  478, 1704,  478, 600,  478, 600,  478,
 1704,  478, 1704,  478, 5284,  4378, 4462,  504, 1678,  502, 578,  476, 1704,  512,
 1672,  482, 598,  476, 602,  476, 1706,  478, 602,  476, 602,  508, 1674,  476, 602, 
 476, 602,  476, 1704,  476, 1706,  476, 602,  476, 1706,  478, 1706,  476, 604,  474,
 1706,  476, 1706,  476, 1708,  476, 1706,  476, 1706,  476, 1708,  476, 604,  474, 1706,  
 508, 572,  506, 572,  476, 602,  474, 604,  476, 602,  474, 604,  474, 1708,  476, 1708, 
 474, 604,  474, 604,  474, 1708,  476, 1708,  476, 602,  472, 606,  474, 604,  472, 604, 
 472, 1710,  474, 1708,  476, 604,  424, 652,  446, 1736,  474, 1708,  446};  // COOLIX B2BFCC
                                                                      
 uint64_t data = 0xB2BFCC;
 
 ............................................................................................................
 Power: On, Mode: FAN, Fan: AUTO, Zone Follow: Off, Sensor Temp: Ignored
 
 Timestamp : 003425.252
Encoding  : COOLIX
Code      : B2BFE4 (24 bits)
Mesg Desc.: Power: On, Mode: 4 (FAN), Fan: 5 (AUTO), Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:
+  4378, -  4462,    +   478, -  1706,    +   478, -   602,    +   476, -  1704,
+   478, -  1706,    +   478, -   602,    +   476, -   602,    +   476, -  1706,
+   478, -   602,    +   476, -   602,    +   476, -  1706,    +   478, -   602,
+   476, -   602,    +   476, -  1704,    +   478, -  1704,    +   478, -   602,
+   476, -  1706,    +   478, -  1706,    +   478, -   602,    +   476, -  1704,
+   504, -  1680,    +   478, -  1704,    +   478, -  1704,    +   478, -  1706,
+   476, -  1704,    +   478, -   602,    +   476, -  1706,    +   478, -   602,
+   476, -   602,    +   476, -   602,    +   476, -   602,    +   476, -   602,
+   476, -   602,    +   476, -  1704,    +   478, -  1706,    +   476, -  1706,
+   478, -   600,    +   478, -   600,    +   476, -  1706,    +   478, -   600,
+   476, -   602,    +   476, -   602,    +   476, -   602,    +   476, -   602,
+   476, -  1704,    +   478, -  1706,    +   478, -   602,    +   476, -  1704,
+   478, -  1704,    +   478, -  5284,    +  4376, -  4464,    +   478, -  1704,
+   478, -   602,    +   476, -  1706,    +   478, -  1704,    +   478, -   602,
+   476, -   602,    +   476, -  1706,    +   478, -   602,    +   474, -   602,
+   476, -  1706,    +   476, -   602,    +   476, -   602,    +   478, -  1704,
+   476, -  1704,    +   478, -   602,    +   476, -  1704,    +   478, -  1706,
+   478, -   602,    +   476, -  1704,    +   478, -  1706,    +   478, -  1706,
+   478, -  1706,    +   478, -  1704,    +   478, -  1706,    +   478, -   602,
+   474, -  1706,    +   478, -   602,    +   476, -   600,    +   476, -   602,
+   476, -   600,    +   476, -   602,    +   476, -   602,    +   476, -  1704,
+   478, -  1706,    +   478, -  1704,    +   478, -   600,    +   476, -   602,
+   476, -  1706,    +   478, -   602,    +   476, -   602,    +   476, -   600,
+   476, -   602,    +   476, -   602,    +   476, -  1704,    +   478, -  1704,
+   478, -   602,    +   476, -  1704,    +   478, -  1704,    +   478

uint16_t rawData[199] = {4378, 4462,  478, 1706,  478, 602,  476, 1704,  478, 1706,
  478, 602,  476, 602,  476, 1706,  478, 602,  476, 602,  476, 1706,  478, 602,  476, 
  602,  476, 1704,  478, 1704,  478, 602,  476, 1706,  478, 1706,  478, 602,  476, 1704, 
  504, 1680,  478, 1704,  478, 1704,  478, 1706,  476, 1704,  478, 602,  476, 1706,  478,
  602,  476, 602,  476, 602,  476, 602,  476, 602,  476, 602,  476, 1704,  478, 1706,  476,
  1706,  478, 600,  478, 600,  476, 1706,  478, 600,  476, 602,  476, 602,  476, 602,  476,
  602,  476, 1704,  478, 1706,  478, 602,  476, 1704,  478, 1704,  478, 5284,  4376, 4464, 
  478, 1704,  478, 602,  476, 1706,  478, 1704,  478, 602,  476, 602,  476, 1706,  478, 602,
  474, 602,  476, 1706,  476, 602,  476, 602,  478, 1704,  476, 1704,  478, 602,  476, 1704, 
  478, 1706,  478, 602,  476, 1704,  478, 1706,  478, 1706,  478, 1706,  478, 1704,  478, 1706,  
  478, 602,  474, 1706,  478, 602,  476, 600,  476, 602,  476, 600,  476, 602,  476, 602,  476,
  1704,  478, 1706,  478, 1704,  478, 600,  476, 602,  476, 1706,  478, 602,  476, 602,  476, 600, 
  476, 602,  476, 602,  476, 1704,  478, 1704,  478, 602,  476, 1704,  478, 1704,  478};  // COOLIX B2BFE4

  uint64_t data = 0xB2BFE4;
........................................................................................................................
 Power: On, Mode: AUTO, Fan: AUTO, Temp: 26C, Zone Follow: Off, Sensor Temp: Ignored
 

Timestamp : 003618.635
Encoding  : COOLIX
Code      : B21FD8 (24 bits)
Mesg Desc.: Power: On, Mode: 2 (AUTO), Fan: 0 (AUTO0), Temp: 26C, Zone Follow: Off, Sensor Temp: Ignored
Library   : v2.6.2

Raw Timing[199]:
+  4406, -  4434,    +   506, -  1676,    +   506, -   572,    +   506, -  1676,
+   506, -  1678,    +   506, -   572,    +   506, -   572,    +   506, -  1676,
+   508, -   572,    +   504, -   572,    +   546, -  1636,    +   538, -   542,
+   506, -   572,    +   506, -  1676,    +   506, -  1676,    +   546, -   534,
+   504, -  1676,    +   506, -   572,    +   506, -   574,    +   504, -   572,
+   506, -  1676,    +   506, -  1678,    +   504, -  1676,    +   506, -  1676,
+   504, -  1678,    +   512, -  1670,    +   506, -  1676,    +   520, -  1662,
+   510, -   570,    +   476, -   602,    +   478, -   600,    +   478, -   600,
+   478, -   600,    +   478, -  1704,    +   480, -  1702,    +   504, -   576,
+   478, -  1704,    +   480, -  1702,    +   480, -   600,    +   478, -   600,
+   476, -   600,    +   478, -   600,    +   478, -   600,    +   478, -  1702,
+   480, -   600,    +   476, -   600,    +   478, -  1702,    +   480, -  1702,
+   480, -  1704,    +   478, -  5282,    +  4376, -  4462,    +   478, -  1704,
+   478, -   600,    +   476, -  1704,    +   478, -  1704,    +   480, -   600,
+   478, -   602,    +   476, -  1704,    +   478, -   602,    +   476, -   602,
+   476, -  1706,    +   478, -   602,    +   476, -   602,    +   476, -  1706,
+   476, -  1706,    +   478, -   600,    +   476, -  1706,    +   478, -   602,
+   500, -   576,    +   508, -   570,    +   476, -  1706,    +   478, -  1706,
+   502, -  1678,    +   512, -  1672,    +   476, -  1706,    +   476, -  1706,
+   476, -  1706,    +   476, -  1706,    +   476, -   602,    +   474, -   604,
+   474, -   604,    +   506, -   570,    +   476, -   602,    +   476, -  1706,
+   476, -  1706,    +   476, -   604,    +   474, -  1706,    +   478, -  1706,
+   478, -   602,    +   476, -   602,    +   474, -   604,    +   474, -   604,
+   474, -   602,    +   476, -  1706,    +   476, -   602,    +   474, -   604,
+   474, -  1708,    +   474, -  1708,    +   476, -  1706,    +   476

uint16_t rawData[199] = {4406, 4434,  506, 1676,  506, 572,  506, 1676,  506, 1678,  
506, 572,  506, 572,  506, 1676,  508, 572,  504, 572,  546, 1636,  538, 542,  506, 
572,  506, 1676,  506, 1676,  546, 534,  504, 1676,  506, 572,  506, 574,  504, 572,
  506, 1676,  506, 1678,  504, 1676,  506, 1676,  504, 1678,  512, 1670,  506, 1676, 
  520, 1662,  510, 570,  476, 602,  478, 600,  478, 600,  478, 600,  478, 1704,  480, 
  1702,  504, 576,  478, 1704,  480, 1702,  480, 600,  478, 600,  476, 600,  478, 600,
  478, 600,  478, 1702,  480, 600,  476, 600,  478, 1702,  480, 1702,  480, 1704,  478, 
  5282,  4376, 4462,  478, 1704,  478, 600,  476, 1704,  478, 1704,  480, 600,  478, 602,
  476, 1704,  478, 602,  476, 602,  476, 1706,  478, 602,  476, 602,  476, 1706,  476, 1706, 
  478, 600,  476, 1706,  478, 602,  500, 576,  508, 570,  476, 1706,  478, 1706,  502, 1678, 
  512, 1672,  476, 1706,  476, 1706,  476, 1706,  476, 1706,  476, 602,  474, 604,  474, 604, 
  506, 570,  476, 602,  476, 1706,  476, 1706,  476, 604,  474, 1706,  478, 1706,  478, 602, 
  476, 602,  474, 604,  474, 604,  474, 602,  476, 1706,  476, 602,  474, 604,  474, 1708, 
  474, 1708,  476, 1706,  476};  // COOLIX B21FD8

  uint64_t data = 0xB21FD8;


...............................................................................................................
Power: OFF, Mode: AUTO, Fan: AUTO, Temp: 26C, Zone Follow: Off, Sensor Temp: Ignored             (temp = 255.0)

Timestamp : 003866.487
Encoding  : COOLIX
Code      : B27BE0 (24 bits)
Mesg Desc.: Power: Off
Library   : v2.6.2

Raw Timing[199]:
+  4378, -  4462,    +   480, -  1702,    +   480, -   598,    +   480, -  1702,
+   480, -  1704,    +   480, -   600,    +   476, -   600,    +   478, -  1704,
+   480, -   602,    +   476, -   600,    +   478, -  1704,    +   480, -   600,
+   478, -   600,    +   478, -  1702,    +   480, -  1702,    +   480, -   600,
+   478, -  1702,    +   480, -   600,    +   478, -  1702,    +   480, -  1702,
+   480, -  1702,    +   480, -  1702,    +   480, -   602,    +   478, -  1702,
+   482, -  1702,    +   480, -  1702,    +   480, -   600,    +   478, -   600,
+   478, -   600,    +   478, -   600,    +   478, -  1702,    +   482, -   600,
+   478, -   600,    +   478, -  1702,    +   480, -  1702,    +   480, -  1702,
+   480, -   598,    +   480, -   598,    +   480, -   598,    +   480, -   600,
+   478, -   598,    +   480, -   598,    +   480, -   602,    +   476, -   598,
+   480, -  1702,    +   480, -  1704,    +   480, -  1702,    +   480, -  1702,
+   482, -  1702,    +   482, -  5280,    +  4380, -  4462,    +   480, -  1704,
+   480, -   600,    +   478, -  1702,    +   480, -  1704,    +   480, -   598,
+   480, -   600,    +   504, -  1676,    +   506, -   574,    +   504, -   572,
+   504, -  1676,    +   508, -   572,    +   506, -   574,    +   504, -  1676,
+   508, -  1676,    +   506, -   574,    +   506, -  1676,    +   506, -   572,
+   504, -  1676,    +   506, -  1676,    +   506, -  1676,    +   508, -  1676,
+   508, -   572,    +   506, -  1676,    +   508, -  1674,    +   508, -  1676,
+   508, -   572,    +   504, -   572,    +   506, -   572,    +   506, -   572,
+   506, -  1676,    +   506, -   572,    +   506, -   572,    +   506, -  1676,
+   508, -  1676,    +   506, -  1676,    +   506, -   574,    +   504, -   574,
+   504, -   572,    +   504, -   574,    +   506, -   572,    +   504, -   574,
+   504, -   574,    +   504, -   572,    +   506, -  1676,    +   508, -  1676,
+   508, -  1674,    +   508, -  1676,    +   508, -  1674,    +   506

uint16_t rawData[199] = {4378, 4462,  480, 1702,  480, 598,  480, 1702,  480, 1704,  
480, 600,  476, 600,  478, 1704,  480, 602,  476, 600,  478, 1704,  480, 600,  478,
 600,  478, 1702,  480, 1702,  480, 600,  478, 1702,  480, 600,  478, 1702,  480, 
 1702,  480, 1702,  480, 1702,  480, 602,  478, 1702,  482, 1702,  480, 1702,  480, 
 600,  478, 600,  478, 600,  478, 600,  478, 1702,  482, 600,  478, 600,  478, 1702, 
 480, 1702,  480, 1702,  480, 598,  480, 598,  480, 598,  480, 600,  478, 598,  480,
 598,  480, 602,  476, 598,  480, 1702,  480, 1704,  480, 1702,  480, 1702,  482, 1702, 
 482, 5280,  4380, 4462,  480, 1704,  480, 600,  478, 1702,  480, 1704,  480, 598,  480,
 600,  504, 1676,  506, 574,  504, 572,  504, 1676,  508, 572,  506, 574,  504, 1676, 
 508, 1676,  506, 574,  506, 1676,  506, 572,  504, 1676,  506, 1676,  506, 1676,  508,
 1676,  508, 572,  506, 1676,  508, 1674,  508, 1676,  508, 572,  504, 572,  506, 572, 
 506, 572,  506, 1676,  506, 572,  506, 572,  506, 1676,  508, 1676,  506, 1676,  506, 574, 
 504, 574,  504, 572,  504, 574,  506, 572,  504, 574,  504, 574,  504, 572,  506, 1676, 
 508, 1676,  508, 1674,  508, 1676,  508, 1674,  506};  // COOLIX B27BE0
                                                                      
uint64_t data = 0xB27BE0;

@crankyoldgit
Copy link
Owner

@hassbian-ABC I'm assuming you are talking about when using IRMQTTServer? Is that correct?

@hassbian-ABC
Copy link
Author

@crankyoldgit
I use COOLIX to control temp cool and heat, it's right.

@crankyoldgit
Copy link
Owner

@hassbian-ABC I think this is because COOLIX has a special command for off and swing that doesn't contain the rest of the state information. I'll see what I can do to hack in support to work around that problem.

@hassbian-ABC
Copy link
Author

@crankyoldgit
If you switch from cool or heat to auto, the air conditioner swing (H) is on, but on the web, swing (H) is off.

@hassbian-ABC
Copy link
Author

@crankyoldgit
And Led Toggle doesn't work

@crankyoldgit
Copy link
Owner

@hassbian-ABC Can you please supply more context with your feedback. I can't read your mind or see what you are doing. For instance:

Are you saying the Led Toggle doesn't work via 1) the remote, 2) via the web interface, 3) via mqtt, 4) some other method? And how "doesn't (it) work"? e.g. It's out of phase/sync, nothing at all happens when you click it. The A/C doesn't respond at all? It beeps and does nothing?!?

e.g. See/read the initial Issue template that you deleted when you reported the issue, and the Troubleshooting guide on the wiki. Especially the "more information" & "be verbose" parts.

crankyoldgit added a commit that referenced this issue Jul 18, 2019
Try to address issues in #821
* Try to work around the deficiencies in the Coolix protocol where special
  messages don't have all the required state in them.
@crankyoldgit
Copy link
Owner

@hassbian-ABC Can you please download and try out the code for PR #825 and let me know how it goes for your initially reported issues? e.g. https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821

@crankyoldgit
Copy link
Owner

@crankyoldgit
via the web interface,when toggle led,The A/C doesn't respond at all, It beeps and does nothing

FYI, Beeping is responding. ;-)

So, what happens when you go from "Coolix, Light: off" (send) -> "Coolix, Light: on" (send) -> "Coolix, Light: off" (send) etc

And can you please capture and report the same sequence using IRrecvDumpV2 when using just your original IR remote?

@hassbian-ABC
Copy link
Author

@crankyoldgit
Thank you. I'll test it as soon as possible.

@hassbian-ABC
Copy link
Author

@crankyoldgit
Now, besides led, there are other perfections

@hassbian-ABC
Copy link
Author

Power: On, Mode: 0 (COOL), Fan: 5 (AUTO), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored LED:off

Timestamp : 000527.838
Encoding : COOLIX
Code : B5F5A5 (24 bits)
Mesg Desc.: Power: On, Led: Toggle
Library : v2.6.2

Raw Timing[199]:

  • 4374, - 4464, + 482, - 1700, + 480, - 602, + 474, - 1704,
  • 478, - 1704, + 478, - 602, + 476, - 1704, + 478, - 602,
  • 476, - 1704, + 478, - 600, + 476, - 1704, + 478, - 602,
  • 476, - 628, + 450, - 1704, + 478, - 600, + 478, - 1704,
  • 480, - 602, + 474, - 1704, + 478, - 1704, + 478, - 1706,
  • 478, - 1704, + 478, - 604, + 474, - 1704, + 478, - 602,
  • 476, - 1704, + 478, - 602, + 476, - 604, + 474, - 602,
  • 476, - 602, + 476, - 1704, + 478, - 602, + 478, - 1702,
  • 478, - 602, + 476, - 1704, + 478, - 600, + 476, - 1704,
  • 478, - 604, + 474, - 602, + 476, - 1704, + 478, - 604,
  • 474, - 1704, + 478, - 604, + 474, - 1704, + 480, - 600,
  • 476, - 1704, + 478, - 1704, + 480, - 600, + 476, - 1704,
  • 478, - 602, + 476, - 5282, + 4374, - 4462, + 478, - 1704,
  • 478, - 604, + 474, - 1704, + 478, - 1704, + 478, - 602,
  • 474, - 1704, + 478, - 604, + 476, - 1704, + 478, - 602,
  • 474, - 1706, + 476, - 602, + 476, - 602, + 476, - 1704,
  • 478, - 602, + 476, - 1704, + 478, - 602, + 476, - 1704,
  • 478, - 1706, + 478, - 1704, + 478, - 1706, + 478, - 602,
  • 476, - 1704, + 478, - 602, + 474, - 1706, + 478, - 602,
  • 480, - 622, + 452, - 602, + 476, - 600, + 478, - 1704,
  • 478, - 602, + 476, - 1706, + 476, - 602, + 476, - 1704,
  • 478, - 602, + 476, - 1704, + 478, - 602, + 476, - 602,
  • 474, - 1706, + 482, - 598, + 474, - 1704, + 478, - 602,
  • 476, - 1704, + 478, - 604, + 474, - 1704, + 478, - 1704,
  • 480, - 600, + 476, - 1704, + 478, - 600, + 476

uint16_t rawData[199] = {4374, 4464, 482, 1700, 480, 602, 474, 1704, 478, 1704,
478, 602, 476, 1704, 478, 602, 476, 1704, 478, 600, 476, 1704, 478, 602, 476,
628, 450, 1704, 478, 600, 478, 1704, 480, 602, 474, 1704, 478, 1704, 478, 1706,
478, 1704, 478, 604, 474, 1704, 478, 602, 476, 1704, 478, 602, 476, 604, 474,
602, 476, 602, 476, 1704, 478, 602, 478, 1702, 478, 602, 476, 1704, 478, 600,
476, 1704, 478, 604, 474, 602, 476, 1704, 478, 604, 474, 1704, 478, 604, 474,
1704, 480, 600, 476, 1704, 478, 1704, 480, 600, 476, 1704, 478, 602, 476, 5282,
4374, 4462, 478, 1704, 478, 604, 474, 1704, 478, 1704, 478, 602, 474, 1704, 478,
604, 476, 1704, 478, 602, 474, 1706, 476, 602, 476, 602, 476, 1704, 478, 602, 476,
1704, 478, 602, 476, 1704, 478, 1706, 478, 1704, 478, 1706, 478, 602, 476, 1704,
478, 602, 474, 1706, 478, 602, 480, 622, 452, 602, 476, 600, 478, 1704, 478, 602,
476, 1706, 476, 602, 476, 1704, 478, 602, 476, 1704, 478, 602, 476, 602, 474, 1706,
482, 598, 474, 1704, 478, 602, 476, 1704, 478, 604, 474, 1704, 478, 1704, 480, 600,
476, 1704, 478, 600, 476}; // COOLIX B5F5A5

uint64_t data = 0xB5F5A5;

...................................................................................................
Power: On, Mode: 0 (COOL), Fan: 5 (AUTO), Temp: 25C, Zone Follow: Off, Sensor Temp: Ignored LED:on

Timestamp : 000706.077
Encoding : COOLIX
Code : B5F5A5 (24 bits)
Mesg Desc.: Power: On, Led: Toggle
Library : v2.6.2

Raw Timing[199]:

  • 4378, - 4462, + 484, - 1700, + 480, - 600, + 476, - 1704,
  • 478, - 1704, + 478, - 602, + 476, - 1704, + 478, - 602,
  • 476, - 1704, + 480, - 604, + 474, - 1704, + 478, - 604,
  • 474, - 602, + 476, - 1706, + 478, - 602, + 476, - 1704,
  • 480, - 602, + 476, - 1704, + 478, - 1706, + 478, - 1704,
  • 478, - 1704, + 478, - 602, + 474, - 1704, + 478, - 602,
  • 476, - 1704, + 478, - 602, + 476, - 602, + 476, - 602,
  • 476, - 602, + 474, - 1706, + 478, - 602, + 478, - 1702,
  • 478, - 600, + 476, - 1704, + 478, - 604, + 474, - 1704,
  • 480, - 602, + 476, - 604, + 474, - 1704, + 478, - 602,
  • 476, - 1704, + 478, - 602, + 476, - 1704, + 480, - 600,
  • 476, - 1704, + 478, - 1704, + 480, - 602, + 474, - 1706,
  • 478, - 602, + 476, - 5282, + 4378, - 4462, + 478, - 1704,
  • 478, - 602, + 476, - 1704, + 478, - 1704, + 480, - 602,
  • 480, - 1700, + 480, - 624, + 452, - 1704, + 478, - 602,
  • 476, - 1706, + 478, - 602, + 476, - 602, + 476, - 1706,
  • 478, - 626, + 450, - 1706, + 478, - 602, + 474, - 1704,
  • 478, - 1706, + 478, - 1704, + 478, - 1706, + 478, - 602,
  • 476, - 1704, + 480, - 600, + 476, - 1706, + 478, - 602,
  • 476, - 602, + 476, - 602, + 476, - 602, + 476, - 1704,
  • 478, - 602, + 476, - 1704, + 478, - 602, + 476, - 1704,
  • 480, - 600, + 476, - 1704, + 484, - 598, + 476, - 602,
  • 476, - 1704, + 478, - 602, + 476, - 1704, + 478, - 602,
  • 476, - 1704, + 480, - 602, + 476, - 1704, + 478, - 1704,
  • 478, - 602, + 476, - 1706, + 478, - 602, + 476

uint16_t rawData[199] = {4378, 4462, 484, 1700, 480, 600, 476, 1704, 478, 1704,
478, 602, 476, 1704, 478, 602, 476, 1704, 480, 604, 474, 1704, 478, 604, 474,
602, 476, 1706, 478, 602, 476, 1704, 480, 602, 476, 1704, 478, 1706, 478, 1704,
478, 1704, 478, 602, 474, 1704, 478, 602, 476, 1704, 478, 602, 476, 602, 476, 602,
476, 602, 474, 1706, 478, 602, 478, 1702, 478, 600, 476, 1704, 478, 604, 474, 1704,
480, 602, 476, 604, 474, 1704, 478, 602, 476, 1704, 478, 602, 476, 1704, 480, 600,
476, 1704, 478, 1704, 480, 602, 474, 1706, 478, 602, 476, 5282, 4378, 4462, 478, 1704,
478, 602, 476, 1704, 478, 1704, 480, 602, 480, 1700, 480, 624, 452, 1704, 478, 602, 476,
1706, 478, 602, 476, 602, 476, 1706, 478, 626, 450, 1706, 478, 602, 474, 1704, 478, 1706,
478, 1704, 478, 1706, 478, 602, 476, 1704, 480, 600, 476, 1706, 478, 602, 476, 602, 476,
602, 476, 602, 476, 1704, 478, 602, 476, 1704, 478, 602, 476, 1704, 480, 600, 476, 1704,
484, 598, 476, 602, 476, 1704, 478, 602, 476, 1704, 478, 602, 476, 1704, 480, 602, 476, 1704,
478, 1704, 478, 602, 476, 1706, 478, 602, 476}; // COOLIX B5F5A5

uint64_t data = 0xB5F5A5;

@hassbian-ABC
Copy link
Author

@crankyoldgit
This is the turn-on and turn-off of the led.

@hassbian-ABC
Copy link
Author

@crankyoldgit
There is another problem, via the web interface, turn power to on,and turn swing(v)to on,Air conditioning is correct,but when swing (v) is on,via the web interface,turn power to off,turn power to on again,the Air conditioning swing(v) is off, On the Web Interface,swing(v) is on

@hassbian-ABC
Copy link
Author

@crankyoldgit
About LED,When I turn the LED to on/off through the web interface,Air conditioning beeps and does nothing,when via the remote turn the LED to on/off ,In the web interface, LIGHT hasn't changed at all.

crankyoldgit added a commit that referenced this issue Jul 19, 2019
* Coolix: Better `toCommon()` support.

* Try to work around the deficiencies in the Coolix protocol where special
  messages don't have all the required state in them.

Try to address issues in #821
@crankyoldgit
Copy link
Owner

Library : v2.6.2

Hey, I noticed this in your replies.
If you are using the code from https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821
it should be showing a different version. This makes me think you are not using the new updated code.

Can you please check/show me the version info section from the "Info" menu/tab on IRMQTTServer?

@hassbian-ABC
Copy link
Author

3F514C655873C21A7C6572A13F8E5298
The problem still exists. @crankyoldgit

When I turn the LED to on/off through the web interface,Air conditioning beeps and does nothing,when via the remote turn the LED to on/off ,In the web interface,the LIGHT state is correct

via the web interface, turn power to on,and turn swing(v)to on,A/C is correct,but when swing (v) is on,via the web interface,turn power to off,turn power to on again,A/C swing(v) is off, in the Web Interface,swing(v) is on

@hassbian-ABC
Copy link
Author

I can control the LED through mosquitto_pub -h 10.0.0.4 -t ir_server/send -m ‘15, B5F5A5,24’
But in the web interface, it's always off
@crankyoldgit

crankyoldgit added a commit that referenced this issue Jul 22, 2019
@crankyoldgit
Copy link
Owner

@hassbian-ABC I think I've found the problem. I really stuffed up the calling parameters for coolix in the common a/c stuff. (see b868135)

Please download and try the code in branch: https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821 and let me know if that works any better?

@hassbian-ABC
Copy link
Author

I downloaded and used https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821,
Unfortunately, the problem remains.
@crankyoldgit

@crankyoldgit
Copy link
Owner

Can you please give me the state of the "AirCon" page you are using? I'll use that to write up a test case to see what is going wrong now.

@hassbian-ABC
Copy link
Author

13DA5CB0472BC28BD363D92D0EE5F0CF
@crankyoldgit

crankyoldgit added a commit that referenced this issue Jul 22, 2019
* Add unit tests to confirm LED/light toggle message is being sent when 
it should be.

Hopefully fixes #821
@crankyoldgit
Copy link
Owner

Thanks for the data.
I've added some tests to confirm it is sending the Led/Light toggle message as it should be.
However, it may have been confusing the A/C unit by not having a big enough gap between the messages IRMQTTServer was producing. I've taken a guess at a big enough gap between the messages (i.e. 100ms, or 1/10th of a second). So it may work, it may not.
i.e. we may need to increase it.

IF it doesn't work, can you please change the line here:
https://github.com/crankyoldgit/IRremoteESP8266/blob/Issue821/src/ir_Coolix.cpp#L90

from: space(kDefaultMessageGap); to space(250000); // 1/4 second or space(500000); // 1/2 second or space(750000); // 3/4 second or space(1000000); // 1 second

I want to see what the required gap between messages is, and the smaller we can have the better.

So, please download and try the code in branch https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue821 again and let me know if that works any better? or if you need to change that value? or if it all is still not working.

Fingers crossed.

@hassbian-ABC
Copy link
Author

Thank you for your work, but I still can't control the turn-on and turn-off of LED/LIGHT through the web interface. i try to change the ir_Coolix.cpp#L90 to space(250000); / space(500000); /space(750000); and space(1000000);
But I'm sorry.
@crankyoldgit

@crankyoldgit
Copy link
Owner

@hassbian-ABC Okay. I'm really confused. I am at a loss as to why it is not working for you.

My testing indicates it should be working.
I've uploaded a binary of IRMQTTServer from the latest update to the "Issue821" branch to an ESP8266, and loaded IRrecvDumpV2 on to another ESP8266 to capture the signals generated.

This is what happens when after I load up the "AirCon" state per your screenshot in #821 (comment), and then change "Light" to "On" and click "update & send".
i.e. this is just the turning on the light bit the web interface.

Timestamp : 000034.855
Library   : v2.6.3

Encoding  : COOLIX
Code      : B5F5A5 (24 bits)
Mesg Desc.: Power: On, Led: Toggle
Raw Timing[199]:
   +  4480, -  4506,    +   596, -  1658,    +   598, -   554,    +   574, -  1646,
   +   598, -  1648,    +   596, -   530,    +   598, -  1648,    +   596, -   530,
   +   596, -  1662,    +   594, -   534,    +   594, -  1652,    +   624, -   502,
   +   594, -   532,    +   626, -  1620,    +   592, -   532,    +   626, -  1620,
   +   592, -   536,    +   592, -  1654,    +   592, -  1680,    +   564, -  1656,
   +   600, -  1648,    +   598, -   554,    +   574, -  1646,    +   598, -   530,
   +   598, -  1648,    +   596, -   530,    +   596, -   530,    +   598, -   528,
   +   600, -   528,    +   590, -  1656,    +   600, -   528,    +   600, -  1646,
   +   598, -   530,    +   596, -  1650,    +   626, -   526,    +   570, -  1650,
   +   596, -   530,    +   596, -   530,    +   596, -  1650,    +   596, -   530,
   +   596, -  1650,    +   626, -   500,    +   596, -  1650,    +   594, -   532,
   +   594, -  1650,    +   596, -  1678,    +   566, -   532,    +   626, -  1620,
   +   594, -   532,    +   594, -  5012,    +  4508, -  4462,    +   598, -  1674,
   +   570, -   530,    +   620, -  1654,    +   570, -  1676,    +   568, -   532,
   +   596, -  1650,    +   594, -   532,    +   596, -  1650,    +   594, -   534,
   +   592, -  1654,    +   592, -   560,    +   568, -   558,    +   568, -  1652,
   +   594, -   534,    +   624, -  1622,    +   594, -   560,    +   598, -  1622,
   +   622, -  1624,    +   590, -  1656,    +   598, -  1674,    +   572, -   528,
   +   600, -  1648,    +   596, -   530,    +   598, -  1650,    +   596, -   530,
   +   598, -   530,    +   598, -   556,    +   572, -   554,    +   572, -  1646,
   +   598, -   528,    +   598, -  1648,    +   598, -   530,    +   596, -  1650,
   +   626, -   500,    +   596, -  1650,    +   594, -   532,    +   596, -   530,
   +   596, -  1650,    +   594, -   532,    +   596, -  1652,    +   594, -   532,
   +   594, -  1652,    +   624, -   502,    +   596, -  1650,    +   594, -  1654,
   +   592, -   536,    +   592, -  1654,    +   624, -   504,    +   622
uint16_t rawData[199] = {4480, 4506,  596, 1658,  598, 554,  574, 1646,  598, 1648,  596, 530,  598, 1
648,  596, 530,  596, 1662,  594, 534,  594, 1652,  624, 502,  594, 532,  626, 1620,  592, 532,  626,
1620,  592, 536,  592, 1654,  592, 1680,  564, 1656,  600, 1648,  598, 554,  574, 1646,  598, 530,  59
8, 1648,  596, 530,  596, 530,  598, 528,  600, 528,  590, 1656,  600, 528,  600, 1646,  598, 530,  59
6, 1650,  626, 526,  570, 1650,  596, 530,  596, 530,  596, 1650,  596, 530,  596, 1650,  626, 500,  5
96, 1650,  594, 532,  594, 1650,  596, 1678,  566, 532,  626, 1620,  594, 532,  594, 5012,  4508, 4462
,  598, 1674,  570, 530,  620, 1654,  570, 1676,  568, 532,  596, 1650,  594, 532,  596, 1650,  594, 5
34,  592, 1654,  592, 560,  568, 558,  568, 1652,  594, 534,  624, 1622,  594, 560,  598, 1622,  622,
1624,  590, 1656,  598, 1674,  572, 528,  600, 1648,  596, 530,  598, 1650,  596, 530,  598, 530,  598
, 556,  572, 554,  572, 1646,  598, 528,  598, 1648,  598, 530,  596, 1650,  626, 500,  596, 1650,  59
4, 532,  596, 530,  596, 1650,  594, 532,  596, 1652,  594, 532,  594, 1652,  624, 502,  596, 1650,  5
94, 1654,  592, 536,  592, 1654,  624, 504,  622};  // COOLIX B5F5A5
uint64_t data = 0xB5F5A5;



Timestamp : 000035.179
Library   : v2.6.3

Encoding  : COOLIX
Code      : B21F48 (24 bits)
Mesg Desc.: Power: On, Mode: 2 (AUTO), Fan: 0 (AUTO0), Temp: 24C, Zone Follow: Off, Sensor Temp: Ignored
Raw Timing[199]:
   +  4494, -  4470,    +   590, -  1656,    +   600, -   554,    +   564, -  1656,
   +   598, -  1648,    +   598, -   528,    +   598, -   554,    +   574, -  1646,
   +   620, -   508,    +   598, -   528,    +   598, -  1674,    +   572, -   528,
   +   598, -   528,    +   600, -  1646,    +   600, -  1646,    +   598, -   528,
   +   598, -  1650,    +   596, -   530,    +   596, -   530,    +   618, -   510,
   +   598, -  1648,    +   598, -  1676,    +   568, -  1650,    +   626, -  1622,
   +   592, -  1654,    +   590, -  1656,    +   598, -  1646,    +   598, -  1646,
   +   598, -   530,    +   598, -   528,    +   600, -   526,    +   600, -   526,
   +   590, -   536,    +   590, -   536,    +   592, -  1654,    +   590, -   536,
   +   622, -   504,    +   624, -  1624,    +   622, -   530,    +   566, -   534,
   +   594, -   560,    +   566, -  1680,    +   564, -   536,    +   592, -  1654,
   +   590, -  1656,    +   600, -   526,    +   590, -  1656,    +   600, -  1672,
   +   572, -  1676,    +   570, -  5010,    +  4500, -  4466,    +   594, -  1652,
   +   594, -   532,    +   594, -  1652,    +   624, -  1622,    +   590, -   536,
   +   592, -   534,    +   594, -  1654,    +   590, -   536,    +   590, -   536,
   +   592, -  1654,    +   592, -   536,    +   592, -   560,    +   566, -  1654,
   +   590, -  1656,    +   600, -   526,    +   590, -  1656,    +   598, -   528,
   +   598, -   528,    +   600, -   526,    +   590, -  1656,    +   600, -  1646,
   +   598, -  1648,    +   598, -  1650,    +   626, -  1622,    +   592, -  1680,
   +   564, -  1680,    +   574, -  1646,    +   598, -   528,    +   600, -   554,
   +   564, -   536,    +   592, -   534,    +   624, -   504,    +   592, -   534,
   +   594, -  1654,    +   590, -   534,    +   624, -   504,    +   592, -  1654,
   +   592, -   534,    +   592, -   534,    +   624, -   530,    +   566, -  1654,
   +   592, -   534,    +   624, -  1622,    +   622, -  1624,    +   590, -   536,
   +   590, -  1656,    +   652, -  1594,    +   598, -  1648,    +   596

uint16_t rawData[199] = {4494, 4470,  590, 1656,  600, 554,  564, 1656,  598, 1648,  598, 528,  598, 5
54,  574, 1646,  620, 508,  598, 528,  598, 1674,  572, 528,  598, 528,  600, 1646,  600, 1646,  598,
528,  598, 1650,  596, 530,  596, 530,  618, 510,  598, 1648,  598, 1676,  568, 1650,  626, 1622,  592
, 1654,  590, 1656,  598, 1646,  598, 1646,  598, 530,  598, 528,  600, 526,  600, 526,  590, 536,  59
0, 536,  592, 1654,  590, 536,  622, 504,  624, 1624,  622, 530,  566, 534,  594, 560,  566, 1680,  56
4, 536,  592, 1654,  590, 1656,  600, 526,  590, 1656,  600, 1672,  572, 1676,  570, 5010,  4500, 4466
,  594, 1652,  594, 532,  594, 1652,  624, 1622,  590, 536,  592, 534,  594, 1654,  590, 536,  590, 53
6,  592, 1654,  592, 536,  592, 560,  566, 1654,  590, 1656,  600, 526,  590, 1656,  598, 528,  598, 5
28,  600, 526,  590, 1656,  600, 1646,  598, 1648,  598, 1650,  626, 1622,  592, 1680,  564, 1680,  57
4, 1646,  598, 528,  600, 554,  564, 536,  592, 534,  624, 504,  592, 534,  594, 1654,  590, 534,  624
, 504,  592, 1654,  592, 534,  592, 534,  624, 530,  566, 1654,  592, 534,  624, 1622,  622, 1624,  59
0, 536,  590, 1656,  652, 1594,  598, 1648,  596};  // COOLIX B21F48
uint64_t data = 0xB21F48;

Which is exactly what I expect. i.e. An LED/Light toggle message, followed by a "normal" state setting message about 100ms later.

Just to check/confirm some other stuff. How are you building the firmware? and uploading it?
e.g. What IDE are you using? What board target & settings are you using?
I ask, as the screen shot of the Info page you provided here: #821 (comment) has some odd values etc. e.g. You're running at 160Mhz, instead of the standard 80Mhz, and have over 4Meg of free program space left. My d1_mini and nodemcu boards have 4Meg of flash, and when I load up IRMQTTServer, they only show about 2.5M of free space left.

Can you please introduce a compile error into the code I was getting you to change earlier.
e.g. space(kDefaultMessageGap); -> space(THIS_SHOULD_ERROR);
If the firmware still builds fine, then I think you've not been compiling from the Issue821 branch, but are using another copy of the library somewhere.

If it fails, then you are probably using the correct copy of the library.

Can you please try physically powering off the board etc to fully reset it. Does the board/program still control the A/C normally apart from the Light/led setting?
Can you try running at 80Mhz (the normal default speed) just in case that is the problem?

@hassbian-ABC
Copy link
Author

@crankyoldgit
Thank you. Now I can control the LED/LIGHT through the web interface, but whenever I turn on or off the LED/LIGHT, A/C seems to receive information twice.

@crankyoldgit
Copy link
Owner

Thank you. Now I can control the LED/LIGHT through the web interface

So, what did you do that finally fixed it? So I can know if someone else encounters a similar issue?

whenever I turn on or off the LED/LIGHT, A/C seems to receive information twice.

Yes. That's unfortunately correct and expected behaviour.

COOLIX protocol has a bunch of "special" codes it uses for some of the functions. e.g. LED/Light toggle, Turbo toggle, Sleep toggle etc. These special codes do not include the "normal" Temperature, operating mode, or fan speed settings etc. In order for IRMQTTServer to ensure all the settings are correct, it has to send these "special" codes first, then follow it up with a "normal" message to make sure the A/C is in the desired state as best it can.

e.g. Imagine you changed Swing from Off to On, AND changed mode from Heat to Cool, AND Protocol from "GREE" to "COOLIX" then pressed "Update & Send". The program has to make the sure it sends everything it knows to the a/c unit.

@hassbian-ABC
Copy link
Author

I haven't changed anything to fix it. I found that the OTA upgrade was unsuccessful.
@crankyoldgit

@hassbian-ABC
Copy link
Author

Thank you again for your work. It's a great project. @crankyoldgit

@crankyoldgit
Copy link
Owner

FYI, the code changes thus far have been included in the v2.6.4 release of the library.

@1043717432
Copy link

FYI, the code changes thus far have been included in the v2.6.4 release of the library.

Thank you again for your work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants