Ok so in more detail:-
I use command fusion iviewer app. This allows to to create a GUI for home automation control
I open the app and select the room I am in
This brings up a GUI for all components in that room
Each device is connected via Lan cable or RS232
Sky box (rs232 control)
Sony AV Receiver (rs232 control)
PC (LAN Control via IP)
NAS (LAN Control via IP)
TV. (rs232 Control)
MOXA Nport ethernet/serial device (LAN IP Control)
So within the app I can send Control string to the moxa serial device via static IP, this string is then sent via the assigned rs232 port to the device connected on that port.
Ie send string to TV for On/Off
I now have a new TV that doesn’t have rs232 Control and for some reason LG do not have a manual that gives control code alternatives via IP.