ARCHIVED FORUM -- March 2012 to February 2022READ ONLY FORUM
This is the second Archived Forum which was active between 1st March 2012 and 23rd February 2022
Hi,
i'd like to,be able to switch on a LG TV via the RS232 serial port using the LG serial protocol. I just wonder how I can do this via the serial port of the MLGW. I couldn't find any documentation on the way to do this, so if anyone can point me in the right direction, I'd appreciate it.
Noone?
I`m using my MLGW with Lintronic relay board via RS232.
As far as I remember I`ve set up "Custom Strings" as a new device in MLGW menu. Now you have to define baud, bitrate , parity, stop bits.. of your LG TV. I`ve just googled the LG TV RS232 commands. Baudrate should be 9600, bitrate 8, parity none, stopbits 1. Now create a command (for output), name it "LG TV on" (or whatever), and insert the correct LG RS232 command - I found "ka 00 01n" for LG TV power on. LG TV power off is "ka 00 00n".
Fortunately LG provide discrete on/off commands... Now you can create a macro : for example "Beolink TV" as a trigger, "LG TV on" as an event. And/or create a vitual button for Beolink app.
As said before, I`ve googled LG RS232 commands, so not sure, whether this will work with your TV. It is working great with Lintronic RS232 protocool.
You will also find some information on the mlgw site.
http://mlgw.bang-olufsen.dk/source/documents
See installation- and help manuals.
Hope this helps.
Stefan
Thanks - that looks quite easy. Wasn't sure how the custom strings were formatted.
So Power on would be: ka01n\0D
Thanks,
I've defined the two resources in the new device (LGTV) but it isn't clear in the manual how you can connect say the V.Mem button to one of the resources. Ive had a look at macros, but there doesn't seem to be an option for V.MEM in the blink device. The manual doesn't explain how to use this. Can you give me some pointers?
Thanks in advance
Looks very similiar - so if it is the code for your TV, test it.
To correct myself: If you want to control your LG via IR-MLGW-RS232 you have to use Beolink commands in LIGHT or CONTROL mode - "TV" won`t work, because Masterlink will only passthrough commands in LIGHT and CONTROL mode.
Ah, I wasn't aware of that restriction, Really what I want is that whenever TV or V.MEM etc. is pressed, the TV switches on - and switches off when POWER is pressed.
In that case, I'll connect to the MLGW via a raspberry Pi via ethernet and use the PI's serial port to send the commands to the TV. I've already written some python code which connects to the MLGW, so it'll be easy to adapt.
BeoVision Eclipse 55”, Beolab 18s, Beolab 19s, Beosound 1, Beoplay P2, H3, BeoRemote One IR, BeoRemote One BT, Beoplay S8, Beosound Essence MkII, BeoTime
frog: Ah, I wasn't aware of that restriction, Really what I want is that whenever TV or V.MEM etc. is pressed, the TV switches on - and switches off when POWER is pressed. In that case, I'll connect to the MLGW via a raspberry Pi via ethernet and use the PI's serial port to send the commands to the TV. I've already written some python code which connects to the MLGW, so it'll be easy to adapt.
Makes sense. I assume you can control the raspberry via Beo IR -455 kHz? People who don`t have a raspberry, can use a Lintronic box.
Disadvantage is, you can`t control your 3rd party TV from linkrooms. But you can use a Beo5/6 create some buttons that send commands in CONTROL mode and name that buttons "TV" - "GUIDE" - "MENU" - .... in this way it is also possible to control your TV via Beolink.
Actually I don't use IR. Too flakey. I'll use a socket over IP to tell the raspberry to send commands via its serial port. I can add IR later if I want to control other STBs. A very cheap solution compared to Lintronic (if you have MLGW).
Actually I don't use IR. Too flakey. I'll use a socket over IP to tell the raspberry to send commands via its serial port. I can add IR later if I want to control other STBs. A very cheap solution compared to Lintronic (if you have MLGW). This also works multi room (although I can't see why I'd want to turn the TV on if I'm not in the room anyway)