Broadlink RM Mini codes - command_off not working

I have added the switch for my Broadlink RM Mini to use with my LG tv. The switch is successfully added and the “on” command works but the “off” does not.
I used the codes as follows:

command_on: 'JgBGAJKVETkRORA6ERQRFBEUERQRFBE5ETkQOhAVEBUQFREUEBUQOhEUERQRORE5EBURFBA6EBUQOhE5EBUQFRA6EDoRFBEADQUAAA'
        command_off: 'JgBGAJOVEDoQOhA6DxYPFhAVEBUQFRA6ETkROREUERQRFBEUEBUQFREUERQRORE5EBUQFRE5ETkRORE5ERUQFRA6DzsPFhAADQUAAA'

No errors on the config.

Any help?

Maybe the code is not correct. Have you tried to send out the code with the dev-tools call service function? Just to see what happens. If the TV doesn’t react then the code is incorrect. Try to record it again.

1 Like

So I tried using the same code for the command_on and command_off lines because the remote has a single button to toggle the power on & off.
No luck though.

Which LG model do you have?

These are clearly not the same command codes. OFF is totally different than ON.

LG TV model - 65UH6150-UB

I think it’s a long shot but try this code for turning OFF. Maybe…

AAAAbQAmAAABVQCqABYAFQAWABUAFgBAABYAFQAWABUAFgAUABYAFQAWABUAFgBAABYAQAAWABUAFgBAABYAQAAWAEAAFgBAABYAQAAWAEAAFgAUABYAQAAWABUAFgAVABYAFAAWAEAAFgBAABYAFAAWAEAAFgAVABYAQAAWAEAAFgBAABYAFAAWABUAFgYLAVUAVQAWDlgBVQBVABYAqg==

Hello GAS, I think your formatting is not correct. “command_on” and “command_off” must have the same line indent from the left. Have you already tried this formatting?

command_on: 'JgBGAJKVETkRORA6ERQRFBEUERQRFBE5ETkQOhAVEBUQFREUEBUQOhEUERQRORE5EBURFBA6EBUQOhE5EBUQFRA6EDoRFBEADQUAAA'
command_off: 'JgBGAJOVEDoQOhA6DxYPFhAVEBUQFRA6ETkROREUERQRFBEUEBUQFREUERQRORE5EBUQFRE5ETkRORE5ERUQFRA6DzsPFhAADQUAAA'

Look at the documentation…

As an example, my “configuration.yaml” looks like this …

He said there are no errors on the config. So probably he just made a mistake when copy pasted the code.

Hello A320Peter, I have read that too… I have moved my formatting and it is a :exclamation: displayed …

I’m not a professional, but with the formatting errors, I had to learn painfully. But I’m also interested and want to find out why it does not work…

Oh man! Tried all the suggestions but still not working!
Thanks to you all.
If ANYTHING comes to mind please let me know. For now I’m going to take it off my panel and see if anything better comes up to be able to switch this tv on & off.