Skip to content

Instantly share code, notes, and snippets.

@ircmaxell
Last active July 27, 2018 02:02
Show Gist options
  • Save ircmaxell/eef69bbdaaf4dd5e29af139dc15e092b to your computer and use it in GitHub Desktop.
Save ircmaxell/eef69bbdaaf4dd5e29af139dc15e092b to your computer and use it in GitHub Desktop.
Keystone air conditioner IR protocol debugging
Toggle Swing: 10100010 00000001
Toggle LED: 10100010 00001000
Set Temp + Mode
Byte 1: 10100001
Byte 2:
|--------|--------|--------|--------|--------|--------|--------|--------|
| POWER | SLEEP | Fan 0 | Fan 1 | FAN 2 | MODE 0 | MODE 1 | MODE 2 |
Byte 3:
|--------|--------|--------|--------|--------|--------|--------|--------|
| 0 | 1 | 0 | TEMP 0 | TEMP 1 | TEMP 2 | TEMP 3 | TEMP 4 |
Fan:
* 000 - Off
* 001 - Low
* 010 - Med
* 011 - High
* 100 - Auto
Mode:
* 000 - Cool
* 001 - Dry
* 010 - Auto
* 011 - Heat
* 100 - Fan
Temp: temp
Function | Command
Toggle Swing | A2 01 FF FF FF 7C 97 7F 80 00 00 20 C0
Power Off | A1 02 48 FF FF D4 97 BF 6D C0 00 0A C0
LED On | A2 08 FF FF FF 75 97 7D C0 00 00 20 80
Power | Sleep | Mode | Fan | Temp | Command
On | Off | Auto | Auto | 17 | A1 82 40 FF FF 5C 97 9F 6F C0 00 28 C0
On | Off | Auto | Auto | 18 | A1 82 41 FF FF 5D 97 9F 6F 80 00 28 80
On | Off | Auto | Auto | 19 | A1 82 42 FF FF 5F 97 9F 6F 40 00 28 00
On | Off | Auto | Auto | 20 | A1 82 43 FF FF 5E 97 9F 6F 00 00 28 40
On | Off | Auto | Auto | 21 | A1 82 44 FF FF 58 97 9F 6E C0 00 29 C0
On | Off | Auto | Auto | 22 | A1 82 45 FF FF 59 97 9F 6E 80 00 29 80
On | Off | Auto | Auto | 23 | A1 82 46 FF FF 5B 97 9F 6E 40 00 29 00
On | Off | Auto | Auto | 24 | A1 82 47 FF FF 5A 97 9F 6E 00 00 29 40
On | Off | Auto | Auto | 25 | A1 82 48 FF FF 54 97 9F 6D C0 00 2A C0
On | Off | Auto | Auto | 26 | A1 82 49 FF FF 55 97 9F 6D 80 00 2A 80
On | Off | Auto | Auto | 27 | A1 82 4A FF FF 57 97 9F 6D 40 00 2A 00
On | Off | Auto | Auto | 28 | A1 82 4B FF FF 56 97 9F 6D 00 00 2A 40
On | Off | Auto | Auto | 29 | A1 82 4C FF FF 50 97 9F 6C C0 00 2B C0
On | Off | Auto | Auto | 30 | A1 82 4D FF FF 51 97 9F 6C 80 00 2B 80
On | Off | Cool | Auto | 28 | A1 A0 4B FF FF 65 97 97 ED 00 00 26 80
On | Off | Cool | Auto | 29 | A1 A0 4C FF FF 62 97 97 EC C0 00 27 40
On | Off | Cool | Auto | 30 | A1 A0 4D FF FF 63 97 97 EC 80 00 27 00
On | Off | Dry | Low | 28 | A1 81 4B FF FF 54 97 9F AD 00 00 2A C0
On | Off | Dry | Low | 29 | A1 81 4C FF FF 53 97 9F AC C0 00 2B 00
On | Off | Dry | Low | 30 | A1 81 4D FF FF 52 97 9F AC 80 00 2B 40
On | Off | Heat | Auto | 28 | A1 A3 4B FF FF 67 97 97 2D 00 00 26 00
On | Off | Heat | Auto | 29 | A1 A3 4C FF FF 61 97 97 2C C0 00 27 80
On | Off | Heat | Auto | 30 | A1 A3 4D FF FF 60 97 97 2C 80 00 27 C0
On | Off | Fan | Low | | A1 8C 5E FF FF 4B 97 9C E8 40 00 2D 00
On | Off | Fan | Med | | A1 94 5E FF FF 5B 97 9A E8 40 00 29 00
On | Off | Fan | High | | A1 9C 5E FF FF 53 97 98 E8 40 00 2B 00
On | Off | Fan | Auto | | A1 A4 5E FF FF 7B 97 96 E8 40 00 21 00
On | Off | Cool | Low | 30 | A1 88 4D FF FF 5D 97 9D EC 80 00 28 80
On | Off | Cool | Med | 30 | A1 90 4D FF FF 43 97 9B EC 80 00 2F 00
On | Off | Cool | High | 30 | A1 98 4D FF FF 4D 97 99 EC 80 00 2C 80
On | Off | Cool | Auto | 30 | A1 A0 4D FF FF 63 97 97 EC 80 00 27 00
On | Off | Heat | Low | 30 | A1 8B 4D FF FF 5F 97 9D 2C 80 00 28 00
On | Off | Heat | Med | 30 | A1 93 4D FF FF 40 97 9B 2C 80 00 2F C0
On | Off | Heat | High | 30 | A1 9B 4D FF FF 4F 97 99 2C 80 00 2C 00
On | Off | Cool | Auto | 30 | A1 A3 4D FF FF 60 97 97 2C 80 00 27 C0
On | On | Auto | Auto | 28 | A1 C2 4B FF FF 16 97 8F 6D 00 00 3A 40
On | On | Auto | Auto | 29 | A1 C2 4C FF FF 10 97 8F 6C C0 00 3B C0
On | On | Auto | Auto | 30 | A1 C2 4D FF FF 11 97 8F 6C 80 00 3B 80
On | Off | Auto | Auto | 30
A1 82 4D FF FF 51 97 9F 6C 80 00 2B 80
10100001 10000010 01001101 11111111 11111111 01010001 10
01011110 01111101 10110010 00000000 00000000 10101110
LED On:
A2 08 FF FF FF 75 97 7D C0 00 00 20 80
10100010 00001000 11111111 11111111 11111111 01110101 10
01011101 11110111 000000000 0000000 00000000 10000010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment