Skip to content

Commit f66374d

Browse files
KELON168: Add initial detailed support for Kelon168 (Kelon/Hisense) (#1949)
* KELON168: Add initial detailed support for Kelon168 ((Kelon/Hisense) Right now supporting: Super, quiet, fan speed, set temperature, power on/off, lights, clock. Timers should be equal as Whirlpool A/C. Swing needs an update * Correct code style * Fix unit test in Kelon168
1 parent ca474a6 commit f66374d

File tree

4 files changed

+765
-3
lines changed

4 files changed

+765
-3
lines changed

src/IRremoteESP8266.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@ const uint16_t kJvcBits = 16;
13051305
const uint16_t kKelonBits = 48;
13061306
const uint16_t kKelon168StateLength = 21;
13071307
const uint16_t kKelon168Bits = kKelon168StateLength * 8;
1308+
const uint16_t kKelon168DefaultRepeat = kNoRepeat;
13081309
const uint16_t kKelvinatorStateLength = 16;
13091310
const uint16_t kKelvinatorBits = kKelvinatorStateLength * 8;
13101311
const uint16_t kKelvinatorDefaultRepeat = kNoRepeat;

src/IRsend.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ enum whirlpool_ac_remote_model_t {
213213
DG11J191,
214214
};
215215

216+
// Kelon/Hisense (Kelon168) A/C remote model numbers
217+
enum kelon168_ac_remote_model_t {
218+
DG11R201 = 1, // RCH-R0Y3 too?
219+
};
220+
216221
/// LG A/C model numbers
217222
enum lg_ac_remote_model_t {
218223
GE6711AR2853M = 1, // (1) LG 28-bit Protocol (default)
@@ -850,7 +855,7 @@ class IRsend {
850855
#if SEND_KELON168
851856
void sendKelon168(const unsigned char data[],
852857
const uint16_t nbytes = kKelon168StateLength,
853-
const uint16_t repeat = kNoRepeat);
858+
const uint16_t repeat = kKelon168DefaultRepeat);
854859
#endif // SEND_KELON168
855860
#if SEND_BOSE
856861
void sendBose(const uint64_t data, const uint16_t nbits = kBoseBits,

0 commit comments

Comments
 (0)