Problem to send RC6 Codes with IRsend

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
roelleke
Normal user
Posts: 2
Joined: 23 Feb 2019, 18:00

Problem to send RC6 Codes with IRsend

#1 Post by roelleke » 23 Feb 2019, 18:09

Hello,

I tried to send RC6 IR-Codes with the IRsend function.
I used: "irsend,RC6,C8052800C,36" but the output, monitored with the Arduino IRrecvDumpV2.ino shows this:

Code: Select all

Timestamp : 003785.631
Encoding  : RC6
Code      : 2800C (20 bits)
Library   : v2.5.5

Raw Timing[37]:
   +  2566, -   906,    +   442, -   922,    +   448, -   460,    +   900, -  1338, 
   +  1350, -   900,    +   448, -   450,    +   442, -   450,    +   442, -   458, 
   +   454, -   454,    +   448, -   448,    +   454, -   440,    +   452, -   448, 
   +   454, -   444,    +   448, -   452,    +   450, -   456,    +   892, -   452, 
   +   450, -   898,    +   450, -   458,    +   456

uint16_t rawData[37] = {2566, 906,  442, 922,  448, 460,  900, 1338,  1350, 900,  448, 450,  442, 450,  442, 458,  454, 454,  448, 448,  454, 440,  452, 448,  454, 444,  448, 452,  450, 456,  892, 452,  450, 898,  450, 458,  456};  // RC6 2800C
uint32_t address = 0x280;
uint32_t command = 0xC;
uint64_t data = 0x2800C;
I Use the ESPEasy version: mega-20190215
Ohter Codes as example RC5 or NEC works fine.
That looks for me as an Error in the send-function

jimmys01
Normal user
Posts: 11
Joined: 07 Jan 2019, 22:37

Re: Problem to send RC6 Codes with IRsend

#2 Post by jimmys01 » 27 Feb 2019, 17:45

Post also the log when sending the command.

roelleke
Normal user
Posts: 2
Joined: 23 Feb 2019, 18:00

Re: Problem to send RC6 Codes with IRsend

#3 Post by roelleke » 28 Feb 2019, 12:39

Hello,

here ist the Serial Log (Debug Dev) during sending the IR-Signal:

Code: Select all

361420 : sendcontent free: 9408 chunk size:400
361426 : sendcontent free: 8888 chunk size:400
361429 : sendcontent free: 8736 chunk size:400
361452 : sendcontent free: 8736 chunk size:400
361456 : sendcontent free: 8064 chunk size:400
361477 : sendcontent free: 8736 chunk size:400
361481 : sendcontent free: 8736 chunk size:400
361504 : sendcontent free: 8736 chunk size:400
361507 : sendcontent free: 8736 chunk size:400
361511 : sendcontent free: 8064 chunk size:400
361532 : sendcontent free: 8736 chunk size:400
361556 : sendcontent free: 8736 chunk size:400
361559 : sendcontent free: 8216 chunk size:400
361564 : sendcontent free: 7928 chunk size:400
361613 : sendcontent free: 8712 chunk size:400
361630 : sendcontent free: 8648 chunk size:400
361636 : sendcontent free: 8544 chunk size:400
361762 : IRTX :IR Code Sent: rc6
361768 : sendcontent free: 10624 chunk size:400
361775 : sendcontent free: 9288 chunk size:400
361782 : sendcontent free: 8616 chunk size:400
361798 : sendcontent free: 9304 chunk size:400
361822 : sendcontent free: 9256 chunk size:400
361828 : sendcontent free: 8664 chunk size:400
361862 : sendcontent free: 8720 chunk size:309
361866 : sendcontent free: 9392 chunk size:0
362011 : Memtrace
0: lowest: 5848  sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6008 sendContentBlocking-> 6544 sendContentBlocking-> 6656 SaveSettings-> 7368 SaveToFile-> 7344 flashGuard-> 7344 sendContentBlocking-> 7480 sendContentBlocking-> 7936 sendContentBlocking-> 7280 sendContentBlocking-> 7232 sendContentBlocking-> 7200 sendContentBlocking-> 5848 
362012 : 1: lowest: 5888  sendContentBlocking-> 6544 sendContentBlocking-> 6656 SaveSettings-> 7368 SaveToFile-> 7344 flashGuard-> 7344 sendContentBlocking-> 7480 sendContentBlocking-> 7936 sendContentBlocking-> 7280 sendContentBlocking-> 7232 sendContentBlocking-> 7200 sendContentBlocking-> 5848 sendContentBlocking-> 6064 sendContentBlocking-> 6560 sendContentBlocking-> 6560 sendContentBlocking-> 5888 
362013 : 2: lowest: 6008  sendHeaderBlocking-> 8696 sendWebPage-> 7416 sendContentBlocking-> 7352 sendContentBlocking-> 7352 sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6008 sendContentBlocking-> 6680 sendContentBlocking-> 6008 sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6680 sendContentBlocking-> 6008 
362014 : WD   : Uptime 6 ConnectFailures 0 FreeMem 9912 WiFiStatus 3
362016 : UDP  : Send Sysinfo message
362899 : LoopStats: shortestLoop: 108 longestLoop: 732224 avgLoopDuration: 171.66 loopCounterMax: 277777 loopCounterLast: 169604 countFindPluginId: 0
362900 : Scheduler stats: (called/tasks/max_length/idle%) 169603/2069/7/85.50
389119 : Read settings: TaskSettings index: 0
389126 : SYS  : 6.00,-63.00,10880.00,14.50

rad3d
Normal user
Posts: 1
Joined: 25 May 2019, 16:07

Re: Problem to send RC6 Codes with IRsend

#4 Post by rad3d » 25 May 2019, 16:10

I"m having the same issue. NEC codes 32 bits work fine. RC6 codes using 36 bits are not working it seems.
Probably 32bits would work but I need 36bits.
On v2.0.0-dev8

jimmys01
Normal user
Posts: 11
Joined: 07 Jan 2019, 22:37

Re: Problem to send RC6 Codes with IRsend

#5 Post by jimmys01 » 07 Jun 2019, 15:11

Ok problem is found I will try and fix it for you.

happytm
Normal user
Posts: 48
Joined: 15 Aug 2016, 17:53

Re: Problem to send RC6 Codes with IRsend

#6 Post by happytm » 07 Jul 2019, 01:36

Jimmy,

Can you please compile a firmware for me mentioned here at the end : https://github.com/letscontrolit/ESPEasy/pull/2490.

I tried to install platformIO but I was not successful as it require steep learning curve. Arduino compiling do not work for me for long time.

Your help is appreciated.
Thanks

happytm
Normal user
Posts: 48
Joined: 15 Aug 2016, 17:53

Re: Problem to send RC6 Codes with IRsend

#7 Post by happytm » 08 Jul 2019, 21:00

Happy testing is understatement.
I am beyond happy.I was trying to compile for last 4 days with PlatformIO/Atom without success.Now I can go ahead with my projects and these plugins are all I will need in any situation in future specially I feel IR plugins are cheapest and simplest (because you made it simplest) input/output sensors with unlimited potential. I can confirm your firmware worked flawless even with fixed IP.

I truly appreciate your effort to make IR plugins for ESPEasy what it is today.Hopefully they become part of normal compile process for ESPEasy team.I believe there is no other sensor which is so cheap(10 cents a pair),simpler in hardware design ,and smaller in size and can do so much for input/output tasks.

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests