RS232 HEX CODE FOR SONY AND LG DISPLAY. What am trying to do is control the sony tv from the dmm using advanced task. Videoredo Tvsuite Version 5 Keygen there. To start with i can not control the TV using the format specified by jdedell12. I have both the hdmi and rs232 cable connected to the back of the display. LibLGTV_serial is a Python library to control LG TVs (or monitors with serial ports) via their serial (RS232) port. It aims to reduce the legwork needed to use this functionality on your TV - simply enter your TV model number and serial port and you're good to go!
LG TV control using serial protocol This binding can send some commands typically used by LG LCD TVs (and some used by projectors). See below for a list of supported channels. The binding does not support querying the current state from the TV, as this is not possible using the serial protocol. Supported Things Supports one TV or projector per thing, also corresponding to a unique serial port. The protocol supports daisy-chaining of serial devices, but this seems unlikely for home applications, and this binding sends to the broadcast address. The LG serial command set  appears to be similar on many models, but not all commands will work on all models.
Some TVs may have an alternative port type instead of a standard DB9 connector, and may thus require an adapter. The serial port may be marked “Service only”. Tested and developed for LG 55UF772V (with ). Discovery No discovery supported, manual configuration is required.
The thing may be configured through the Paper UI. Thing Configuration It is necessary to specify the serial port device used for communication. On Linux systems, this will usually be either /dev/ttyS0, /dev/ttyUSB0 or /dev/ttyACM0 (or a higher number than 0 if multiple devices are present). On Windows it will be COM1, COM2, etc. Channels • On/off • Input: Select video input: HDMI, Component, ect. • Volume • Mute • Backlight brightness: Supports 100 levels of brightness for LCD panels.
• Color temperature: Choose among 3 color temperatures, Warm, Normal and Cool. LG protocol references   .
[Brendan Robert] has been sending us forum thread links outlining the things he’s learned while hacking LG televisions. They were a bit hard to follow for the uninitiated, so we asked if he could give us.
Not only did he do that, but he made a little Hackaday shout-out seen above by adding the skull and cross-wrenches as one of the menu overlays. He’s using a TV as his computer monitor, which he picked up at a discount because it was a display model. Without the original remote, and wanting to have features like power-saving mode which is standard on monitors but not on this TV, he decided to see what he could accomplish. A couple of things made this quite a bit easier. First, there’s an RS232 port built into the back which removes the need to investigate and solder your own onto the board. Secondly, since LG built on the Linux kernel for the set, you can download some of the firmware sources from their website. What he came up with is a script that will find and communicate with the TV over the serial connection.
The test script used during development polled every possible command, looking for valid return values. Once [Brendan] established which commands work and what they do, he was able to take command of the unit, writing scripts to adjust brightness based on the ambient light in the room as seen from the computer’s webcam. Make sure you check out the sub-pages to his post that detail the brightness adjustments, stand-by functionality, custom overlay graphics, and the extra commands he uncovered. Posted in Tagged,,, Post navigation. Synergy is sweet indeed!
I’ve had hit-or-miss luck with it in terms of error recovery (in the event of a flaky connection or reset router). For the most part, I try using ssh x-forwarding since both computers run linux. I’m considering winswitch, but am getting odd errors from it. I think it might be nice to have a custom PiP or maybe a pigin notifier using the OSD — so that I don’t miss anything if I’m watching TV or anything else that is equally unproductive.
You can (easily) display a JPG and scale it to any size as an overlay very easily. The trouble is getting the image to /tmp on the TV without a memory stick. Why reinvent the wheel?
OpenLGTV and LGMOD are readily available. I’m not in a hurry to brick my TV in the quest to determine compatibility though. And, though you might think the codes are all documented, that is in fact not true at all. LG does not document how to set the tool options (useful for unlocking DivX playback) or all of the remote control button presses (MC commands). Nor do they document how to poke around the debug features to mess with the OSD.
The hack here is gaining additional functionality WITHOUT modding (perhaps bricking) the TV. One of my first jobs as a techie was to go around to peoples places to flash the firmware on there LG tvs as there was a run that was shipped with buggy firmware. I had to change the Baud rate first before running the software that LG supplied. There were a bunch of passwords for them and options to do a forced flash if the standard way didn’t work. Even if you bricked the TV by putting the wrong firmware on it, doing a forced flash with the right one would usually fix it.damn, I wish I had kept that program and the password codes. Serial Port Data Logger Comet.