feat: upgrade to IRremoteESP8266@2.8.2 (#1214)
This commit is contained in:
1 parent
bfed83bbc9
commit
8bced299dd
3 files changed
+131
-3
No files matched your search
+117
-2
@@ -1137,8 +1137,6 @@ bool sendIdentifiedProtocol(const char* protocol_name, SIGNAL_SIZE_UL_ULL data,
|
|||||||
# ifdef IR_HITACHI_AC344
|
# ifdef IR_HITACHI_AC344
|
||||||
if (strcmp(protocol_name, "HITACHI_AC344") == 0) {
|
if (strcmp(protocol_name, "HITACHI_AC344") == 0) {
|
||||||
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
if (valueRPT == repeatIRwNumber)
|
|
||||||
valueRPT = std::max(valueRPT, kHitachiAcDefaultRepeat);
|
|
||||||
if (valueBITS == 0)
|
if (valueBITS == 0)
|
||||||
valueBITS = kHitachiAc344StateLength;
|
valueBITS = kHitachiAc344StateLength;
|
||||||
irsend.sendHitachiAc344(dataarray, valueBITS, valueRPT);
|
irsend.sendHitachiAc344(dataarray, valueBITS, valueRPT);
|
||||||
@@ -1277,6 +1275,123 @@ bool sendIdentifiedProtocol(const char* protocol_name, SIGNAL_SIZE_UL_ULL data,
|
|||||||
irsend.sendEcoclim(data, valueBITS, valueRPT);
|
irsend.sendEcoclim(data, valueBITS, valueRPT);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_XMP
|
||||||
|
if (strcmp(protocol_name, "XMP") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kXmpBits;
|
||||||
|
irsend.sendXmp(data, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_KELON168
|
||||||
|
if (strcmp(protocol_name, "KELON168") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kKelon168Bits;
|
||||||
|
irsend.sendKelon168(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_TEKNOPOINT
|
||||||
|
if (strcmp(protocol_name, "TEKNOPOINT") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kTeknopointBits;
|
||||||
|
irsend.sendTeknopoint(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_HAIER_AC176
|
||||||
|
if (strcmp(protocol_name, "HAIER_AC176") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kHaierAC176Bits;
|
||||||
|
irsend.sendHaierAC176(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_BOSE
|
||||||
|
if (strcmp(protocol_name, "BOSE") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kBoseBits;
|
||||||
|
irsend.sendBose(data, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_SANYO_AC88
|
||||||
|
if (strcmp(protocol_name, "SANYO_AC88") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kSanyoAc88Bits;
|
||||||
|
irsend.sendSanyoAc88(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_TROTEC_3550
|
||||||
|
if (strcmp(protocol_name, "TROTEC_3550") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kTrotecBits;
|
||||||
|
irsend.sendTrotec3550(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_ARRIS
|
||||||
|
if (strcmp(protocol_name, "ARRIS") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kArrisBits;
|
||||||
|
irsend.sendArris(data, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_RHOSS
|
||||||
|
if (strcmp(protocol_name, "RHOSS") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kRhossBits;
|
||||||
|
irsend.sendRhoss(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_AIRTON
|
||||||
|
if (strcmp(protocol_name, "AIRTON") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kAirtonBits;
|
||||||
|
irsend.sendAirton(data, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_COOLIX48
|
||||||
|
if (strcmp(protocol_name, "COOLIX48") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kCoolix48Bits;
|
||||||
|
irsend.sendCoolix48(data, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_HITACHI_AC264
|
||||||
|
if (strcmp(protocol_name, "HITACHI_AC264") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kHitachiAc264Bits;
|
||||||
|
irsend.sendHitachiAc264(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
# endif
|
||||||
|
# ifdef IR_HITACHI_AC296
|
||||||
|
if (strcmp(protocol_name, "HITACHI_AC296") == 0) {
|
||||||
|
Log.notice(F("Sending IR signal with %s" CR), protocol_name);
|
||||||
|
if (valueBITS == 0)
|
||||||
|
valueBITS = kHitachiAc296Bits;
|
||||||
|
irsend.sendHitachiAc296(dataarray, valueBITS, valueRPT);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
# endif
|
# endif
|
||||||
Log.warning(F("Unknown IR protocol" CR));
|
Log.warning(F("Unknown IR protocol" CR));
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -146,6 +146,19 @@ extern void MQTTtoIR(char* topicOri, JsonObject& RFdata);
|
|||||||
# define IR_PANASONIC_AC32
|
# define IR_PANASONIC_AC32
|
||||||
# define IR_MILESTAG2
|
# define IR_MILESTAG2
|
||||||
# define IR_ECOCLIM
|
# define IR_ECOCLIM
|
||||||
|
# define IR_XMP
|
||||||
|
# define IR_KELON168
|
||||||
|
# define IR_TEKNOPOINT
|
||||||
|
# define IR_HAIER_AC176
|
||||||
|
# define IR_BOSE
|
||||||
|
# define IR_SANYO_AC88
|
||||||
|
# define IR_TROTEC_3550
|
||||||
|
# define IR_ARRIS
|
||||||
|
# define IR_RHOSS
|
||||||
|
# define IR_AIRTON
|
||||||
|
# define IR_COOLIX48
|
||||||
|
# define IR_HITACHI_AC264
|
||||||
|
# define IR_HITACHI_AC296
|
||||||
#elif __AVR_ATmega2560__
|
#elif __AVR_ATmega2560__
|
||||||
# define IR_COOLIX
|
# define IR_COOLIX
|
||||||
# define IR_Whynter
|
# define IR_Whynter
|
||||||
|
|||||||
+1
-1
@@ -98,7 +98,7 @@ pubsubclient = PubSubClient@2.8
|
|||||||
rc-switch = https://github.com/1technophile/rc-switch.git#98537e9
|
rc-switch = https://github.com/1technophile/rc-switch.git#98537e9
|
||||||
newremoteswitch = https://github.com/1technophile/NewRemoteSwitch.git#8eb980e
|
newremoteswitch = https://github.com/1technophile/NewRemoteSwitch.git#8eb980e
|
||||||
ble = https://github.com/h2zero/NimBLE-Arduino.git#1.3.8
|
ble = https://github.com/h2zero/NimBLE-Arduino.git#1.3.8
|
||||||
irremoteesp = IRremoteESP8266@2.7.15
|
irremoteesp = IRremoteESP8266@2.8.2
|
||||||
irremote = https://github.com/z3t0/Arduino-IRremote.git#1c08a37
|
irremote = https://github.com/z3t0/Arduino-IRremote.git#1c08a37
|
||||||
lora = https://github.com/sandeepmistry/arduino-LoRa.git#f4a1d27
|
lora = https://github.com/sandeepmistry/arduino-LoRa.git#f4a1d27
|
||||||
esppilight = ESPiLight@0.17.0
|
esppilight = ESPiLight@0.17.0
|
||||||
|
|||||||
Reference in new issue
Block a user