Capture IR code from AC remote

Hello,

I've been trying to capture and re-send the IR code of my AC's remote (remote model: YB1FA).

The funny thing is - I have done this in the past successfully, but now when I try to re-do that, I get a wrong code when I try to capture it.

I'm using the AnalysIR's sketch from here:
AnalysIR's Blog

to capture the code.

My problem is:
When I try it, I get the following output from AnaylsIR

Raw: (279) 8932, -4464, 636, -600, 592, -604, 592, -1652, 632, -604, 592, -568, 628, -600, 596, -600, 596, -564, 632, -600, 596, -1648, 636, -1648, 636, -1648, 636, -1648, 636, -568, 628, -564, 632, -1648, 636, -600, 596, -1648, 636, -1648, 636, -600, 596, -564, 628, -1652, 636, -1648, 636, -600, 596, -568, 624, -568, 628, -616, 580, -600, 596, -1652, 632, -612, 584, -1652, 632, -604, 592, -600, 596, -1648, 636, -616, 580, -19876, 632, -600, 592, -604, 592, -616, 580, -600, 596, -612, 584, -600, 596, -600, 596, -624, 568, -1652, 636, -612, 580, -616, 580, -612, 584, -628, 568, -1652, 632, -568, 628, -600, 596, -612, 584, -612, 584, -612, 580, -568, 628, -568, 628, -612, 584, -600, 596, -600, 596, -564, 632, -600, 592, -628, 568, -564, 632, -600, 596, -600, 596, -1648, 636, -568, 628, -39984, 8920, -4468, 632, -612, 584, -600, 596, -1652, 632, -612, 584, -600, 592, -604, 592, -612, 584, -568, 628, -612, 584, -1652, 632, -1652, 632, -1652, 632, -1652, 632, -616, 580, -620, 576, -1652, 632, -612, 584, -1652, 632, -1652, 632, -568, 628, -568, 628, -1652, 632, -1652, 632, -568, 628, -568, 628, -612, 584, -604, 592, -600, 596, -616, 576, -1652, 636, -1652, 632, -564, 632, -608, 584, -1652, 636, -624, 572, -19872, 632, -568, 628, -628, 568, -600, 596, -612, 584, -612, 580, -568, 628, -568, 628, -604, 592, -568, 628, -564, 632, -616, 580, -1652, 632, -600, 596, -1652, 632, -1652, 632, -612, 584, -600, 596, -564, 628, -568, 628, -1652, 632, -1652, 636, -564, 632, -612, 580, -604, 592, -1652, 632, -568, 628, -604, 592, -568, 628, -1652, 632, -612, 584, -568, 628, -1652, 632,

Of course I removed all the negative signs from there before sending it, this code when sent raw is not working

However - since I've done this before (and failing to repeat) I have the following code that works:

{8932, 4460, 640, 1644, 640, 556, 640, 556, 640, 556, 640, 556, 640, 552, 640, 1644, 644, 552, 640, 556, 640, 556, 640, 556, 640, 1644, 640, 556, 640, 556, 640, 556, 640, 556, 640, 556, 640, 552, 640, 556, 640, 556, 640, 556, 640, 1644, 640, 1644, 644, 552, 640, 556, 640, 556, 640, 556, 640, 556, 640, 1644, 640, 556, 640, 1640, 644, 556, 640, 556, 640, 1644, 640, 556, 640, 19864, 644, 1644, 640, 556, 640, 556, 640, 552, 644, 552, 644, 552, 640, 556, 640, 556, 640, 1644, 640, 556, 640, 556, 640, 556, 640, 556, 640, 1640, 644, 556, 640, 556, 640, 552, 644, 552, 640, 556, 640, 556, 640, 556, 640, 556, 640, 556, 640, 552, 644, 552, 644, 552, 640, 556, 644, 552, 640, 1644, 640, 556, 640, 1644, 640, 556, 640}

And I have no idea why...

Some points:

  • The length of the big code (the one which is not working) is 279 and the working one is 139, which is pretty much as twice as big... how is that related?
  • I'm using the same sketch to sendRaw the code using IRLib and only one of them works (so the sending part works fine, it's the code that's wrong

I've scoured the internet searching for a solution (including this forum) and I have not been able to figure it out, any help or lead would be highly appreciated.

Thanks in advance!

Hi,

It looks like you have captured two codes and they are not identical either so I don't know what you should expect when playing them pack.
If you look at your long capture it starts over after a long pause (-39984) in the middle of your capture.
Try sending just the first half to see if that makes any difference:

8932, -4464, 636, -600, 592, -604, 592, -1652, 632, -604, 592, -568, 628, -600, 596, -600, 596, -564, 632, -600, 596, -1648, 636, -1648, 636, -1648, 636, -1648, 636, -568, 628, -564, 632, -1648, 636, -600, 596, -1648, 636, -1648, 636, -600, 596, -564, 628, -1652, 636, -1648, 636, -600, 596, -568, 624, -568, 628, -616, 580, -600, 596, -1652, 632, -612, 584, -1652, 632, -604, 592, -600, 596, -1648, 636, -616, 580, -19876, 632, -600, 592, -604, 592, -616, 580, -600, 596, -612, 584, -600, 596, -600, 596, -624, 568, -1652, 636, -612, 580, -616, 580, -612, 584, -628, 568, -1652, 632, -568, 628, -600, 596, -612, 584, -612, 584, -612, 580, -568, 628, -568, 628, -612, 584, -600, 596, -600, 596, -564, 632, -600, 592, -628, 568, -564, 632, -600, 596, -600, 596, -1648, 636, -568, 628