Need .rm or .bin from LIRC

Need help adding new codes to your Slingbox, this is the place to ask. You're welcome to ask general Slingbox questions here, but be aware that most of us are not Slingbox experts.

Moderator: Moderators

Post Reply
j0ksta
Posts: 5
Joined: Mon Oct 10, 2016 3:34 pm

Need .rm or .bin from LIRC

Post by j0ksta »

Hello all,

I have been trying to get this to work for about a week now with no avail. I have an LIRC configuration that works well on a raspberry pi. I am trying to convert this to work on Slingbox. I have RemoteMaster and haven't had much luck mapping to the correct protocol settings. This is for an LG STB-3000 set-top box which uses the AKB73275673 remote. I believe it uses some configuration of the NEC protocol. Any help would be greatly appreciated. I also promise to stick around, confirm working configuration, and upload created files to the appropriate places.

Code: Select all

begin remote
    
    name    LG_NEC
    bits    16
    flags   SPACE_ENC|CONST_LENGTH
    eps     30
    aeps    100
    
    header          9056    4448
    one             601     1647
    zero            601     538
    ptrail          601
    repeat          9081    2199
    pre_data_bits   16
    pre_data        0x20DF
    gap             108229
    toggle_bit_mask 0x0
    
    begin codes
        KEY_POWER       0x10EF
        KEY_0           0x08F7
        KEY_1           0x8877
        KEY_2           0x48B7
        KEY_3           0xC837
        KEY_4           0x28D7
        KEY_5           0xA857
        KEY_6           0x6897
        KEY_7           0xE817
        KEY_8           0x9867
        KEY_9           0xCA35
        KEY_VOLUMEUP    0x40BF
        KEY_VOLUMEDOWN  0xC03F
        KEY_MUTE        0x906F
        KEY_CHANNELUP   0x00FF
        KEY_CHANNELDOWN 0x807F
        KEY_EXIT        0xDA25
        KEY_MENU        0xC23D
        KEY_EPG         0xD52A  #Guide
        KEY_INFO        0x55AA
        KEY_UP          0x02FD
        KEY_DOWN        0x827D
        KEY_LEFT        0xE01F
        KEY_RIGHT       0x609F
        KEY_SELECT      0x22DD
        KEY_BACK        0x14EB
        KEY_SUBTITLE    0x9C63
        KEY_RED         0x4EB1
        KEY_GREEN       0x8E71
        KEY_YELLOW      0xC639
        KEY_BLUE        0x8679
        KEY_WWW         0x30CF  #Portal
        KEY_TIME        0x8976  #Timer
        KEY_MEDIA       0x3EC1  #Smart
        KEY_MODE        0xD02F  #Input
        KEY_M           0x708F  #Mark
        KEY_KPMINUS     0x32CD  #-
        KEY_PREVIOUS    0x58A7  #FlashBk
    end codes
    
end remote
j0ksta
Posts: 5
Joined: Mon Oct 10, 2016 3:34 pm

Post by j0ksta »

FWIW, I have tried the following already:

1. NEC1-f16 Official using the full codes starting all with 0x20DF
2. NEC1 (No Repeats) using device number 251 in order to make the Fixed Data 0x20DF
3. Every LG .rm and .bin file I could find on this site, hoping that at least 1 button would work and I could copy the protocol settings, couldn't find a single one
4. All Slingbox built-in remotes, only one of which responded to the arrows and power commands: LG 6710T00017E. But, since I can't get the bin file off of the slingbox, this doesn't help me discover the protocol settings.
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

You have shown great skills. There is just one piece of trivial JP1 knowledge that is missing. The Nec1 protocol executor was written with 0 an 1 reversed, so you need when you are looking at the Hex data, you should see the complement.

So this would be Nec1 4, otherwise known as Nec1 4, 251.

For the values of the functions, enter the second byte of hex in the hex column or calculate the decimal of the hex of the first byte and enter that decimal number in the OBC column.
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
j0ksta
Posts: 5
Joined: Mon Oct 10, 2016 3:34 pm

Post by j0ksta »

Thank you so much! Everything worked when I changed the Device to 4. I will upload all of the files to the File Section, and will post the link here for future lurkers shortly.
mdavej
Expert
Posts: 4631
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

Thanks for your efforts and for posting the upgrades. I'm glad this was a good learning exercise for you. But there was no need to go to all of that trouble. Your file is essentially identical to all our other LG TV files. In the future, you should first simply try an existing file for a different model of a similar vintage +/-10 years.
j0ksta
Posts: 5
Joined: Mon Oct 10, 2016 3:34 pm

Post by j0ksta »

The main difference is the Pro:Centric portion. This includes the codes for things such as the PORTAL and SMART buttons, which only exist for Hospitality models of LG TVs and STBs.
Post Reply