HDMI CEC with LG TV

Associate
Joined
22 Mar 2012
Posts
108
Hi,

I've tried asking this in the kodi forums and not had any reply yet so though i see if any of the knowledgeable at OCUK have any experience of this problem and can help.

I have bought a pulse 8 usb cec adapter and have managed to get my TV remote to control live TV on kodi using the arrow keys, back play and pause ect. This is proof the CEC link is working.

The problem i have is that i can't get the TV to power off when i exit kodi or to power on when i resume from a suspend/hibernate state.

The main reason for buying the adapter was so i could get rid of my TV remote and only use the MCE remote i use for kodi. The only function that is missing from the MCE remote is TV power on/off. Does anyone know how to get this to work?

I have set the settings in Settings\System\Peripherals so that the power off and on functions should be working on the TV when i exit/resume from suspend.

I have a feeling this may be a problem with the TV as it has very limited simplink controls, i have seen some of the more expensive LG tv's have an 'auto power' on/off setting under simplink controls but this does not appear to be included on my model.

My system is:

-Windows pc 8
-Kodi version 15.0 windows alpha 1.
-LG42LB5500 TV
-Pulse 8 usb HDMI adapter

If you need any further in fo please ask.
 
Does the TV definitely support being turned off? As I found out in the past, there is very little consistency as to how CEC is implemented...
 
Thanks for your reply.

This is what i'm leaning towards as the problem. I think with it being the most basic LG model (£300 pounds for a 42 inch TV) that it may not support power functions over CEC.

Just thought i'd ask round to make sure and maybe get some confirmation if this is the problem.
 
Also got a lg TV Using Kodi in my setup and a raspberry pi, I'm able to turn the TV on etc when Kodi starts and it will accept remote control commands etc but like you it also won't switch off.

I thought the same it was just something not supported, until I got the xbox one which is able to turn it on and off with 0 issues so I've pinned it down to something with Kodi and the cec commands, keep meaning to look into it more but I keep forgetting and just have a off timer set for everyday and it turns itself off if idle for 3 hours.
 
I really like the CEC adaptor, I have 2.

But honestly I think you are approaching this wrong: Why not use the TV remote?
Then you can have KODI sleep when you switch the tv off and wake when you turn it on?
You can also control what each key does in kodi using the remote.xml file.
Finally I don't have a LG TV but my sony one supports a lot more keys than my samsung, i.e. I can alpha search with the number keys in the library. This required a change in the cec settings on the tv.

EDIT: I assume you found the cec setting in kodi.
 
Last edited:
Just gave my LG tv and LG bluray HT player a test, both devices showing simplink together, HD player ticked,Audio set to HT.
Using power button on the BR remote, it just switches off the BR, not the TV.
Just plugged in my pulse 8adapter, set tv to off when shutdown kodi, nope tv stays on.
My tv's an 42LN5400

After playing, must say I'm very impressed with the pulse 8, (TV automatically simplinked it as a HDD recorder)using my One-for-All in TV mode, or LG TV remote everything is working fine, one press of the TV remote power button everything switches off BR, TV and Kodi box.
MCE remote off to the cupboard with the rest of the redundant remotes. I've got a universal remote (from the local pound shop) might give that a run through when I can find it :)
 
Last edited:
Place remote.xml in userdata/keymaps

Code:
<keymap>
  <global>
    <remote>
      <red>ActivateWindow(Home)</red>
      <green>Info</green>
      <yellow>OSD</yellow>
      <blue>ToggleWatched</blue>
      <title>PreviousMenu</title><!-- Return -->
      <guide>ContextMenu</guide>
    </remote>
  </global>
  <FullscreenVideo>
    <remote>
      <blue>ShowSubtitles</blue>
    </remote>
  </FullscreenVideo>
</keymap>


That's just my settings for my Samsung remote. You can set whatever you want, but this will make blue button mark as watched and toggle subtitles. As well as some other things.
 
Thanks for all the responses, some really good info included.

I was put off using the kodi remote as it didn't seem to have many functions that worked in kodi but after reading around it seems you can map quite a few of the keys by editing the remote.xml as ferretboy has shown above.

I'll have a play about tonight and report back with my findings.
 
Back
Top Bottom