Your Universal Remote Control Center
Discrete Code Hunter Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from


Discretes for LG Lh4010 series TV?
This thread has 1 response. Displaying all posts.
Post 1 made on Tuesday November 28, 2017 at 12:58
Junior Member
November 2017
Evening all,

I've got an LG 42LH4010 TV - had it since new, bought it soe years back...
From what I can find online, looks like it came out around 2011.

I'm using and a Broadlink RM pro to send the discrete codes, and I do have some of them working (HDMI3, HDMI1 etc). requies the Hex codes to be encoded to Base64 - which I've done.

However, the codes that work (that were included as examples) all start with "J", the Hex codes I've found for the LG - when encoded into Base64 - all start with "AA".

More details on & Broadlink integration here...


For example, one of the codes I have working is...


Interestingly, I note the working codes (starting "J" - see link above) do actually have the "AA" after the 4-char prefix (in the above, after "JgBI").

Not on my box to confirm, (I dont thinks it's a case of adding that prefix, as that prefix itself changes slightly between functions).

Any thoughts?

Ta :)
Post 2 made on Friday December 8, 2017 at 10:47
Junior Member
December 2017
To convert from Pronto-formatted codes to RM Bridge format, you can use this short python script: 

The output from the script above can be converted to Base64 and should work with Home Assistant.

I see you've already had this answer over in the HASS forums, but thought I'd mention it here for future searchers. (

Jump to

Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse