cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
577
Views
0
Helpful
2
Replies

Control an external device from a macro using TCP or SSH

MI-MAB
Frequent Visitor
Frequent Visitor

Hi Folks,

we have integrated Webex systems with 3rd party control systems (Extron, Crestron) using the UI Extensions, this works fine.

We have a case where no 3rd party control system shall be installed. From a macro in the Webex a 3rd party video matrix shall be controlled. The matrix can be controlled using TCP (basically Telnet) or SSH.

Is there a way to do this?

 

Thanks in advance

 

MI-MAB

2 Accepted Solutions

sandiban
Cisco Employee
Cisco Employee

Hi @MI-MAB,
Thanks for your patience so far!

Controlling a 3rd party video matrix via TCP or SSH directly from a Webex device macro is not natively supported. Webex device macros (Room OS) primarily use HTTP requests to communicate with external services.
The standard approach for this scenario is to use a dedicated, intermediary control system (like Extron or Crestron) that the Webex device can trigger, or to set up a custom application/server to relay commands.
 
 
Since Webex macros support HTTP requests, you can create a small, local application (e.g., in Python, Node.js) that acts as a bridge.
  1. Macro (JavaScript) sends HTTP request to Intermediary App: The macro on the Webex device will send an HTTP request (e.g., an HttpClient.Post xAPI command) to a specified IP address and port of your intermediary application.
  2. Intermediary App relays command: The intermediary application receives the HTTP request and, in turn, sends the necessary TCP or SSH command to the video matrix.
  3. Video Matrix executes command: The matrix switches the video input/output as instructed.

View solution in original post

MI-MAB
Frequent Visitor
Frequent Visitor

Thanks Sandip,

we will add an external controller (Crestron, Extron, AMX) and use the UI Extensions.

Thanks again for informing, we really appreciate the support in this community!

Best regards

MI-MAB

View solution in original post

2 Replies 2

sandiban
Cisco Employee
Cisco Employee

Hi @MI-MAB,
Thanks for your patience so far!

Controlling a 3rd party video matrix via TCP or SSH directly from a Webex device macro is not natively supported. Webex device macros (Room OS) primarily use HTTP requests to communicate with external services.
The standard approach for this scenario is to use a dedicated, intermediary control system (like Extron or Crestron) that the Webex device can trigger, or to set up a custom application/server to relay commands.
 
 
Since Webex macros support HTTP requests, you can create a small, local application (e.g., in Python, Node.js) that acts as a bridge.
  1. Macro (JavaScript) sends HTTP request to Intermediary App: The macro on the Webex device will send an HTTP request (e.g., an HttpClient.Post xAPI command) to a specified IP address and port of your intermediary application.
  2. Intermediary App relays command: The intermediary application receives the HTTP request and, in turn, sends the necessary TCP or SSH command to the video matrix.
  3. Video Matrix executes command: The matrix switches the video input/output as instructed.

MI-MAB
Frequent Visitor
Frequent Visitor

Thanks Sandip,

we will add an external controller (Crestron, Extron, AMX) and use the UI Extensions.

Thanks again for informing, we really appreciate the support in this community!

Best regards

MI-MAB