-
Notifications
You must be signed in to change notification settings - Fork 840
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
Trying to calculate Carrier AC raw data by self #636
Comments
Hi, If you modified the IRSendDemo to do the following:
It should send your Power: On, Fan: 0 (AUTO0), Mode: 2 (AUTO), Temp: 30C, Zone Follow: Off, Sensor Temp: Ignored message you listed. i.e. You only need the short code, not the raw data, if you use the appropriate You can also construct custom codes by using the Note: I strongly recommend you use the You can also extract the numerical short code from the class object if you need by using Hope that helps. |
I did encounter a problem with using the irsend.sendCOOLIX(). The size of the packet (=99) is half of the original one (= 199) as follows:
I suspect the Carrier Protocol is not exactly Coolix Protocol. Btw, I also had a look on the ir_Carrier.cpp which said the message contains only 32 bits, but it is sent three(3) times. i.e. normal + inverted + normal. That is not the same to what I found so I reckon I have to do in this way to build my own array. |
Try it with a repeat. e.g.
or
|
That's a nice trick. But there are some differences in the packet and unable to turn on the AC...
do you have any clue? |
Yes, it is possible to change that gap by modifying I'm surprised that the current value (5040) is not compatible. Your original values average around 5150-ish and I would have thought they would be close enough. Let us know what value works for you and we might be able to update it in the library. P.S. I'm not sure what the raw data you've provided immediately above is for. Is it a signal that doesn't work, or one that does? How was it generated? What is that sequence supposed to do? etc etc. |
Yes, it is the value with I retried your code and can control my AC now. The problem was my IR emitter was not close enough. Sorry to waste your time and thanks for the great library.
Your suggested command made MQTT control possible. |
_v2.5.6 (20190316)_ **[Bug Fixes]** - Fix Coolix A/C Class to handle special states better. (#633, #624) **[Features]** - Fix case style for recent A/C protocols. (#631) - Update `IRsend::send()` to include all simple protocols. (#629, #628) - Experimental basic support for 112 bit TCL AC messages (#627, #619) - Add support for TECO AC (#622) - Experimental support for Samsung 36 bit protocol (#625, #621) **[Misc]** - Set Coolix to default to 1 repeat. (#637, #636, #624, #439) - Set Daikin2 modulation to 36.7kHz. (#635) - Refactor IRVestelAC class to use portable code. (#617) - Adjust Daikin2 timings and tolerance. (#616, #582)
_v2.5.6 (20190316)_ **[Bug Fixes]** - Fix Coolix A/C Class to handle special states better. (#633, #624) **[Features]** - Fix case style for recent A/C protocols. (#631) - Update `IRsend::send()` to include all simple protocols. (#629, #628) - Experimental basic support for 112 bit TCL AC messages (#627, #619) - Add support for TECO AC (#622) - Experimental support for Samsung 36 bit protocol (#625, #621) **[Misc]** - Set Coolix to default to 1 repeat. (#637, #636, #624, #439) - Set Daikin2 modulation to 36.7kHz. (#635) - Refactor IRVestelAC class to use portable code. (#617) - Adjust Daikin2 timings and tolerance. (#616, #582)
FYI, v2.5.6 has just been release which includes the changes/improvements mentioned. |
(Apologies, it seems I never clicked send on this earlier)
Yes, there is. |
Version/revison of the library used
IRremoteESP8266 2.5.5
Expected behavior
AC is Carrier 42KCEG12A with remote RH56BGEF-CA
I want to control it via ESP8266 ESP-12E
Sorry if this is a dumb question since I lacked of basic knowledge of IR codec.
The captured code sometimes works so I wish to re-enter all the values to improve my array.
I've tried to use getraw() in COOLIX.cpp without success so I wish to have some hints of COOLIX encoding so as to find the most accurate value of each bit.
I appreciate if there is any example of bit calculation in 38kHz IR remote.
Output of raw data from IRrecvDumpV2.ino (if applicable)
Actual behavior
The text was updated successfully, but these errors were encountered: