• Home
  • Products
      • Back
      • Sports Bars
          • Back
          • Control System
          • Sports Bar Info
              • Back
              • Packages
              • Project Process
              • Competition
              • Video Integration
              • Audio Integration
          • Audio Streamer
      • Residential
          • Back
          • Home Automation
      • Digital Signage
          • Back
          • Overview
          • Mosaic Video Wall
      • Drivers
      • Installations
      • SmartRemote
          • Back
          • Introduction
      • Products
      • SmartScreen
      • RV / Marine
          • Back
          • Shelly Relays - RV Slide Control
  • Shop
  • Support
      • Back
      • Documentation
          • Back
          • Downloads
      • Dealers
      • Forum
      • Contact Us
  • About
  • Login
 

Product Documentation

Documentation
Hardware
SmartRemote1
SmartRemote Screen Protector1
myServer 5 Update1
Business Related Info
About Us6
Allonis Hardware and Support1
Become an Integrator1
Copyright notices and licenses for Open Source Software1
License Transfers1
Payment Options and other Ordering FAQ1
Privacy policy1
Streaming TV for my Bar / Restaurant1
System Licensing1
Getting Started
Common Tasks
Audio / Video Integration for Audio1
Audio / Video Integration for Video1
Remote Programming - How it Works1
File Storage FAQ1
Music Streamers1
myButton: Play an audio file upon pressing a Panic button1
Sending SMS messages from myServer1
Television Control1
Troubleshooting
Network Management1
Networking FAQ1
Setting a Static IP address1
Networking - Connect to a Device Default IP address1
Accessing myServer from the Internet1
myServer 6 Router1
myFirewall Installation1
Network Switches1
Network 24 and 48 Port 10G L3 Managed Switch (Rack)1
Network Security - myFirewall21
Network Security - myFirewall41
WiFi Router Configuration1
QR Code support via myServer 61
VLAN Network Setup1
VLAN Allonis L3 Switch Network Setup1
VLAN Support on myServer 6 Controllers - Raspberry Pi41
myServer 6
myServer Setup
Installation1
myServer Startup1
myServer Configuration1
myServer Configuration - 21
Sports Bar Project Process1
myServer 6 Controller Installation1
Adding Rooms to myServer1
Adding Lighting1
myServer 6 - Master Image Installation1
Find.myServer.fyi1
Flashing Pi CM4 using the IO Board1
Migrating to myServer 6 From Previous Versions1
MultiZone Audio Design - Commercial1
myServer 6 Installation on Mint OS1
myServer 6 Installation on Windows OS1
myServer 6 USB Installation1
Networking Basics1
Creating a Bootable Image on SDMicro and USB1
myServer Virtual Environment Installation1
myServer 6 Automation Events1
myServer 6 Command Syntax1
Macros - Naming Convention1
myServer Backup and Restore1
Core System Capabilities1
MQTT
Broker
Certificate
Discovery
Testing your Setup
Logging
myServer 6 Hardware
myServer 6 1.5U Rack Mount Hardware1
myServer 6 Shelf Mount1
myServer Features1
How To
User Interface Scene Transitions1
Advanced Configuration
Authentication
Remote Access
Master Image Updates1
3rd Party Automation System Integration
Home Automation Overview1
HomeAssistant Gateway Driver1
Homeseer Driver Installation1
Node Red - Installation1
Why Automate your Home or Business1
QSC Core Driver1
Applets
TVListings App1
Weather App Installation1
Drivers1
Amplifiers
Audio Matrix
AES67 Audio IP Networking Overview1
Allen and Heath Audio Matrix Driver1
Atlas Atmosphere Audio Driver1
AVPro ACMax24A Audio Matrix1
BSS-100 Driver1
DBX - Driver1
DBX640 - Driver1
MonoPrice Blackbird Driver1
MRC88 Audio Matrix Driver1
QSC Audio Driver1
RTIADx Audio Driver1
Russound Rio Driver1
Russound RNET Audio Driver1
Wiring: Connecting RCA audio jacks to Phoenix Connectors1
DSP444 AES67 Audio over IP Driver1
DSP4428 AES67 Audio over IP Driver1
Audio Video Receivers
Anthem AVR Driver1
Denon Driver1
Integra AV Receiver Driver1
Marantz AudioVideo Receiver Driver1
Onkyo AVR Driver1
Blinds
Lutron Blinds1
Somfy RS485 Blinds1
Somfy Synergy UAI+ Blinds1
Somfy Z-Wave Blinds1
TRO.Y Blinds Controller Driver1
Bond Bridge - Shades1
Camera
BlueIris Camera NVR1
Hikvision IP PTZ Camera Setup1
IP Camera Integration1
IP Camera PTZ Driver1
Lumens Camera Driver1
Ubiquiti IP Camera Setup1
Samsung NVR Driver1
Armcrest IP Cameras1
IPCamera Wyze Integration1
Contact / Motion Sensor
Control Device
Harmony Hub Driver1
MyQ Garage Door Opener1
Tablet Power Solutions1
Infrared Control1
UPS Monitor Driver1
UPS myServer Pi Driver1
VideoStorm irUSB1
Elgato Stream Deck1
Shotbox Driver1
Ratgdo Garage Door Control1
Energy
AccuEnergy Driver1
Fan
Bond Bridge - Fans
Intercom
Keypad
Lighting
DMX Lighting1
Lutron Caseta Driver1
Lutron Driver1
Phillips Hue Driver1
Lighting Sim Driver1
Powerline DMX Pool Lighting1
Shelly Automation Device Driver1
Media Player
AndroidTV Driver1
AppleTV control1
Blu100 Driver1
BluRay Player IR Control1
Cable TV - IR1
DLNA Media Player Driver Installation1
Emby Media Server Configuration1
eStream4K Device Using IR1
FireTV 4K Installation1
HEOS Driver1
Kodi Application1
Live Streamer Driver1
MediaMTX Streaming Media Driver1
MediaPlayer Audio Amp1
myAudioPlayer1
myMediaPlayer1
Oppo Blu-Ray Player Driver1
Roku Player Control1
Streaming Media Hardware Comparison1
Sony X1000 BluRay Driver1
Tivo Player Driver1
Sonos Driver1
Zidoo Media Players1
Media Service1
Streaming Music for Commercial Implementations1
TuneIn Application
Pool
Jandy Pools1
Projector
Optoma Projector Driver1
PJLink Driver1
BenQ Projector Driver1
Mitsubishi Projector Driver1
NEC Projector Driver1
Sony Projector
Vivitek Projector Driver1
JVC Projector Driver1
Sony VPL Projector Driver1
JVC LX-NZ30 Projector Driver1
Receiver
Relay
Digital Loggers1
Dingtian Relay Driver1
Electronic Salon GPIO Relay1
iMatic Relay Driver1
Satellite
DirecTV Driver1
Dish Network Driver1
Security System
DSC Security System Driver1
ELK Driver Installation and Use1
Security Simulator Driver1
Honeywell Security1
Outdoor Grill Integration
Traeger Grill Integration
Green Mountain Grill Driver
Sensor
1-Wire Temperature Sensor1
GPS Receiver Driver1
Water Tank Level Sensing1
Television / Monitor
Controlling TVs via CEC1
Generic TVIR2
HiSense TV Control1
NoHassle TV Driver1
Insignia TV Control1
LG TV Driver1
LGWebOS Driver1
Samsung BET Driver1
Samsung Signage TV Driver1
Samsung Tizen TV Driver1
Samsung TV Driver1
Sony TV Driver1
Sharp TV Driver1
Sunbrite TV Driver1
Viewsonic TV Driver1
PJLink Driver1
TCL TV Driver1
Peerless TV Driver1
Vizio TV Driver1
Thermostat
Climate Simulator1
EcoBee Thermostat1
Venstar Thermostat Driver1
Tuner
Video Matrix
Video Wall Control1
AVPro QuadView Driver1
AVPro Video Matrix2
ANeuVideo Driver1
Brightlink Video Switcher1
Factor A8 Matrix Switch Driver1
HDTV HDBaseT Driver1
HDTV Video over IP Driver1
AVOIP 4K Driver1
HDMI 36x36 Video Matrix1
HDMI Matrix Basics1
HDTV HDBitT Driver1
HDTV Quad Driver1
Just Add Power Driver1
Knox Video Switcher Driver1
MOiP Video Matrix Driver1
Shinybow Video Driver1
Connectivity Technologies
CAN Driver1
Connecting Bluetooth Devices to a Windows PC1
Controlling a Water Valve via Tasmota Relay1
DMX
DMX - PKNight Art-Net controller setup1
Art-Net DMX Driver1
GenericGPIO Relay Driver1
Generic Modbus Driver1
Generic Serial Driver1
GlobalCache Driver1
IFTTT Configuration1
Infrared Control2
Matter1
MQTT Use1
OBD/VIC Driver1
OLA Service Monitor1
Raspberry BLE Device Driver1
Relays - IP controlled1
Sainsmart IP Relay Driver1
Serial to Net for Pi Installation1
Sonoff Devices1
Tasmota1
UPB Lighting Driver1
Waveshare GPIO Relay Driver1
Zigbee Driver1
Z-Wave JSUI Driver1
ZWay Raz Driver1
ESP32 Projects
ESP32 Doorbell Camera
ESP32 - Rotary Encoder1
User Interfaces
myDesigner 6
myDesigner 61
myDesigner 6 Installation1
myDesigner 6 Useage1
Administrator Template1
Modern
Modern Template - Phones1
Modern Template - Tablets1
Moonlight
Moonlight Template Strategy1
Moonlight - SmartRemote1
Moonlight - SmartPhone1
Moonlight - Tablet1
Sheer Template
Sheer Template - Phones1
Sheer Template - Tablets1
SportsBar
SportsBar - Tablet1
SportsBar - SmartPhone1
TV Placement1
Browser Compatibility1
Adding Grafana Charting into your UI1
Device Networking1
iPort Surface Mounts1
Setting up a Tablet for myServer 6 Templates1
Setting up an iPad / iPhone for system access1
Tools and Helpers
Developer Tools
Driver Examples

LG TV Driver

LG produces excellent TVs for commercial usage in Sports Bars and Restaurants.

myServer 6 provides easy integration into the control system for reliable control.

Most new LG TVs support control via ethernet.  We highly recommend you use Cat5 / 6 cable.   This is the best strategy.

WiFi can also be used, but wireless technology is never as reliable as ethernet.  But if it's really difficult to run wire, then you can use WiFi.  Just know it won't be completely reliable. (NOTE: WOL will not work via WiFi if myServer is on ethernet so no Power On will work)

Some of the LG TVs can also be controlled via CEC.  This can be used if there is only one ethernet wire to the TV (that will be used for Video, not for Control).  But, CEC is not consistently applied by all TVs so it's hit and miss.  The Video distribution method and components also has to support CEC.

RS232 (serial) is also possible to be supported.  Some Video Matrices will send serial over the video cable.

And of course, most all TVs support Infrared...but that's the least reliable and most expensive to implement as it requires Infrared hardware and additional configuration labor.  So, use one of the other methods.

 So, if you are using Ethernet, the TVs need to be enabled for "External Control"

The problem is, there is no standard way to do this across TV brands, and across TV models.  So the below is tips gleaned from figuring this out across many different models.  Hopefully one of the methods works for yours!

 

On 2022+ Models in order to enable IP control of the TVs use the remote to do the following:

Settings / General / Network / Up / Down / 82888   Will enter Advanced settings mode.  This works on all models.

 

 

On newer WebOS TVs, you need to enable "Use LG Connected Apps"

https://www.lg.com/eastafrica/support/product-help/CT20279003-1437126709035

Official LG documentation is scarce.  Below are some methods that Allonis has used with success.  There are slight differences in the methods.  Try all. 

Some newer LG TVs support IP based control.  But it is disabled by default.  To enable:

Method 1:

Use the TV’s IR remote to enter the TVs hidden menu as follows to enable IP control for the TV. Note that the LG Magic Remote can not be used. Instead, a non-magic remote or universal remote with LG TV codes must be used.

a. Power the TV ON and set the input to an unused source such as CATV.
b. Wait for the TV to display the “snow” no channel static on the screen and all other menus have disappeared.
c. Press and hold the Settings button (looks like a gear) on the TVs IR remote until the channel number is displayed on the TV then release the settings button.
d. Press 828 then the OK button to bring up the hidden IP Control Setup Menu.
e. Set IP Control to ON.

Method 2: 

Network IP Control (For USA only)

How to turn on external control:

  1. Connect your TV to a wired or wireless network that myServer is also connected to.
  2. Navigate to the Live TV screen using the LG remote control.
  3. Display the Settings Menu onscreen
  4. Press and hold the (Settings) button on the LG remote control for at least 5 seconds on the Live TV screen. Once the Live TV channel banner appears on the screen, enter 828 and press the OK button to enter the ‘IP Control Setup’ menu. * The 3-digit password (default password: 828) can be changed using Password Change.
  5. After entering the ‘IP Control Setup’ menu, set the ‘Network IP Control’ submenu to ‘On’. You may see a reboot popup window will appear. Select ‘Yes’ to reboot your TV. * Set to 'Off' when the feature is not in use.  Ensure you reboot even if you don't see the popup.
  6. Open a terminal program (e.g. putty, teraterm) on a computer and connect to your TV with your TV’s IP address through telnet service and the port number 9761 as shown below. ex) username : ~$ telnet 10.186.119.107 9761
  7. If the connection is successful, the following message will appear. Or if ‘NG’ appears when you press Enter, the connection has been established. Trying 10.186.119.107... Connected to 10.186.119.107. Escape character is ' ^ ] ' .
  8. Enter a command like the example shown below and press Enter. VOLUME_MUTE on
  9. If the command has been successfully entered, ‘OK’ will appear. If not, ‘NG’ will appear.
  10. To exit the program, enter ‘quit’ and press Enter. Then, the following message will appear. quit Connection closed by foreign host
  11. * Power ON through WOL(Wake On Lan) You can turn on the TV, after setting the ‘Mobile TV On’ submenu(Setting > Mobile TV On) to ‘On’ You can test WOL by installing the app related with WOL(Wake On Lan) through iOS or Google Play on your mobile phone.

Third method:

Before anything, you need to enable Network IP Control, which is very easy:

  1. Open the "All Settings" menu on the TV
  2. Using the remote arrows, navigate to "Connection"
  3. Quickly, press 82888 using the remote numeric buttons
  4. Note the MAC IP addresses for reference and library configuration
  5. Turn "Network IP Control" on
  6. Click "Generate Keycode", and take note of the 8 characters code displayed on the message for reference and library configuration. You can generate a new code at any time
  7. If you want to be able to turn the TV on, turn "Wake On LAN" on

  

Older LG TVs can be controlled via RS232.  There will be either a DB-9 or a minijack depending on TV model.  Both should use the same protocol so other than wiring differences, the myServer 6 LG driver should support both.

When a serial controlled LG TV is used with a matrix, the TV can be addressed using 1-99.  The LG Driver can then address the command that the appropriate TV will respond to.  The TVs are wired with their "serial Out" jack wired to the next TV's "serial In" jack in a daisy chain.  Only one serial com port is then needed for up to 99 TVs.  If each TV is wired to the central equipment rack (and not daisy chained), then you will need a serial com port for each TV which adds additional hardware.

 

 

Alternative instructions to enable External Control:

Before anything, you need to enable Network IP Control, which is very easy:

  • Open the "All Settings" menu on the TV
  • Using the remote arrows, navigate to "Connection". For some TVs, this may say "Network" instead.
  • Quickly, press 82888 using the remote numeric buttons
  • Note the MAC IP addresses for reference and library configuration
  • Turn "Network IP Control" on
  • Click "Generate Keycode", and take note of the 8 characters code displayed on the message for reference and library configuration. You can generate a new code at any time. Letters must be capitalized.
  • If you want to be able to turn the TV on, turn "Wake On LAN" on. By default, the WOL magic packet is sent to 255.255.255.255 but you can change this if you have a complex network setup using static ARP across subnets.

 

Driver Installation (Only applies if you are doing the myServer 6 configuration.  Typically Allonis does this for commercial installations):

There are different generations of LG TVs and how they are controlled.

If port 9761 is open (to the LG TVs IP address), then use the older, serial over IP driver.

From a command line (on the same network as the LG TV) type:  nmap <<ip address of the LG TV>>

 

Download the LGTV driver from the myServer 6 Software Updater.  The driver will self install.

Go to the Drivers section and select Configure for the LGTV driver.

The supported commands are listed in the Commands drop down list.

The easiest way to add a TV to control is to enable External Control on the TV, and then click the Discovery button in the driver.  You will see in the driver myServer scanning all IP addresses on all active NIC (ethernet and Wifi ports) for any TVs that the driver should support.  This will then auto add discovered TVs to the driver's list of configured TVs.  Once added, you can edit the TV device's Alias Name for easy identification.  For installations that have many TVs, use a logical naming convention like "TV1, TV2, TV3....".  You should also name the TVs in the order they are to be displayed, which should also be the order the TVs are installed into the video matrix switch (if used).

Optionally, use the AddTV command to add an LG TV to the network.

Enter the LG TV's IP address and MAC address and room name of the TV to control.

Run the Pair command for the TV in the Driver (click on the TV on the bottom left of the Driver configuration) to control to requests an authentication token from the TV.  You should see a popup message on the TV.  Accept the connection using the LG provided handheld remote control.  You should only need to Pair once, unless the tokens are removed from the TV using the TV setup menu.  The Auth token should show up in the TV configuration Row (top right).

You can then run other commands like Mute or VolumeUp or Power Off.  Note that some commands only work on some TVs and if the TV is in the context for that command.

 

To control power to individual LG TVs in the Sportsbar template:

Add to the api call on the scroller object in myDesigner 6:

/api/getpowercontrols?driver=samsungtizen,lgwebos  (omit samsungtizen if only LG TVs are used)

 

Some LG TVs support flipping the display upside down.  This can be useful for 2x2 video walls for the TVs on the top row so that the power LED isn't exposed inbetween the two rows of TVs.

YouTube video

States you need the "Service Remote" and push the "ADJ" button and use password 0413 to get to the Service Menu.  Tool Option 5. Mirror Mode.

Here is a link to another option that doesn't require the Service Remote:

"Use the TV's own web browser from the Home screen.

Navigate to http ://webosapp.club/instart and/or http ://webosapp.club/ezadjust 

Your TV will prompt you to accept the connection from the browser.

At the password prompt enter 0413"

Contact Us

We are always open for a quick chat! Give us a call or email us any time and we will respond shortly.

  (248)918-0123
  info@allonis.com