Anytime Help Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support
  • Guest
  • Log In
English (US)
US English (US)
DE German
CN Chinese
MX Spanish (Mexico)
Chinese (Simplified)
  • AKG
    Microphones Wireless Integrated Systems Automatic Mixers Headphones Discontinued Products (AKG) General AKG Inquiries Certifications (AKG)
  • AMX
    Networked A/V Distribution (AVoIP) Traditional A/V Distribution Video Signal Processing Architectural Connectivity User Interfaces Control Processing Power (AMX) Programming (AMX) Software (AMX) Discontinued Products (AMX) General AMX Inquiries Certifications (AMX)
  • BSS
    Soundweb™ Omni Soundweb™ London Soundweb™ Contrio™ Software (BSS) Discontinued Products (BSS) General BSS Inquiries Certifications (BSS)
  • Crown
    CDi DriveCore Series CDi Series Commercial Series ComTech Series DCi DriveCore Series I-Tech HD Series XLC series XLi Series XLS DriveCore 2 Series XTi 2 Series Discontinued Products (Crown) Software (Crown) General Crown Inquiries Certifications (Crown)
  • dbx
    CX Series 500 Series DriveRack Personal Monitor Control ZonePRO Zone Controllers FeedBack Suppression Microphone Preamps Dynamics Processors Crossovers Equalizers Software (dbx) Discontinued Products (dbx) General dbx Inquiries Certifications (dbx)
  • Flux::
    Immersive Processing Analysis Subscriptions General FLUX: Inquiries
  • JBL
    Cinema Sound Installed Live Portable Tour Sound Recording & Broadcast Software (JBL) Discontinued Products (JBL) Video Manual Series (JBL) General JBL Inquiries Certifications (JBL)
  • Lexicon
    Plugins Effects Processors Cinema Discontinued Products (Lexicon) Video Manual Series (Lexicon) General Lexicon Inquiries Certifications (Lexicon)
  • Martin
    Atomic ELP ERA Exterior MAC P3 VC VDO Tools Discontinued Products (Martin) General Martin Inquiries Certifications (Martin)
  • Soundcraft
    Digital Analog Connected Analog Only Discontinued Products (Soundcraft) Video Manual Series (Soundcraft) General Soundcraft Inquiries Certifications (Soundcraft)
  • General HARMAN Inquiries
    Dante
+ More
  • Home
  • AMX
  • Programming (AMX)
  • Programming

669-Adding G4 Web Control Devices to Web Control List

Written by Will Fraser

Updated at February 10th, 2026

Table of Contents

Overview: Example: ** NOTE ** Explanation: Multiple Touch Panels: Example: Router Setup: Port Forward Example: PORT SHIFTING EXAMPLE:

Overview:

When browsing from an external (resolvable) address to G4 Web Control panels on an internal (non-resolvable) address, a link must be made with the external address, and the port must be forwarded in the router to the internal address.  Remember, the G4 Web Control links that show up in the browser are for the internal address and will only work from browsers that are physically on the internal network (LAN).  Links that work from the external network (WAN), or Internet, can be created with send commands to create them.  These commands are sent to the master in DEFINE_START or an event for the panel(s) themselves.

Use G4WC Send command (to master 0:1:0) to add G4 Web Control devices to Web Control list, displayed in the browser.  Command format is: " 'G4WC "Name/Description",IPAddress/URL,IP Port,Enabled' "

Example:

SEND_COMMAND 0:1:0,'G4WC "Bedroom",12.5.139.15,5900,1'

** NOTE **

Make sure to include a single space after G4WC, before the quote!

 

Explanation:

Bedroom - A unique name representing the touch panel that the customer will seewhen they browse to the master.
12.5.139.15 - The external resolvable IP address of the router.
1 - Means that this link is enabled…Can also be made a 0 in order to disable the link.
The combination of Name/Description, IP Address/URL, and IP Port are used to determine each unique listing.  The internal link is still there, it is sent by the panel to the master.  There is a way to remove that link.  Below is a code snippet for the easy way to parse the incoming G4WC link, then disable it.  It then sends the new link as well.

(***********************************************************)
(* DEVICE NUMBER DEFINITIONS GO BELOW *)
(***********************************************************)
DEFINE_DEVICE
dvTP = 10001:1:0
(***********************************************************)
(* CONSTANT DEFINITIONS GO BELOW *)
(***********************************************************)
DEFINE_CONSTANT
//ADD YOUR PANEL NAME AND ADDRESS HERE
WAN_PANEL_NAME = 'WAN PANEL'
WAN_ADDRESS = '192.168.244.33'
WAN_PORT = '5900'
(***********************************************************)
(* THE EVENTS GO BELOW *)
(***********************************************************)
DEFINE_EVENT
DATA_EVENT[dvTP]
{
COMMAND:
{
STACK_VAR CHAR TRASH[25] CHAR TEMP[100]
IF(FIND_STRING(DATA.TEXT,'G4WC-',1)) //FINDS G4WC COMMAND FROM PANEL
{
TRASH = REMOVE_STRING(DATA.TEXT,'G4WC-',1)
TEMP = DATA.TEXT
SET_LENGTH_STRING(TEMP,(LENGTH_STRING(TEMP) - 1))
SEND_COMMAND 0:1:0,"'G4WC ',TEMP,'0'" //TURNS OFF PANEL GENERATED
G4WC
WAIT 40
SEND_COMMAND 0:1:0,"'G4WC
"',WAN_PANEL_NAME,'",',WAN_ADDRESS,',',WAN_PORT,',1'" //CREATES NEW LINK
USING WAN ADDRESS
}
}
}

Multiple Touch Panels:

If you want to have an external link for multiple touch panels then the Name/Description and IP Port fields will need to be modified for each touch panel.

Example:

SEND_COMMAND 0:1:0,'G4WC "Bedroom",12.5.139.15,5900,1'

SEND_COMMAND 0:1:0,'G4WC "Living",12.5.139.15,5901,1'

SEND_COMMAND 0:1:0,'G4WC "Kitchen",12.5.139.15,5902,1'

Router Setup:

Ports will need to be forwarded on your router in order for G4WC to work.  It is a good idea to give your touch panel's static IP addresses when using the external link for G4WC.  Otherwise, if the panel changed IP addresses the external link would not work.  If your router only does port forwarding then you will need to change the Web Control Port on the panel to match the external port.  If your router will do port shifting then you can leave the panels port at 5900.

Port Forward Example:

External Port Internal Port  Device
80 80     master's IP address
5900     5900     first touch panel's IP
5901     5901     second touch panel's IP (optional)
5902     5902     third touch panel's IP (optional)

PORT SHIFTING EXAMPLE:

External Port Internal Port  Device
80 80     master's IP address
5900     5900     first touch panel's IP
5901     5900     second touch panel's IP (optional)
5902     5900     third touch panel's IP (optional)

If you need to know how to do port forwarding for your router, the website, https://www.portforward.com, is a good resource.

 

Related Videos

g4 web control

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Overview: Example: ** NOTE ** Explanation: Multiple Touch Panels: Example: Router Setup: Port Forward Example: PORT SHIFTING EXAMPLE:

Related Articles

  • Virtual Channels, Ports, Levels, and G4 Panels
  • Using Device View in Dante Controller
  • Clocking Basics for Dante

Related Articles

  • Virtual Channels, Ports, Levels, and G4 Panels
  • Using Device View in Dante Controller
  • Clocking Basics for Dante
Copyright © HARMAN Professional. All rights reserved. Privacy Policy | Terms of Use
Expand