Skip to content

Instantly share code, notes, and snippets.

@Hypfer
Last active August 29, 2015 14:26
Show Gist options
  • Save Hypfer/38b3b276e1a0fea92c30 to your computer and use it in GitHub Desktop.
Save Hypfer/38b3b276e1a0fea92c30 to your computer and use it in GitHub Desktop.
IR Protocol Checksum
Never Changes Power/Hold Mode Temp Fan/Swing Parity?
1000100010001000100010001000100010001000 00100100 11000000 00000000 01000000 00000000000000000000000000000000 01111110
1000100010001000100010001000100010001000 00100100 11000000 00000000 01100000 00000000000000000000000000000000 01000001
1000100010001000100010001000100010001000 00100100 11000000 00000000 00100000 00000000000000000000000000000000 00000001
1000100010001000100010001000100010001000 00100100 11000000 10010000 00100000 00000000000000000000000000000000 10010001
1000100010001000100010001000100010001000 00100100 11000000 10010000 00110000 00000000000000000000000000000000 10001001
1000100010001000100010001000100010001000 00100100 11000000 11010000 01100000 00000000000000000000000000000000 10110001
1000100010001000100010001000100010001000 00100100 11000000 11010000 01000000 00000000000000000000000000000000 10010001
Block 2 Bit 1 is Hold. -> 0 no hold, 1 Hold
Block 2 Bit 6 is On/off.
Block 3 Bit 1 & 2 encodes Cool/dry/heat
-> 11 = Cool
-> 01 = Dry
-> 10 = Heat
Block 4 Bit 1-4 encodes the Temperature as Big Endian substracted from 31
-> 22°: 1001
1248
-> 1+0+0+8 = 9
-> 31 - 9 = 22
Block 5 Bit 2 & 3 encode the fan speed
-> 10 = 3
-> 11 = 2
-> 01 = 1
Block 5 Bit 4 is swing on/off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment