Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the invocation of Coolix, Sharp, & Dish IR sends. #5

Merged
merged 2 commits into from
Jan 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _433nIRtoMQTTto433nIR_ESP8266.ino
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ void receivingMQTT(String topicNameRec, String callbackstring) {
}
//send received MQTT value by IR signal (example of signal sent data = 1086296175)
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)
irsend.sendWhynter(data, 32);
if (topicNameRec == subjectMQTTtoIRNEC)
Expand All @@ -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)
Expand Down