cancel
Showing results for 
Search instead for 
Did you mean: 

JSON Configuration Error

FrankAV
New Member
New Member

I'm getting a JSON configuration error once the JSON file is loaded. The Zoom software accepts the file with no errors but after 30 seconds the error message pops up " JSON Configuration error".

 

This file is to add 3 buttons onto the Zoom Panel interface. We need to send serial strings via IP to a Lightware device. This Lightware device sends the commands out of its com port to a TV mount com port to control a TV mount. We can ping the Lighware device no problem.

 

Here is the syntax:

{
"adapters": [
{
"model": "UCX-3x3-TPX-RX20",
"ip": "10.238.192.98",
"uuid": "Lightware_A8:D2:36:03:7E:2C",
"ports": [
{
"id": "LightwareMount",
"name": "RoomMount",
"settings": {
"baud_rate": "9600",
"flow_control": "FLOW_NONE",
"parity": "PARITY_NO"
},
"methods": [
{
"id": "presets",
"name": "Presets",
"command": "\\x66\\x61\\x5f",
"params": [
{
"id": "p1",
"name": "Preset1",
"value": "\\x64\\x0D"
},
{
"id": "p2",
"name": "Preset2",
"value": "\\x65\\x0D"
},
{
"id": "p3",
"name": "Preset3",
"value": "\\x66\\x0D"
}
],
"type": "actions"
}

]
}
]
}
]
}

 

1 REPLY 1

bstrelko
Community Champion | Customer
Community Champion | Customer

Can you provide a snapshot of the error you're receiving?

 

Also, please confirm that the main compute device (or appliance/codec) is on the same subnet as the Lightware UCX.

When a device is receiving serial over IP, you're still very likely going to need to treat it as an IP (most likely TCP/IP) connection. Lightware to the mount may be true serial via a COM port, but we're not concerned with downstream when using ZR Room Controls JSON. Double check which port IP connections are received on for your Lightware device - I'm assuming 6107, because this is Lightware's default.

Use of the generic adapter is perfectly acceptable. In your case:

 

{
"adapters": [
{
"model": "GenericNetworkAdapter",
"ip": "tcp://10.238.192.98:6107",
"ports": [
{
"id": "mount",
"name": "TV Mount Presets",
"methods": [

... and take it from there.