Page 1 of 1

How to Convert LIRC Code to Slingbox BIN?

Posted: Thu Aug 25, 2011 2:09 pm
by Fall
Can someone please help to point me to the right direction how to convert the LIRC code I created for a new version 2.0 Kylin IP TV box remote to Sling box BIN?
The one under Sling box folder for Kylin TV2000+ is version 1 box.
This new V2 Kylin IPTV is from, I believe, TransVideo model TV2000N-M.

I managed to record a LIRC file, have no idea how to get it into RM or Sling BIN. Checked the tool section and did a search. It looks like not a simple convert?

# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.3(udp) on Thu Aug 25 15:33:07 2011
#
# contributed by
#
# brand: kylin2
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

name kylin2
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100

header 8973 4395
one 617 1607
zero 617 500
ptrail 621
repeat 8978 2179
pre_data_bits 16
pre_data 0x803F
gap 107029
min_repeat 1
toggle_bit_mask 0x0

begin codes
Power 0x807F
SUB 0x18E7
HOME 0x48B7
LANG 0xE21D
SETUP 0x6A95
TEST 0x5AA5
FAV 0x8A75
GUIDE 0x4AB5
CC 0xCA35
REW 0x02FD
PLAY 0x2AD5
FF 0x28D7
STOP 0xAA55
UP 0xE817
PAUSE 0xEA15
LEFT 0x42BD
OK 0xA857
RIGHT 0x827D
BACK 0x08F7
DOWN 0x58A7
NEXT 0xC03F
VOL+ 0x38C7
MUTE 0x22DD
CH+ 0x30CF
VOL- 0xF807
INFO 0xA25D
CH- 0x629D
1 0x00FF
2 0xE01F
3 0x609F
4 0x20DF
5 0xD02F
6 0x50AF
7 0x10EF
8 0xF00F
9 0x708F
SHIFT 0xC23D
0 0xC837
DELETE 0x906F
end codes

end remote

Posted: Thu Aug 25, 2011 3:14 pm
by The Robman

Posted: Thu Aug 25, 2011 3:32 pm
by vickyg2003
I see Rob beat me to it. I found the new Primacy feature in RM to be very helpful in the Hex to OBC calculations, but I still wasn't fast enough.

Posted: Thu Aug 25, 2011 3:59 pm
by The Robman
ha ha, I would have let you do it if I knew you were going to.

Does my RM file match what you came up with?
https://www.hifi-remote.com/forums/dload ... le_id=9860

Posted: Thu Aug 25, 2011 4:53 pm
by vickyg2003
Yes that's exactly what I came up with. The timings looked close enough to be Nec1 and as long as this device isn't as crazy as those drapes you worked on, this should work just fine.

Posted: Fri Aug 26, 2011 8:29 am
by Fall
It is not working for me.
I put both files under SBAV folder, it overwritten the old one C2010_RV file I had for version 1.
If I put only new C2010_RV.bin, when I went thru setup, it would complain can't find the code. So I have to put the C2010_PL there as well, which I used to only have one file the RV, I guess for NTSC version?
Also the new bin file is much shorter compared to V1 version under Kylin TV2000+ found from JP1 web site.
I will do more test on other computer I have and see if I can see any signal flashing using a digital camera.

Thank you! It's working

Posted: Fri Aug 26, 2011 2:18 pm
by Fall
Thank you for your speedy response!!!
I just tested the code you helped converted from my LIRC config file, it's working for Kylin TV version 2.0 box, TransVidoe model TV2000N-M.
I found the IR socket for Sling Pro was broken during my consistantly searching for a working remote for this V2 TV box.
Now, I have to fix my broken socket... :(

Posted: Fri Aug 26, 2011 4:08 pm
by The Robman
Glad to hear it worked.