-
Notifications
You must be signed in to change notification settings - Fork 836
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
TCL mute mode support #1528
Comments
here's a full dump of mute(quiet) on / off taken via irrecvdumpv2 Mute ON
Mute OFF
|
Does Mute equate to turning off the Beep when it gets a new message via IR? |
No, it turns down the fan speed to a very minimum and makes the AC sound very quiet and suitable for sleeping. However, one can't reach that minimum via the fan speed command. |
Looking at the data you have presented, I can see there is an The reason the library is not detecting that message is because it is using an unexpected checksum algorithm for that protocol. I'll see if I can work up some proper support this variant but in the meantime, you should be able to emulate it by using: const uint8_t mute_on[kTcl112AcStateLength] = {
0x23, 0xCB, 0x26, 0x02, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85};
const uint8_t mute_off[kTcl112AcStateLength] = {
0x23, 0xCB, 0x26, 0x02, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x65};
irsend.sendTcl112Ac(mute_on);
delay(2000);
irsend.sendTcl112Ac(mute_off);
delay(2000); My guess is that your A/C uses this special message/protocol to do something outside of it's "normal" operation. |
Thank you, will try it soon |
Excellent. Looking forward to the results. |
BTW, can you please include the Brand/Model numbers of both the Remote & the A/C unit? |
Just for future reference, I calculated those
and converting |
@thanxx Oh, can you please also capture what happens when the unit is "off" and you press the "mute" button a few times. |
Also with the light/display on the A/C on & off, plus Econo mode too if it has it. |
the model is link to picure: the states you posted didn't work for me.
oh, cool, thanks for sharing that Ok, here are the dumps that you requested: When the unit is off (and the remote is in the "off" mode) the remote doesn't emit anything. If the unit and remote are ON: light / display off / on
ECO MODE
Strange thing, I found that Turbo is not recognized by the library
Please let me know if any captures needed |
* Changes required to handle quiet setting, which is sent in a separate special message. * Modify checksum alg. for these special messages. * Add `IRac` support for quiet for TCL112 * Add & update unit tests. * Update supported models * General code style cleanups. For #1528
Okay, then you may need to try this instead: const uint8_t mute_on[kTcl112AcStateLength] = {
0x23, 0xCB, 0x26, 0x02, 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85};
const uint8_t mute_off[kTcl112AcStateLength] = {
0x23, 0xCB, 0x26, 0x02, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x65};
// Current settings.
const uint8_t state[kTcl112AcStateLength] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x64, 0x03, 0x07, 0x00, 0x00, 0x00, 0x00, 0x82, 0x05};
// Turn mute/quiet on.
irsend.sendTcl112Ac(mute_on);
irsend.sendTcl112Ac(state);
delay(20000); // Wait 20 seconds.
// Turn mute/quiet off.
irsend.sendTcl112Ac(mute_off);
irsend.sendTcl112Ac(state); i.e. That special message may need to be followed up by a "normal" message. This should emulate your original captures more closely. There might be some gap timings to be finessed though. |
Also, can you please download and try out this Branch: https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue1528 I think I've coded up some support for your Mute/Quiet mode. Also, if you rebuild Let me know how it goes please. |
@crankyoldgit it started working after your latest suggestion! Also, I rebuilt the library with new branch and now it's fully decoded I Will try out
|
Excellent. Looking forward to the results. The data you just collected indicates that I may have the "Light" setting incorrect for the |
yes, the light in Type2 is always off
|
* Changes required to handle quiet setting, which is sent in a separate special message. * Modify checksum alg. for these special messages. * Add `IRac` support for quiet for TCL112 * Add & update unit tests. * Update supported models * General code style cleanups. For #1528
I've removed that Light setting from the |
confirm, it's removed now
|
Now we just need you to test transmission |
not sure I am doing it right
Result: no type2 message
also, I started to notice that protocol detection fails randomly (today)
|
a clarification regarding my last comment: |
Hmm. I rebased this branch with the |
Looking at this some more, it looks like |
Additional Unit test to confirm example use works as expected. - FYI, it does. For #1528 (comment)
Your code snippet should work. In fact, I'm pretty darn sure it does. See a unit test I just wrote to verify it for confirmation. I think the issue may be elsewhere in your code. i.e. Are you sure ac.setQuiet(true);
ac.send(); // Might send a "Quiet: on" if it was off before hand, **and** will send a "normal" settings msg.
delay(5000);
ac.setQuiet(true);
ac.send(); // This will only ever send a single "normal" settings msg, as the _quiet_ setting hasn't changed since it was last sent. Try: ac.setQuiet(false); // Or ac.stateReset();
ac.on();
ac.setTemp(24);
ac.setLight(false);
ac.setSwingHorizontal(true);
ac.send();
delay(14000);
ac.setSwingHorizontal(false);
ac.send();
delay(5000);
ac.setQuiet(true);
ac.send(); |
@crankyoldgit thanks a lot for explanations, I will investigate and will get back here with results |
@crankyoldgit |
Thanks for confirming. |
* Changes required to handle quiet setting, which is sent in a separate special message. * Modify checksum alg. for these special messages. * Add `IRac` support for quiet for TCL112 * Add & update unit tests. * Update supported models * General code style cleanups. Fixes #1528
_v2.7.20 (20210828)_ **[Bug Fixes]** - Make `strToSwingH()` match "Right Max" (#1550 #1551) **[Features]** - Experimental Bose remote support (#1579) - Added MitsubishiAC VaneLeft (#1572 #1576) - HAIER_AC176: Add experimental detailed support (#1480 #1571) - Detailed support for Tornado/Sanyo 88-bit A/C protocol (#1503 #1568) - Add support for new `TROTEC_3550` A/C protocol (#1563 #1566 #1507) - SamsungAc: Use `sendExtended()` going forward. (#1484 #1562) - SamsungAc: Redo/fix checksum calculations. (#1538 #1554) - LG: Add support for `AKB73757604` model (#1531 #1545) - Daikin176: Add support for Unit Id. (#1543 #1544) - Daikin2: Add support for Humidity setting/operation. (#1535 #1540) - TCL112AC: Add support for quiet/mute setting. (#1528 #1529) - LG2: Add Fan speed, Swing, & Light support for new `AKB74955603` model (#1513 #1530) - Add Mitsubishi AC "fan only" mode (#1527) **[Misc]** - Fix pylint issues due to pylint update. (#1569 #1570) - DAIKIN216: Update supported models. (#1552 #1567) - IRMQTTServer: Build a minimal OTA image via PlatformIO. (#1513 #1541) - Reduce memory fragmentation cause by String usage. (#1493 #1536) - Refactor `decodeMitsubishiAC()` (#1523 #1532) - Fix incorrect comment. - Migrate from Travis to GitHub Actions (#1522 #1526) - Documentation update with additional supported Panasonic AC models (#1525)
_v2.7.20 (20210828)_ **[Bug Fixes]** - Make `strToSwingH()` match "Right Max" (#1550 #1551) **[Features]** - Experimental Bose remote support (#1579) - Added MitsubishiAC VaneLeft (#1572 #1576) - HAIER_AC176: Add experimental detailed support (#1480 #1571) - Detailed support for Tornado/Sanyo 88-bit A/C protocol (#1503 #1568) - Add support for new `TROTEC_3550` A/C protocol (#1563 #1566 #1507) - SamsungAc: Use `sendExtended()` going forward. (#1484 #1562) - SamsungAc: Redo/fix checksum calculations. (#1538 #1554) - LG: Add support for `AKB73757604` model (#1531 #1545) - Daikin176: Add support for Unit Id. (#1543 #1544) - Daikin2: Add support for Humidity setting/operation. (#1535 #1540) - TCL112AC: Add support for quiet/mute setting. (#1528 #1529) - LG2: Add Fan speed, Swing, & Light support for new `AKB74955603` model (#1513 #1530) - Add Mitsubishi AC "fan only" mode (#1527) **[Misc]** - Change when some github workflows run (#1583) - Add/update supported device info (#1580 #1581 #1585) - Fix pylint issues due to pylint update. (#1569 #1570) - DAIKIN216: Update supported models. (#1552 #1567) - IRMQTTServer: Build a minimal OTA image via PlatformIO. (#1513 #1541) - Reduce memory fragmentation cause by String usage. (#1493 #1536) - Refactor `decodeMitsubishiAC()` (#1523 #1532) - Fix incorrect comment. - Migrate from Travis to GitHub Actions (#1522 #1526) - Documentation update with additional supported Panasonic AC models (#1525)
## _v2.7.20 (20210828)_ **[Bug Fixes]** - Make `strToSwingH()` match "Right Max" (#1550 #1551) **[Features]** - Experimental Bose remote support (#1579) - Added MitsubishiAC VaneLeft (#1572 #1576) - HAIER_AC176: Add experimental detailed support (#1480 #1571) - Detailed support for Tornado/Sanyo 88-bit A/C protocol (#1503 #1568) - Add support for new `TROTEC_3550` A/C protocol (#1563 #1566 #1507) - SamsungAc: Use `sendExtended()` going forward. (#1484 #1562) - SamsungAc: Redo/fix checksum calculations. (#1538 #1554) - LG: Add support for `AKB73757604` model (#1531 #1545) - Daikin176: Add support for Unit Id. (#1543 #1544) - Daikin2: Add support for Humidity setting/operation. (#1535 #1540) - TCL112AC: Add support for quiet/mute setting. (#1528 #1529) - LG2: Add Fan speed, Swing, & Light support for new `AKB74955603` model (#1513 #1530) - Add Mitsubishi AC "fan only" mode (#1527) **[Misc]** - Change when some github workflows run (#1583) - Add/update supported device info (#1580 #1581 #1585) - Fix pylint issues due to pylint update. (#1569 #1570) - DAIKIN216: Update supported models. (#1552 #1567) - IRMQTTServer: Build a minimal OTA image via PlatformIO. (#1513 #1541) - Reduce memory fragmentation cause by String usage. (#1493 #1536) - Refactor `decodeMitsubishiAC()` (#1523 #1532) - Fix incorrect comment. - Migrate from Travis to GitHub Actions (#1522 #1526) - Documentation update with additional supported Panasonic AC models (#1525)
FYI, the changes mentioned above have been included in the just released v2.7.20 of the library. |
I wish I found this earlier because I did not find Daewoo (DSB-F0934ELH-V) among supported models in this repository and did all analysis and code in python on RPi and then I was really interested in how to mute the buzzer. I tried to search over the remote type (which I disassembled) |
Thanks for the info. It will be added to the Supported Devices list. |
I did not find a way to mute my AC by the way, and the remote does not contain the mute button as on TCL models/remotes. |
the Mute here should be considered a Quiet mode when AC works on minimum
power
чт, 23 дек. 2021 г., 17:56 Stepan Seliuk ***@***.***>:
… I did not find a way to mute my AC by the way, and the remote does not
contain the mute button as on TCL models/remotes.
—
Reply to this email directly, view it on GitHub
<#1528 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFCUETTLRN55FQG4SUMZNH3USNBC7ANCNFSM5AA62ZPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi, and first of all, thanks for supporting this project
My TCL has a
mute
button, but the library doesn't catch the change of the state.In both cases (mute on / off) the state is the same
Can you please give me some clue on how to catch that command?
The text was updated successfully, but these errors were encountered: