-
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
Add support for Airton AC #1670
Comments
Hey, we can probably add this, but you need to follow: https://github.com/crankyoldgit/IRremoteESP8266/wiki/Adding-support-for-a-new-IR-protocol#obtaining-the-data Without some of the raw data etc, we can't be sure we can decode the underlying signal. We need it for testing Also, please update to 2.7.20 (or the |
I've updated to 2.7.20, and the protocol hasn't been added. |
* `sendAirton()` & `decodeAirton()` added. * Unit test coverage added. For #1670
Thanks for the raw data. That allowed me to build basic support for your protocol. To help your analysis: Once you've mapped out all the bits, what they mean, how they work, what the values mean in terms of modes/swing positions etc etc, and have it all nicely & clearly documented in a spreadsheet or some document, I'll re-look at this and code up the detailed support (i.e. setting modes, power, temp etc). For now, it should decode to a 56-bit hex number in |
Thank you for the update. `IRrecvDump is now running and waiting for IR input on Pin 14 Protocol : AIRTON I've done a new spreadsheet LSBF, which is here https://docs.google.com/spreadsheets/d/1Kpq7WCkh85heLnTQGlwUfCR6eeu_vfBHvhii8wtP4LU/edit?usp=sharing The checksum escapes me still. You can see in state[0] that is works for some codes, but not all. |
* `sendAirton()` & `decodeAirton()` added. * Unit test coverage added. For #1670
Thanks for confirming receiving/decoding works. Have you tried transmission/sending also?
No idea also. I tried a few things, but it alludes me too. Until you've worked that out, there is next to no point on me starting the coding for detailed support. Try also playing with the data in MSBF format too, ya never know. |
Transmission is fine both rawData and irsend.sendAirton. |
Thanks for the confirmation. Sorry about the checksum or what ever it is etc. Marking this issue closed. |
Has been confirmed working by the user. Fixes #1670
_v2.8.0 (20211119)_ **[Bug Fixes]** - Fix compilation issue when using old 8266 Arduino Frameworks. (#1639 #1640) - Fix potential security issue with `scrape_supported_devices.py` (#1616 #1619) **[Features]** - SAMSUNG_AC - Change `clean` setting to a toggle. (#1676 #1677) - Highest fan speed is available without Powerful setting. (#1675 #1678) - Change `beep` setting to a toggle. (#1669 #1671) - Fix Beep for AR12TXEAAWKNEU (#1668 #1669) - Add support for Horizontal Swing & Econo (#1277 #1667) - Add support for On, Off, & Sleep Timers (#1277 #1662) - Fix power control. Clean-up code & bitmaps from Checksum changes. (#1277 #1648 #1650) - HAIER_AC176/HAIER_AC_YRW02 - Add support A/B unit setting (#1672) - Add support degree Fahrenheit (#1659) - Add support `Lock` function (#1652) - Implement horizontal swing feature (#1641) - Implement Quiet setting. (#1634 #1635) - Basic support for Airton Protocol (#1670 #1681) - HAIER_AC176: Add Turbo and Quiet settings (#1634) - Gree: Add `SwingH` & `Econo` control. (#1587 #1653) - MIRAGE - Add experimental detailed support. (#1573 #1615) - Experimental detailed support for KKG29A-C1 remote. (#1573 #1660) - ELECTRA_AC: Add support for "IFeel" & Sensor settings. (#1644 #1645) - Add Russian translation (#1649) - Add Swedish translation (#1627) - Reduce flash space used. (#1633) - Strings finally in Flash! (#1493 #1614 #1623) - Add support for Rhoss Idrowall MPCV 20-30-35-40 A/C protocol (#1630) - Make `IRAc::opmodeToString()` output nicer for humans. (#1613) - TCL112AC/TEKNOPOINT: Add support for `GZ055BE1` model (#1486 #1602) - Support for Arris protocol. (#1598) - SharpAc: Allow position control of SwingV (#1590 #1594) **[Misc]** - HAIER_AC176/HAIER_AC_YRW02 - Replace some magic numbers with constants (#1679) - Small fix `Quiet` and `Turbo` test (#1674) - Fix `IRHaierAC176::getTemp()` return value description (#1663) - Security Policy creation and changes. (#1616 #1617 #1618 #1621 #1680) - IRrecvDumpV2/3: Update PlatformIO envs for missing languages (#1661) - IRMQTTServer - Use the correct string for Fan mode in Home Assistant. (#1610 #1657) - Move a lot of the strings/text to flash. (#1638) - Minor code style improvements. (#1656) - Update Supported Devices - HAIER_AC176 (#1673) - LG A/C (#1651 #1655) - Symphony (#1603 #1605) - Epson (#1574 #1601) - GREE (#1587 #1588) - SharpAc (#1590 #1591) - Add extra tests for LG2 protocol (#1654) - Fix parameter expansion in several macros. - Move some strings to `IRtext.cpp` & `locale/default.h` (#1637) - RHOSS: Move include and defines to their correct places (#1636) - Make makefile only build required files when running `run-%` target (#1632) - Update Portuguese translation (#1628) - Add possibility to run specific test case (#1625) - Change `googletest` library ignore (#1626) - Re-work "Fan Only" strings & matching. (#1610) - Address `C0209` pylint warnings. (#1608)
I think I have solved the riddle with Airton checksum. |
## _v2.8.0 (20211119)_ **[Bug Fixes]** - Fix compilation issue when using old 8266 Arduino Frameworks. (#1639 #1640) - Fix potential security issue with `scrape_supported_devices.py` (#1616 #1619) **[Features]** - SAMSUNG_AC - Change `clean` setting to a toggle. (#1676 #1677) - Highest fan speed is available without Powerful setting. (#1675 #1678) - Change `beep` setting to a toggle. (#1669 #1671) - Fix Beep for AR12TXEAAWKNEU (#1668 #1669) - Add support for Horizontal Swing & Econo (#1277 #1667) - Add support for On, Off, & Sleep Timers (#1277 #1662) - Fix power control. Clean-up code & bitmaps from Checksum changes. (#1277 #1648 #1650) - HAIER_AC176/HAIER_AC_YRW02 - Add support A/B unit setting (#1672) - Add support degree Fahrenheit (#1659) - Add support `Lock` function (#1652) - Implement horizontal swing feature (#1641) - Implement Quiet setting. (#1634 #1635) - Basic support for Airton Protocol (#1670 #1681) - HAIER_AC176: Add Turbo and Quiet settings (#1634) - Gree: Add `SwingH` & `Econo` control. (#1587 #1653) - MIRAGE - Add experimental detailed support. (#1573 #1615) - Experimental detailed support for KKG29A-C1 remote. (#1573 #1660) - ELECTRA_AC: Add support for "IFeel" & Sensor settings. (#1644 #1645) - Add Russian translation (#1649) - Add Swedish translation (#1627) - Reduce flash space used. (#1633) - Strings finally in Flash! (#1493 #1614 #1623) - Add support for Rhoss Idrowall MPCV 20-30-35-40 A/C protocol (#1630) - Make `IRAc::opmodeToString()` output nicer for humans. (#1613) - TCL112AC/TEKNOPOINT: Add support for `GZ055BE1` model (#1486 #1602) - Support for Arris protocol. (#1598) - SharpAc: Allow position control of SwingV (#1590 #1594) **[Misc]** - HAIER_AC176/HAIER_AC_YRW02 - Replace some magic numbers with constants (#1679) - Small fix `Quiet` and `Turbo` test (#1674) - Fix `IRHaierAC176::getTemp()` return value description (#1663) - Security Policy creation and changes. (#1616 #1617 #1618 #1621 #1680) - IRrecvDumpV2/3: Update PlatformIO envs for missing languages (#1661) - IRMQTTServer - Use the correct string for Fan mode in Home Assistant. (#1610 #1657) - Move a lot of the strings/text to flash. (#1638) - Minor code style improvements. (#1656) - Update Supported Devices - HAIER_AC176 (#1673) - LG A/C (#1651 #1655) - Symphony (#1603 #1605) - Epson (#1574 #1601) - GREE (#1587 #1588) - SharpAc (#1590 #1591) - Add extra tests for LG2 protocol (#1654) - Fix parameter expansion in several macros. - Move some strings to `IRtext.cpp` & `locale/default.h` (#1637) - RHOSS: Move include and defines to their correct places (#1636) - Make makefile only build required files when running `run-%` target (#1632) - Update Portuguese translation (#1628) - Add possibility to run specific test case (#1625) - Change `googletest` library ignore (#1626) - Re-work "Fan Only" strings & matching. (#1610) - Address `C0209` pylint warnings. (#1608)
FYI, the code changes mentioned above have now been included in the new v2.8.0 release of the library. |
@PtilopsisLeucotis Great work. My sanity is saved! |
I'm like to solve such riddles! And it is very good, that your sanity is saved 😀 |
FYI, We still need data from you for the Eco, Health, & Turbo buttons. The data in the the byte next to the checksum needs some more explanation too. |
* Add checksum verification to `decodeAirton()`. * Add detailed support for Airton AC's via `IRAirtonAc` class. - Power - Temp - Mode - Fan Speed - SwingV - LED/Light/Display * Add `AIRTON` to `IRac` common API. H/T to @PtilopsisLeucotis for working out the checksum alg. Kudos! For #1670
@jonesy2 I've created a branch (https://github.com/crankyoldgit/IRremoteESP8266/tree/airton_detailed) with experimental detailed support. |
Added data to the spreadsheet for the Eco, Health, Sleep & Turbo buttons.
Good work. Thank you. |
* Re-work Light/LED control bits. * Add support for: - Econo (Eco) in Cool only - Turbo - Health (Filter) - Sleep (Not in Fan or Auto, chaning modes removes it) * Add & update unit tests accordingly. * Add new features to `IRac` class. Fixes #1670
@jonesy2 Thanks for the prompt testing and new information & analysis. I've coded up the changes so it meets your descriptions. Please re-download the latest version of that branch and let me know how capture and sending go for you. |
New branch tested for receive and send. All modes/functions work as expected. However, it's not possible to say whether the AC was in ECO mode, sleep or health as there is no indication from the unit. However, it bleeped which it won't do when the CRC is bad.
I'll start modifying my AC control app to use the |
Thanks for confirming it works. If there are any problems, please create a new issue. |
* Add checksum verification to `decodeAirton()`. * Add detailed support for Airton AC's via `IRAirtonAc` class. - Power - Temp - Mode - Fan Speed - SwingV - LED/Light/Display - Health/Filter - Turbo - Econo/Eco - Sleep * Add `AIRTON` to `IRac` common API. * Add unit test coverage for new changes. H/T to @PtilopsisLeucotis for working out the checksum alg. Kudos! Fixes #1670
_v2.8.1 (20220101)_ **[Bug Fixes]** - Arduino ESP32 Core v2.0.2+ crashes due to our timer hack. (#1715 #1715) - SONY: Fix old Sony CD-Player Remote (12 Bit) (#1714) **[Features]** - Add tool to convert protocol & code to raw timing info. (#1708 #1707 #1703) - Add basic support for COOLIX48 protocol. (#1697 #1694) - MITSUBISHI_AC: Added support for i-SAVE mode. (#1666) - TOSHIBA_AC: Add Filter setting support. aka. Pure. (#1693 #1692) - Airton: Add detailed A/C support. (#1688 #1670) **[Misc]** - Add a structured library version number. (#1717) - Workflows Split UnitTests (#1712) - Reduce time for workflow/Build (#1709) - Fix some compiler & linter warnings (#1699 #1700) - Fujitsu: Update supported A/C models (#1690 #1689 #1702 #1701) - Remove extra `const` qualifier for char pointer (#1704) - TCL: Update supported devices. (#1698) - ESP32-C3: Work around for some C3 specific compiler issues. (#1696 #1695)
## _v2.8.1 (20220101)_ **[Bug Fixes]** - Arduino ESP32 Core v2.0.2+ crashes due to our timer hack. (#1715 #1713 ) - SONY: Fix old Sony CD-Player Remote (12 Bit) (#1714) **[Features]** - Add tool to convert protocol & code to raw timing info. (#1708 #1707 #1703) - Add basic support for COOLIX48 protocol. (#1697 #1694) - MITSUBISHI_AC: Added support for i-SAVE mode. (#1666) - TOSHIBA_AC: Add Filter setting support. aka. Pure. (#1693 #1692) - Airton: Add detailed A/C support. (#1688 #1670) **[Misc]** - Add a structured library version number. (#1717) - Workflows Split UnitTests (#1712) - Reduce time for workflow/Build (#1709) - Fix some compiler & linter warnings (#1699 #1700) - Fujitsu: Update supported A/C models (#1690 #1689 #1702 #1701) - Remove extra `const` qualifier for char pointer (#1704) - TCL: Update supported devices. (#1698) - ESP32-C3: Work around for some C3 specific compiler issues. (#1696 #1695)
FYI, the changes mentioned above have now been included in the new v2.8.1 release of the library. |
Hi,
Hoping to contribute to this great project.
I'm adding all that I have, and will add more/ do more test as required.
The AC did not respond to any codes in the library version v2.7.18
The AC is AIRTON (bought in France). There is no model number, but it is the 2500W version. The remote has no part number, but the chip underneath the lcd is SH77P1652 SINO WEALTH. On the inside of the battery cover is the code RD1A1
Following the I have captured the usual modes (hot/cool etc) at all temperatures. I don't use the timers, or change away from auto fan etc.
The spreadsheet is here
https://docs.google.com/spreadsheets/d/1l-qo6LPPkBYUGSJ65j3-j3iQJg7lGAo96AzR4s6NDOA/edit?usp=sharing
56 bit.
The auto_analyse_raw_data.py code produced code that worked with the slight modification of 56 bit, rather than 57 bit that was suggested.
Manual here https://cdn.shopify.com/s/files/1/2600/0244/files/409730-409731-409732-409733_MANUAL_INSTRUCTION_V01052021.pdf?v=1619861501
The text was updated successfully, but these errors were encountered: