Control de matriz HDMI y pantalla con KNX: conmutación RS-232 y escenas AV para salas de reuniones
Los conmutadores de matriz HDMI y las pantallas profesionales admiten universalmente el control serie RS-232 — precediendo a las API de control IP por décadas y siendo el método más fiable para comandos de enrutamiento AV deterministas. El puente de RS-232 a KNX mediante un adaptador GlobalCache iTach proporciona al sistema de automatización del edificio control directo sobre el enrutamiento de video y la alimentación de la pantalla sin procesadores de control AV dedicados.
Conjuntos de comandos RS-232 de matriz HDMI
Kramer y Extron son las dos marcas dominantes de conmutadores matriciales HDMI en instalaciones AV comerciales. Ambas utilizan conjuntos de comandos ASCII RS-232, aunque la sintaxis de los comandos difiere significativamente entre marcas y debe obtenerse de la guía de instalación del modelo específico.
Conjunto de comandos RS-232 del Kramer VS-44DT (matriz 4×4 HDBT)
RS-232 settings: 9600 baud, 8N1, no hardware flow control Route input to output (Kramer Protocol 3000): #ROUTE 1,<output>,<input>CR Example: #ROUTE 1,1,2CR → Output 1 = Input 2 (laptop) Example: #ROUTE 1,1,1CR → Output 1 = Input 1 (PC) Example: #ROUTE 1,2,3CR → Output 2 = Input 3 (Blu-ray) Route all outputs to same input: #ROUTE 1,0,<input>CR → 0 = all outputs Example: #ROUTE 1,0,1CR → all outputs = Input 1 Mute video output: #VMUTE 1,<output>,1CR → mute output #VMUTE 1,<output>,0CR → unmute output Power on/off (if matrix has standby): #POWER 1CR → power on #POWER 0CR → standby Response to valid command: ~01@ROUTE 1,1,2OK → acknowledgement Timeout if no response: check RS-232 wiring and baud rate
Conjunto de comandos HDMI del Extron SW4 (conmutador 4:1)
RS-232 settings: 9600 baud, 8N1, no hardware flow control (Extron SIS — Simple Instruction Set) Select input (SIS command): <input_number>!CR → select input Example: 1!CR → Input 1 Example: 2!CR → Input 2 Example: 3!CR → Input 3 No response on success (Extron SIS is one-way for basic commands) Query current input: I CR → returns current input number Video mute: 1B CR → video mute ON 0B CR → video mute OFF Note: Extron VS and SMX series matrices use a different command set (SIS+ or XTP protocol) — verify model manual before writing control commands
Cableado del puente RS-232 GlobalCache iTach Flex
El GlobalCache iTach Flex (GC-IRL-E) con módulo RS-232 proporciona un puente red-serie a través de una conexión TCP en el puerto 4999. Los contactos de relé de salida binaria KNX activan una lógica intermedia o middleware que envía la cadena RS-232 correcta a través de la conexión TCP iTach.
Cableado y configuración RS-232 del iTach Flex
Hardware wiring:
GlobalCache iTach Flex → RS-232 module (GC-100-01R)
DB9 Male connector:
Pin 2 (RX) → Matrix/Display TX
Pin 3 (TX) → Matrix/Display RX
Pin 5 (GND) → Matrix/Display GND
3-wire RS-232 (no hardware flow control required for Kramer/Extron)
iTach Flex network configuration (iHelp app):
DHCP: OFF → assign static IP (e.g. 192.168.1.200)
Module: Serial (RS-232)
Baud rate: 9600 (match matrix setting)
Data bits: 8, Parity: None, Stop bits: 1
Flow control: None
TCP send port: 4999 (default, all GlobalCache devices)
TCP connection: persistent (do not close between commands)
Test command via netcat (Linux/Mac):
echo -e "#ROUTE 1,1,2
" | nc 192.168.1.200 4999
→ Matrix should route Input 2 to Output 1
→ Monitor iTach LED: blinks on TX/RX activitySalida binaria KNX → puente de relé
- Cambio de GA de salida binaria KNX detectado por middleware (HA/IP-Symcon)
- El middleware abre TCP hacia iTach :4999
- Envía cadena de comando ASCII con terminador CR
- El middleware mantiene la conexión TCP durante la sesión
Alternativa: KNX IP a RS-232 directamente
- Intesis IN706KNX: gateway KNX a RS-232 (riel DIN)
- Configura GA KNX mapeados a cadenas de comando RS-232
- No se requiere servidor middleware — completamente independiente
- Preferido para instalaciones KNX puras sin HA/IP-Symcon
Control de alimentación RS-232 y CEC
Las pantallas profesionales (Samsung, NEC, LG Commercial, Philips B-Line) admiten el control de alimentación RS-232 mediante conjuntos de comandos específicos del fabricante. Las pantallas de consumo admiten HDMI-CEC para el control de alimentación: los comandos CEC se envían a través de la propia matriz HDMI si la matriz admite el paso de CEC.
Comandos de alimentación RS-232 de la pantalla
Samsung Commercial (MDC protocol):
RS-232: 9600 8N1
Power ON: 0xAA 0x11 0x01 0x01 0x01 0x14 (hex bytes)
Power OFF: 0xAA 0x11 0x01 0x01 0x00 0x13
Input HDMI1: 0xAA 0x14 0x01 0x01 0x21 0x37
NEC Large Format Displays:
RS-232: 9600 8N1
Power ON: 0x01 0x30 0x41 0x30 0x41 0x30 0x43 0x02 0x43 0x32 0x30 0x33 0x44 0x36 0x30 0x31 0x03 0x73 0x0D
(NEC control command for power = ON)
Power OFF: similar structure, parameter 0x34
LG Commercial (RS-232C protocol):
RS-232: 9600 8N1, CR terminated
Power ON: ka 01 01
Power OFF: ka 01 00
Input HDMI: xb 01 90
(HDMI1)
HDMI CEC (via matrix CEC pass-through):
Kramer VS-44DT: CEC pass-through ON by default
TV on: CEC command 0x04 (Image View On) + 0x82 (Set Active Source)
TV off: CEC command 0x36 (Standby) broadcast
CEC control via iTach or dedicated CEC controller (Pulse-Eight USB-CEC)Definiciones de escenas AV de sala de reuniones
Tres escenas AV de sala de reuniones cubren los casos de uso más comunes. Cada escena se recupera mediante un único valor GA de escena KNX y activa simultáneamente el enrutamiento HDMI, la alimentación de la pantalla y la iluminación DALI.
Escena KNX GA 7/2/0 (DPT 18.001) – escenas AV de sala de reuniones
Scene 1 — "Meeting" (value 0):
HDMI: #ROUTE 1,1,1CR → Output 1 (display) = Input 1 (room PC)
Display: power ON (RS-232 or CEC)
DALI: recall scene 3 (60%, 4000K collaborative)
Audio (if DSP): recall "Conference Mode" preset
Scene 2 — "Presentation" (value 1):
HDMI: #ROUTE 1,1,2CR → Output 1 = Input 2 (laptop HDMI)
#ROUTE 1,2,2CR → Output 2 (overflow display) = Input 2
Display 1+2: power ON
DALI: recall scene 4 (30%, 3000K — dim for projector viewing)
Audio: recall "Presentation Mode" preset
Scene 0 — "Off" (value 63 per DPT 18.001):
HDMI: #VMUTE 1,0,1CR → mute all outputs (video blank)
Display 1+2: power OFF (RS-232 or CEC standby)
DALI: recall scene 0 (all off, with 5-min ramp-down)
Audio: recall "Standby" preset (all muted)
KNX implementation:
Middleware monitors GA 7/2/0
On value 0: sends "Meeting" RS-232 commands to iTach
On value 1: sends "Presentation" RS-232 commands
On value 63: sends all-off commands + display offPuesta en marcha con verificación del terminal RS-232 PuTTY
Antes de configurar la automatización de escenas KNX, verifique manualmente cada cadena de comandos RS-232 usando PuTTY en modo serie conectado directamente a la matriz o pantalla. Esto confirma la sintaxis del comando antes de introducir el puente iTach y el middleware.
Procedimiento de puesta en marcha PuTTY RS-232
Step 1: Direct RS-232 test (laptop → matrix): USB-to-RS-232 adapter → DB9 cable → matrix RS-232 port PuTTY: Connection type = Serial Serial line: COM3 (or /dev/ttyUSB0 on Linux) Speed: 9600, Data: 8, Stop: 1, Parity: None, Flow: None Open terminal Type: #ROUTE 1,1,1 then press Ctrl+M (sends CR) → Display connected to Output 1 should show Input 1 content → PuTTY: response ~01@ROUTE 1,1,1OK should appear Type: #ROUTE 1,1,2 then Ctrl+M → Display should switch to Input 2 Step 2: iTach bridge test: Connect iTach RS-232 module to matrix (3-wire) netcat test: echo -e "#ROUTE 1,1,1 " | nc <iTach-IP> 4999 → Verify same switching as direct RS-232 test Step 3: KNX scene test (end-to-end): Write value 0 to GA 7/2/0 (Scene 1 = Meeting) → Middleware log: RS-232 commands sent to iTach → HDMI matrix: Output 1 switches to Input 1 → Display: powers on → DALI: scene 3 activates (60% 4000K) Write value 63 to GA 7/2/0 (Scene 0 = Off) → All displays power off, DALI scene 0 (off) Step 4: Verify display power via RS-232: Direct RS-232 test Samsung MDC power ON command (hex bytes) → Display screen activates → command verified Then through iTach with hex byte command via netcat
CR vs CRLF: La mayoría de los protocolos AV RS-232 terminan los comandos solo con CR (0x0D), no CRLF. PuTTY en modo serie envía CR de forma predeterminada al presionar Enter — verifique en la configuración de PuTTY: Terminal → Teclado → La tecla Retorno envía → CR. La prueba netcat de iTach debe usar \r no \n en el comando echo.
¿Necesita control de matriz HDMI KNX integrado en un panel de sala de reuniones fabricado a medida?
Diseñamos paneles con puentes RS-232 GlobalCache iTach, control de matrices Kramer y Extron, y automatización completa de escenas KNX — entregados, probados y puestos en servicio con documentación de verificación RS-232.
Solicitar presupuesto →