-
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
Request to add new protocol - Delonghi PAC A95 #1096
Comments
* sendDelonghiAc() & decodeDelonhiAc() * Unit tests for the above. * Tests include real-world data For #1096
Hi, thanks for the data & analysis. It looks well done, Congrats! I've created branch: https://github.com/crankyoldgit/IRremoteESP8266/tree/DelonghiAc to track the progress of adding it to the library. I'll work on adding detailed support shortly. |
Hi, Thanks for the quick patch. I just tested below code and I can confirm the airco turned on/off with the with the expected temp/mode. void airco_on(){
irsend.sendDelonghiAc(0x5500000000010153);
server.send(200, "text/plain", "AIRCO on");
}
void airco_off(){
irsend.sendDelonghiAc(0x5400000000000153);
server.send(200, "text/plain", "AIRCO off");
} |
Thanks for the feedback/testing! |
* Add power, mode, temp, temp unit, fan speed, turbo(boost) & sleep setting control. * Implement mode/fan/temp restrictions. * Add common A/C api support. * Unit tests for the above. * Enfore checksum matching in decoder. Fixes #1096
Branch updated with support for everything but the timers. I'll look at adding them soon. Please test and let me know etc. |
Hi, I confirm that following items are working as expected. IRDelonghiAc ac(kIrLed); |
Excellent. Thanks for testing it. I'm glad nothing broken was found. |
I will see about testing the On Timer later. For now I tested a few more things and I found 2 unexpected, but otherwise not blocking, behaviors.
Steps to reproduce. In Mode Cool The temperature can be increased from 17C to 18C without any problems.
Steps to reproduce. In Mode Fan Using the FAN button when running in Mode Fan on the AC only cycles through low-medium-high. As I said both issues or not hindering operation. |
* Cool mode now uses the last user set temp when switching to it. * Fan mode uses existing speed when possible. * Unit tests for the above. Fixes #1096 (comment)
Thanks for the feedback & testing. Appreciated.
Fixed/Done.
Fixed/Done. Please note, it's not the library's primary purpose to fully emulate the IR remote control operation of these units. Some of that logic/responsibility has to fall on the user of the library. |
Hi, I can confirm that the on timer is working and the 2 previously reported oddities are also resolved. Many thanks again for adding the requested support in such a short time to the library. |
Any chance you can confirm the off timer bits? |
As I expected the off timer is working exactly the same as the on timer but on bit positions 23 to 8. Sending off time 15:30 at actual time 14:18 gives following result. OFF TIMER: (bits 23-8) |
Ahh. This why I asked. I wasn't sure if the Timer bit before which turned it on or off was for both timers or if there was enable/disable control for each one. Can you provide me with a |
Off Timer added. |
Below the output from setting off timer to 8:51 when the time on the remote displayed16:05.
|
Thanks for that. Phew, for a minute there I thought something was horribly wrong with the "16:46" result, until I did the maths. So it all looks good then to me. |
* sendDelonghiAc() & decodeDelonhiAc() * Unit tests for the above. * Tests include real-world data For #1096
* Add power, mode, temp, temp unit, fan speed, turbo(boost) & sleep setting control. * Implement mode/fan/temp restrictions. * Add common A/C api support. * Unit tests for the above. * Enfore checksum matching in decoder. Fixes #1096
* Cool mode now uses the last user set temp when switching to it. * Fan mode uses existing speed when possible. * Unit tests for the above. Fixes #1096 (comment)
* sendDelonghiAc() & decodeDelonhiAc() * Unit tests for the above. * Tests include real-world data For #1096
* Add power, mode, temp, temp unit, fan speed, turbo(boost) & sleep setting control. * Implement mode/fan/temp restrictions. * Add common A/C api support. * Unit tests for the above. * Enfore checksum matching in decoder. Fixes #1096
* Cool mode now uses the last user set temp when switching to it. * Fan mode uses existing speed when possible. * Unit tests for the above. Fixes #1096 (comment)
* Including detail support for: - Power - Mode - Temp (C & F) - Fan Speed - Boost (Turbo) - Sleep - On/Off Timers * Common A/C API updated * Supports Delonghi PAC A95 * Unit tests etc. * Basic send/decode tested on real device. Working. * Kudos to @TheMaxxz for doing the protocol analysis/reverse engineering. Top marks! Fixes #1096
_v2.7.7 (20200519)_ **[BREAKING CHANGES]** - Fix Symphony protocol. (#1107, #1105) * Now 12 bits and bits are inverted. All previous codes will no longer work. - IRMQTTServer: Better handle power & mode operations for Home Assistant. (#1099, #1092) * When `MQTT_CLIMATE_HA_MODE` is enabled (default) this will break previous operation mode resumption when power is changed. **[Bug Fixes]** - Set correct return type for `.calibrate()` (#1095, #1093) **[Features]** - Add basic support for Carrier 40 & 64 bit protocols. (#1125, @1112, #1127) - Gree: Enable native support for Fahrenheit (#1124, #1121) - Gree: Add option to control display temp source. (#1120, #1118) - Add support for Multibrackets protocol. (#1106, #1103) - Add RawToPronto.py tool & improve `sendPronto()` precision (#1104, #1103) - Add support for `Doshisha` LED light protocol (#1115) - Introduce IRrecvDumpV3 with basic OTA update support (#1111) - Add detailed support for Delonghi A/C (#1098, #1096) - Improved support for SharpAc. (#1094, #1091) - Update auto_analyse to use new decode call structure. (#1102, #1097) - Added Blynk app example (#1090)
_v2.7.7 (20200519)_ **[BREAKING CHANGES]** - Fix Symphony protocol. (#1107, #1105) * Now 12 bits and bits are inverted. All previous codes will no longer work. - IRMQTTServer: Better handle power & mode operations for Home Assistant. (#1099, #1092) * When `MQTT_CLIMATE_HA_MODE` is enabled (default) this will break previous operation mode resumption when power is changed. **[Bug Fixes]** - Set correct return type for `.calibrate()` (#1095, #1093) **[Features]** - Add basic support for Carrier 40 & 64 bit protocols. (#1125, @1112, #1127) - Gree: Enable native support for Fahrenheit (#1124, #1121) - Gree: Add option to control display temp source. (#1120, #1118) - Add support for Multibrackets protocol. (#1106, #1103) - Add RawToPronto.py tool & improve `sendPronto()` precision (#1104, #1103) - Add support for `Doshisha` LED light protocol (#1115) - Introduce IRrecvDumpV3 with basic OTA update support (#1111) - Add detailed support for Delonghi A/C (#1098, #1096) - Improved support for SharpAc. (#1094, #1091) - Update auto_analyse to use new decode call structure. (#1102, #1097) - Added Blynk app example (#1090) **[Misc]** - update auto_analyse script to use new param documentation (#1126) - Improve `raw_to_pronto_code.py` (#1122, #1103) - Use pattern rules in Makefiles to reduce specific rule (#1110) - Update list of supported Daikin models. (#1101)
_v2.7.7 (20200519)_ **[BREAKING CHANGES]** - Fix Symphony protocol. (#1107, #1105) * Now 12 bits and bits are inverted. All previous codes will no longer work. - IRMQTTServer: Better handle power & mode operations for Home Assistant. (#1099, #1092) * When `MQTT_CLIMATE_HA_MODE` is enabled (default) this will break previous operation mode resumption when power is changed. **[Bug Fixes]** - Set correct return type for `.calibrate()` (#1095, #1093) **[Features]** - Add basic support for Carrier 40 & 64 bit protocols. (#1125, #1112, #1127) - Gree: Enable native support for Fahrenheit (#1124, #1121) - Gree: Add option to control display temp source. (#1120, #1118) - Add support for Multibrackets protocol. (#1106, #1103) - Add RawToPronto.py tool & improve `sendPronto()` precision (#1104, #1103) - Add support for `Doshisha` LED light protocol (#1115) - Introduce IRrecvDumpV3 with basic OTA update support (#1111) - Add detailed support for Delonghi A/C (#1098, #1096) - Improved support for SharpAc. (#1094, #1091) - Update auto_analyse to use new decode call structure. (#1102, #1097) - Added Blynk app example (#1090) **[Misc]** - update auto_analyse script to use new param documentation (#1126) - Improve `raw_to_pronto_code.py` (#1122, #1103) - Use pattern rules in Makefiles to reduce specific rule (#1110) - Update list of supported Daikin models. (#1101)
_v2.7.7 (20200519)_ **[BREAKING CHANGES]** - Fix Symphony protocol. (#1107, #1105) * Now 12 bits and bits are inverted. All previous codes will no longer work. - IRMQTTServer: Better handle power & mode operations for Home Assistant. (#1099, #1092) * When `MQTT_CLIMATE_HA_MODE` is enabled (default) this will break previous operation mode resumption when power is changed. **[Bug Fixes]** - Set correct return type for `.calibrate()` (#1095, #1093) **[Features]** - Add basic support for Carrier 40 & 64 bit protocols. (#1125, #1112, #1127) - Gree: Enable native support for Fahrenheit (#1124, #1121) - Gree: Add option to control display temp source. (#1120, #1118) - Add support for Multibrackets protocol. (#1106, #1103) - Add RawToPronto.py tool & improve `sendPronto()` precision (#1104, #1103) - Add support for `Doshisha` LED light protocol (#1115) - Introduce IRrecvDumpV3 with basic OTA update support (#1111) - Add detailed support for Delonghi A/C (#1098, #1096) - Improved support for SharpAc. (#1094, #1091) - Update auto_analyse to use new decode call structure. (#1102, #1097) - Added Blynk app example (#1090) **[Misc]** - update auto_analyse script to use new param documentation (#1126) - Improve `raw_to_pronto_code.py` (#1122, #1103) - Use pattern rules in Makefiles to reduce specific rule (#1110) - Update list of supported Daikin models. (#1101)
FYI, the changes mentioned above have now been included in the latest release (v2.7.7) of the library. |
Thanks. This would greatly facilitate integration into esphome without having to manually overwrite the src. |
so about that integration this into climate on esphome? we have some people trying in the esphome discord right now |
Hi, What kind of help do you need for this? Below are some of the basic configurations that I have in my device.yaml file:
|
@TheMaxxz any chance you could share your custom climate component delonghi_ir.h (anonymised of course)? |
Find attached |
Hello,
This is a request to add support for Delonghi PAC A95
https://www.delonghi.com/en-int/products/comfort/air-conditioning/portable-air-conditioners/pinguino-air-to-air-pac-a95
I have reverse engineered the IR protocol below which I believe is the most intensive work of the project, but writing code is not my forte.
The protocol is 64bit.
Information collected via auto_analyse_raw_data.py
Raw: (131) {8984, 4200, 608, 1516, 608, 1516, 612, 472, 556, 528, 560, 1564, 556, 528, 560, 1564, 564, 528, 552, 1572, 556, 1568, 556, 528, 552, 1572, 556, 1568, 560, 1564, 552, 1572, 556, 1576, 552, 1568, 560, 528, 560, 524, 556, 528, 552, 532, 560, 528, 552, 532, 556, 532, 560, 1564, 560, 528, 552, 1568, 560, 1564, 564, 524, 556, 528, 560, 524, 556, 536, 556, 1568, 560, 524, 556, 1568, 560, 1564, 584, 500, 588, 496, 584, 500, 592, 500, 588, 496, 584, 500, 592, 496, 584, 500, 588, 496, 584, 500, 592, 492, 584, 508, 584, 500, 588, 496, 584, 500, 592, 496, 584, 500, 580, 504, 584, 500, 580, 508, 584, 1544, 584, 500, 588, 496, 584, 1540, 588, 500, 580, 1540, 588, 1536, 588, 500, 592};
Output from auto_analyse_raw_data.py -g -n TestExample
Below is python code that I added to ./auto_analyse_raw_data.py to validate the checksum.
Finally I have attached a selection of 90 raw samples.
raw.txt
The text was updated successfully, but these errors were encountered: