-
Notifications
You must be signed in to change notification settings - Fork 835
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
Support for Lennox AC mini-split #1716
Comments
Our Wiki has some helpful documents for you, have a read of: If you have the complete list of pulse (mark) and gap (space) timings for a given message, we have tools to help construct the code for sending & decoding the message.
Once that is available/done, we add a class to produce & further decode those "basic" messages using higher level things like temperature, operation mode, fan speed, power etc etc. Have a read of those docs. They will point you in the right direction. There are also some tools in the
Um, that's not going to work. I think you may have a mistake/typo. It looks like a |
@crankyoldgit Yes. I've a typo. I'm fixing it right now. |
Remember, we are here to help. Get us the data in the right format, and it's a fairly easy process. Especially as you seem to have reverse engineered it all so far. |
Check out the Midea protocol. I have some Lennox AC mini-splits and it matches almost 100% (with |
Also I haven't tried, but some Midea units also have an RS232/485 interface, https://community.home-assistant.io/t/support-for-midea-a-c/265236 has (a lot) more information (via kpishere/homie_heatPump#5 (comment)). |
@normanr , I confirm the Lennox MiniSplit use the Midea protocol. Can I just submit a merge request with this hardware in the protocol list. Or do you want the entire analysis? |
Any chance that you can post a capture from But a PR with just the model of unit + remote is fine as well. (one row for the unit + one for remote). |
@efficks Chasing up on this. Have you tried |
@efficks Another chase up ping. |
Closing this issue as it appears stale. |
@crankyoldgit
Do you need anything else? |
I assume the |
_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. |
I've reversed engeneer the Lennox AC mini-split remote control (https://www.lennox.com/products/heating-cooling/mini-split-systems) and i'm able to made it work on a Raspberry Pi with a Python code that generate pulse/space file for lirc (https://www.lirc.org/).
I'm now trying to made it work on a ESP32 and I figured it would be nice to integrate it in this library.
I'm not able to figure if the protocol is already supported in the library or not. Also, the Lennox protocol seems really strange and I don't know how to implement it with the current implementation. Is somebody have a tip for me?
I've started documenting the protocol at https://github.com/efficks/lennoxir
M : mode, T: temperature, P: power Other bits for swing and other features I'm not using for now
I need to send an intro message pulse: 4350, space: 4350
I need to add an 8 bits checksum to this data (I figured out the algorithm)
Add a middle message space: 5150, pulse: 4350, space: 4350
Send the same data again with the checksum but with bits reversed (1 become 0 and 0 become 1)
And a final message, pulse: 550
A 1 bit is pulse: 550, space: 1550
A 0 bit is pulse: 550, space: 550
Do you have a place I can read, or examples to how to implement this? I've checked code like the Carrier that use sendGeneric functions. But it does not seems to be what I need.
Thank you,
The text was updated successfully, but these errors were encountered: