-
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
Adjust for AKB74955603 (LG2 Model 3) #1737
Comments
I'll see what I can do. |
Don't override previous settings if the current message being processed is a Light Toggle message. Fixes #1737
@kzagatti Can you please download and try out branch https://github.com/crankyoldgit/IRremoteESP8266/tree/Issue1737 |
@crankyoldgit compiled IRMQTT from the branch but the final result is the same, when I press the Light button on the remote, it shows as "off" on HA. Not sure if it helps, but below you'll also find the prints from IRMQTTServer Air Conditioner Control: 1-) When I press the power on button: 2-) Right after pressing Light button: |
Hmmm. IRremoteESP8266/src/IRremoteESP8266.h Lines 55 to 61 in 9228143
to something unique. e.g. #define _IRREMOTEESP8266_VERSION_MAJOR 4 or something.You can check on the "Info" page of your ESP running IRMQTTServer what version it's running. Also, can you provide the annotated MQTT log your provided earlier for your tests? That was quite helpful in track it down. |
and while I think about it, Please also include the MQTT messages sent to the "IR Received topic" (which is listed on the "Info" page. That should be |
You got it! Although I was compiling it from the right branch, it was actually getting the library from the default folder. I deleted the original library and pasted from the branch and it is working! From IRMQTTServer info page:
MQTT Messages (8-11 when I press power on, 12-15 pressing light toggle):
From the
Thanks again!!! |
Thanks for doing that. Is that it is all working as expected now, or is there something else/more I need to address? |
It is all working as expected! |
Don't override previous settings if the current message being processed is a Light Toggle message. Confirmed working. Fixes #1737
_v2.8.2 (20220314)_ **[Bug Fixes]** - ESP32-C3: Fix reboot/crashes on ESP32-C3s when receiving. (#1768 #1751) **[Features]** - HITACHI_AC296: Add `IRac` class support & tests. (#1776 #1758 #1757) - Support for Hitachi RAS-70YHA3 (remote RAR-3U3) (#1758 #1757) - LG: Add Swing Toggle support for Model `LG6711A20083V` (#1771 #1770) - IRMQTTServer: add `MQTT_SERVER_AUTODETECT_ENABLE` via mqtt mDNS (#1769) - Experimental basic support for Kelon 168 bit / 21 byte protocol. (#1747 #1745 #1744) - MitsubishiAC: Tweak repeat gap timing. (#1760 #1759) - Gree YAP0F8 (Detected as Kelvinator) vertical position set support (#1756) - Make KELON (48 bit) protocol decoding stricter. (#1746 #1744) - IRMQTTServer V1.6.1 (#1740 #1739 #1729) - HITACHI_AC264: Add minimal detailed support. (#1735 #1729) - LG2: Improve Light toggle msg handling. (#1738 #1737) - MIDEA: Add support for Quiet, Clean & Freeze Protect controls. (#1734 #1733) - Add basic support for HITACHI_AC264 264bit protocol. (#1730 #1729) - ESP32-C3: Work around for some C3 specific compiler issues again. (#1732 #1695) **[Misc]** - MIDEA: Update supported devices (#1774 #1773 #1716) - Update devices supported by ELECTRA_AC (#1766 #1765) - Improve documentation for `encodePioneer()` (#1761 #1749) - Update (un)supported DAIKIN128 devices. (#1752) - Refactor `decodeCOOLIX()` code & add another test case. (#1750 #1748) - Simplify code based on state_t being initialised by default. (#1736 #1699) - Add comments to help Teknopoint users. (#1731 #1728) - Fix library version string calculation. (#1727 #1725) - Confirm we can reproduce `TurnOnFujitsuAC.ino` via IRac/IRMQTTServer. (#1726 #1701)
##_v2.8.2 (20220314)_ **[Bug Fixes]** - ESP32-C3: Fix reboot/crashes on ESP32-C3s when receiving. (#1768 #1751) **[Features]** - HITACHI_AC296: Add `IRac` class support & tests. (#1776 #1758 #1757) - Support for Hitachi RAS-70YHA3 (remote RAR-3U3) (#1758 #1757) - LG: Add Swing Toggle support for Model `LG6711A20083V` (#1771 #1770) - IRMQTTServer: add `MQTT_SERVER_AUTODETECT_ENABLE` via mqtt mDNS (#1769) - Experimental basic support for Kelon 168 bit / 21 byte protocol. (#1747 #1745 #1744) - MitsubishiAC: Tweak repeat gap timing. (#1760 #1759) - Gree YAP0F8 (Detected as Kelvinator) vertical position set support (#1756) - Make KELON (48 bit) protocol decoding stricter. (#1746 #1744) - IRMQTTServer V1.6.1 (#1740 #1739 #1729) - HITACHI_AC264: Add minimal detailed support. (#1735 #1729) - LG2: Improve Light toggle msg handling. (#1738 #1737) - MIDEA: Add support for Quiet, Clean & Freeze Protect controls. (#1734 #1733) - Add basic support for HITACHI_AC264 264bit protocol. (#1730 #1729) - ESP32-C3: Work around for some C3 specific compiler issues again. (#1732 #1695) **[Misc]** - MIDEA: Update supported devices (#1774 #1773 #1716) - Update devices supported by ELECTRA_AC (#1766 #1765) - Improve documentation for `encodePioneer()` (#1761 #1749) - Update (un)supported DAIKIN128 devices. (#1752) - Refactor `decodeCOOLIX()` code & add another test case. (#1750 #1748) - Simplify code based on state_t being initialised by default. (#1736 #1699) - Add comments to help Teknopoint users. (#1731 #1728) - Fix library version string calculation. (#1727 #1725) - Confirm we can reproduce `TurnOnFujitsuAC.ino` via IRac/IRMQTTServer. (#1726 #1701)
FYI, the changes mentioned above have now been included in the new v2.8.2 release of the library. |
Hi @crankyoldgit,
It's been a while since we worked on AKB74955603 and AKB73757604, rock solid with IRMQTTServer and Home Assistant.
I have a bedroom where along with HA, I started using the original remote (you know, wife). The IR device properly decodes the IR code sent by the remote and things such as modes, on/off, temp, etc, are all OK. But when I press Light Toggle, it shows as "off" on Home Assistant (although it's still on).
This is the output from IRrecvDumpV2 (it's OK):
But these are the MQTT messages sent (latest first):
1-) When I turn the A/C on:
2-) When I press the Light button:
Please, is it possible to adjust the code to not update the power mode when the Light Toggle is pressed?
Not sure if you'd need this too, but following you'll find my HA configuration (as stated on IRMQTTServer's guide):
Thank you
The text was updated successfully, but these errors were encountered: