cancel
Showing results for 
Search instead for 
Did you mean: 

Room Controls for USB-to-Serial adapter

PatDuss
Contributor I
Contributor I

Hello,

 

I'm writing a JSON file for room controls and can't seem to find any documentation around sending commands via USB-to-Serial adapter. I did, however, see that this capability was added in a past update so it should be possible.

I know that my USB adapter is using COM3 but was not 100% on how to reference it in the JSON file. I am getting a Json File Configuration error.

 

I was hoping if someone could let me know if I am on the right track here and offer any suggestions.

 

Here is what I have for the adapters section:

"adapters": [

{

"model": "Serial_Port",

"port": "COM3",

"settings":

{

"baud_rate": "9600",

"data_bits": "8",

"parity": "PARITY_NONE",

"stop_bits": "1",

"flow_control": "FLOW_NONE"

 },

 

(if you would rather I post the entire JSON file I can I was just focusing on the adapter for this post)

Thanks!

1 ACCEPTED SOLUTION

PatDuss
Contributor I
Contributor I

After a discussion with Zoom Support I discovered that the "model" needs to be a specific device name. For USB to Serial adapters the model should specifically be "USB2Serial". This fixed my config error.

So for example if your USB adapter was on COM3, the JSON would start with:

 

"adapters": [
{
"model": "USB2Serial",
"com": "COM3",

View solution in original post

1 REPLY 1

PatDuss
Contributor I
Contributor I

After a discussion with Zoom Support I discovered that the "model" needs to be a specific device name. For USB to Serial adapters the model should specifically be "USB2Serial". This fixed my config error.

So for example if your USB adapter was on COM3, the JSON would start with:

 

"adapters": [
{
"model": "USB2Serial",
"com": "COM3",