LG TV –Best way to configure Universal Control Settings CEC

I was wondering what is the optimal configuration, since when adding a new device you have this options

Set top box
Blueray/ DVD player
Home Theatre
Bluetooth / Sound Bar
OTT

there are some specific presets for certain brands, but Raspberry doesnt show up.

So far I’ve been setting it up as a DVD LG, with some luck, (my raspberry pi 3 doesnt recognise the TV Remote, (the RP4 does).

any Experience to be shared?

Hi,

I think you’ve stumbled across Universal Control magic link (I think it’s called that, I’m away from my lg tv atm). I made the mistake of looking in this section, when I was trying to turn cec back on the other day. This isn’t the right place.

Somewhere in the menu lists, there is an option called simplink, make sure this is turned on. Shutdown the pi. Turn off the TV, (At this point it may be worth unplugging the TV and the pi, the recommend time is 10 minutes. I found 30 seconds was ok). Power the the TV back on, put it on the hdmi input/source for the pi. Then power on the pi. CEC should be working now.

Thanks Tom.

Hi Tom,

What features does the magic remote allow you to control?

Hi,

I’m front of that TV now, its actually called Universal Control (not sure where I got magic link from), I think it allows you setup controlling the listed devises with your TV remote using IR.

Thanks Tom.

1 Like

thanks @Tom_Doyle !!!

yes there is a step by step process, I found that resetting it and not doing anything at all makes it work, which is a bit counterintuitive, but it works for my RP3.

1 Like

For me this works all the time, (every 6 months I need to come back to this post to remember what I have done):

You go to the Home of the LG Smart TV screen (called home panel on my 2022 TV)
on the HDMI 1 (in my case) there is a button with the CEC logo on it, called Remote Control Configuration.
There you press Delete and Ok

and that’s it, the pi and LG understand automatically…

here is a new challenge from LG:

I have a new LG G3 Evo for 2 months now but also some fresh LG problems with HDMI-CEC I made a fresh install of KODI on my RPI-4. When I connect it to the old Sony LCD CEC works perfectly.

The LG does not respond when I try to operate the Kodi with the LG remote. Connecting to different HDMI ports does not help. Tthe kodi-rpi4 is identified as a PC so the TV seems to think it has to do with a PC. Symplink / cec is enabled on the LG.

I can’t do anything useful anywhere in the tv settings unless I go to settings->general->external devices->universal remote settings. I see the regular set-top box neatly appear there, but the kodi-rpi-4 is missing. If I disconnect and reconnect the hdmi cable, the input (HDMI1) even appears on the screen and quickly disappears.

In short, I think the LG automatically recognizes my kodi-rpi-4 as a PC and then ignores the CEC options for this device. Can I somehow convince LG that a set-top box is connected to HDMI1? This option used to be available in tv-os, but I can’t find it anywhere. in the latest os. An alternative on the Kodi side is to ensure that the RPI4 presents itself as a set-top box, which I will ask in the Kodi forums.

any help is welcome

First make sure your plugged into the HDMI port on the RPi 4 that is next to the power output. If that isn’t the issue then figure out how to remove the device in LG’s wizard or change it there to some other kind of device. I think that wizard tends to configure a lot of devices to be controlled by IR from the remote so it ignores CEC.

Hi Darwindesign!

I’ll try switching the HDMI port on the rpi tonight. However I already verified that theCEC works perfectly if I connect to a sony bravia tv. I noticed that the LG displays a little remote in the tab for my settopbox but not in the one for the rpi, which is just labeled pc. In the new lg-os I see no options to manually change the type of input device on the hdmi channels. I’ve asked this at lg and wait for an answer. In the meantime, I was hoping there might be a way to have osmc/kodi identify itself as a settopbox on the hdmi port, but I am no expert. Perhaps this is in the RPI-os?

Both my C1 and C2 worked out of the box with the magic remote - didn’t have to change anything.

CEC spec does not have a “PC” device type and stock OSMC advertises itself on the bus as a recording device or playback device depending on what version your running. I believe that the “PC” name you are seeing is because someone had configured a device type for that port at some point on the LG as otherwise it would show the device name of the OSMC box.

I got the same issue every once in a while, LG automatically tries to detect the pi either has a pc or set top, (every time I get a different one).

this is what I do “just delete the PC or set top configuration”, voila, it works for me all the time.

Similar, but different here - in my case I have a Vero 4K which my LG OLED C3 is detecting automatically as “OTT - OSMC”.
The result: nothing works with the magic remote. To get it working again, I need to delete the configuration of the input device… It works, just not sure what I’m missing out on if it was working with the ‘OSMC’ profile.

While the magic remote works for me (direction up/down/left/right, back/return button etc.), what doesn’t work is the numbers i.e., if I’m watching a movie and I press 1 0 0 0 0 (that would set the time marker to 1 hour (1:00:00). It’s something I used to use a bit when I was running my old Panasonic TV.

Firstly, do the numbers on the remote work for anyone else?

Secondly, if they do, what’s the best way for me to try and get it working?

Different TV’s/other CEC devices have different keys they pass over CEC. The LG TV’s I have do not pass the number keys which probably means that no LG TV’s do. AFAIK most TV’s don’t.

Well he comes from a Panasonic (one of the best CEC implementations) to an LG (one of the worst CEC implementations)
:wink:

Best and CEC in a sentence…

Although I do agree that LG is a disaster.

Ah! Well, good to know then - rather than me sitting here wondering if I’ll ever get it working. I now know that’s a resounding no! Cheers guys.

1 Like

The only thing I achieve is to add a “context menu” button on the “Green telex button” using the addon Keymap Editor. And it was pretty hard to do :

1- Open The program addon “Keymap Editor”
2- Choose “modify” then select the menu which you want to interract, here “File manager”
3- Choose the action you want to link to your button, here “Navigation” → “context menu”
4- push the button you want to assign, here “telex green button”
5- press back until the start screen of the addon and save the keymap you added.

With this “context menu” button I can choose many actions before playing a file.

The “Red telex button” is always linked to the video menu, I can’t modify it. So you can only assign the telex buttons green, yellow and blue. No other button is detected by the addon.

There are situations when the Keymap Editor isn’t able to map certain buttons, and there are actions that are not included in that program, but if one is willing to go through a bit of extra effort you can change that button assignment by manually editing the keymap. The colored buttons via CEC use…

red = <key id="251">
green = <key id="252">
yellow = <key id="253">
blue = <key id="254">

and to gain access to the keymap you could either install SMB server from the My OSMC add-on and connect to the internal drive over the network or use a ssh session from a PC and directly edit it from the command line.