Merge pull request #5 from crankyoldgit/master
Correct the invocation of Coolix, Sharp, & Dish IR sends.
This commit is contained in:
commit
c7644cf706
1 file changed
+3
-3
@@ -317,7 +317,7 @@ void receivingMQTT(String topicNameRec, String callbackstring) {
|
|||||||
}
|
}
|
||||||
//send received MQTT value by IR signal (example of signal sent data = 1086296175)
|
//send received MQTT value by IR signal (example of signal sent data = 1086296175)
|
||||||
if (topicNameRec == subjectMQTTtoIRCOOLIX)
|
if (topicNameRec == subjectMQTTtoIRCOOLIX)
|
||||||
irsend.sendCOOLIX(data, 36); // Note: data (unsigned long) is only 32bits long on the ESP8266.
|
irsend.sendCOOLIX(data, 24);
|
||||||
if (topicNameRec == subjectMQTTtoIRWhynter)
|
if (topicNameRec == subjectMQTTtoIRWhynter)
|
||||||
irsend.sendWhynter(data, 32);
|
irsend.sendWhynter(data, 32);
|
||||||
if (topicNameRec == subjectMQTTtoIRNEC)
|
if (topicNameRec == subjectMQTTtoIRNEC)
|
||||||
@@ -327,9 +327,9 @@ void receivingMQTT(String topicNameRec, String callbackstring) {
|
|||||||
if (topicNameRec == subjectMQTTtoIRSony)
|
if (topicNameRec == subjectMQTTtoIRSony)
|
||||||
irsend.sendSony(data, 12);
|
irsend.sendSony(data, 12);
|
||||||
if (topicNameRec == subjectMQTTtoIRDISH)
|
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)
|
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.
|
Panasonic has a two arguments per call. An address(16bit) and data(32bit), not data and nr_bits.
|
||||||
if (topicNameRec == subjectMQTTtoIRPanasonic)
|
if (topicNameRec == subjectMQTTtoIRPanasonic)
|
||||||
|
|||||||
Reference in new issue
Block a user