Hi, 

Thanks for your reply. I am sure it is a IR remote. And I think the problem is that the IR codes is too long. I tried to force the remote mode for my this remote, but I don't know the right format for config file.

Here is the output of mode2:

space 7213612
pulse 9039
space 4462
pulse 648
space 532
pulse 660
space 525
pulse 657
space 1643
pulse 666
space 1662
pulse 664
space 526
pulse 654
space 534
pulse 656
space 534
pulse 631
space 568
pulse 619
space 1671
pulse 657
space 533
pulse 657
space 1643
pulse 659
space 1636
pulse 657
space 537
pulse 656
space 536
pulse 654
space 533
pulse 662
space 528
pulse 656
space 534
pulse 657
space 533
pulse 657
space 532
pulse 657
space 532
pulse 662
space 527
pulse 656
space 1645
pulse 657
space 533
pulse 654
space 535
pulse 653
space 537
pulse 653
space 1674
pulse 630
space 560
pulse 630
space 560
pulse 629
space 1670
pulse 654
space 535
pulse 656
space 1643
pulse 661
space 530
pulse 654
space 534
pulse 654
space 1646
pulse 657
space 533
pulse 660


Does anyone know how to put in the config file?
My TV remote's raw config file looks like this:

begin remote

  name  temp_force.conf
  flags RAW_CODES
  eps            30
  aeps          100

  gap          50548

      begin raw_codes

          name key_1
             3816    1626     552     200     538     226
              513    1199     487     291     454    1253
              448     315     435    1271     424     426
              412    1304     393    1322     391    1322
              387     369     392    1314     389     372
              390    1318     390     467     391    1326
              387    1325     389     358     393     368
              388    1320     389     372     393    1311
              392     450     393     361     395     357
              392     370     395    1327     388    1312
              390     369     394    1315     395     445
              395     358     393     368     388    1328
              390    1323     383     363     390     373
              394    1312     391     458     390    1317
              392     369     396    1311     395     360
              391     360     393     368     386    1321
              392     370     387


So what is the aps, aeps, gap of my AC remote? Do I just put every number after the 'name key_1'? Could anyone help me? Thanks

Jiechao


On Wed, May 14, 2014 at 5:49 AM, Paul Gration <pmgration@gmail.com> wrote:

Is there any difference when short pressing / holding buttons for 1 or 2 seconds?
Using the ccd camera trick can you verify something is being transmitted?
As suggested mode2 / xmode2 might come in handy to debug..

On 13 May 2014 19:53, "Joel Ebel" <lirc@ebel.mybox.org> wrote:
On Tue, May 13, 2014 at 4:16 AM, Jiechao Li <jiechao0520@gmail.com> wrote:

The problem occurs when i am using the remote for my Gree Air Conditioner. But the software works fine with the remote of TV. I am sure the hardware is okay, and the IR signal is received well. I guess it's the software's problem here.

So, does anyone have a clue what might go wrong?

Are you certain it's an infrared remote? Searching for images shows that it has a display, making me wonder if it does two-way communication with the unit, which would most likely be some other RF protocol. Does it have an obvious LED or window for one on the front of it? If not, it's probably RF. Does it still work if you put your hand in front of it, point it away from the unit, or use it from another room? If so, it's RF. If you run 'mode2' and watch the output, your TV remote will show obvious IR signals being detected if your receiver is working properly. If you don't get that for the Gree remote, then it's not sending IR.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs



--
Best wishes

Jiechao Li