diff --git a/_433nIRtoMQTTto433nIR_ESP8266.ino b/_433nIRtoMQTTto433nIR_ESP8266.ino index 5edf609..64a2f0d 100644 --- a/_433nIRtoMQTTto433nIR_ESP8266.ino +++ b/_433nIRtoMQTTto433nIR_ESP8266.ino @@ -271,9 +271,9 @@ void receivingMQTT(String topicNameRec, String callbackstring) { if (topicNameRec == subjectMQTTtoIRSony) irsend.sendSony(data, 12); if (topicNameRec == subjectMQTTtoIRDISH) - irsend.sendDISH(data, 36); // Note: data (unsigned long) is only 32bits long on the ESP8266. + irsend.sendDISH(data, 16); if (topicNameRec == subjectMQTTtoIRSharp) - irsend.sendSharp(data, 36); // Note: data (unsigned long) is only 32bits long on the ESP8266. + irsend.sendSharpRaw(data, 15); /* Panasonic has a two arguments per call. An address(16bit) and data(32bit), not data and nr_bits. if (topicNameRec == subjectMQTTtoIRPanasonic)