Per the documentation you should be able to add multiple “ports” to one adapter by creating an array. I’ve tried this to no avail. Below is a truncated version of the profile. Any pointers as to what I’m doing wrong? The error just says “Json file configuration error” but there are no formatting issues that I can see.
{
"adapters": [
{
"model": "GenericNetworkAdapter",
"ip": "tcp://192.168.1.87:800",
"ports": [
{
"id": "generic_light",
"name": "Light",
"methods": [
{
"id": "red",
"name": "Red",
"command": "red_%",
"params": [{"id": "on","name": "On","value": "on"},
{"id": "off", "name": "Off", "value": "off"}],
"type": "actions"
}
]
},
{
"id": "meeting_status",
"name": "Meeting",
"methods": [
{
"id": "call",
"name": "Call",
"command": "call_%",
"params": [{"id": "connected", "name": "Connected", "value": "connected"},
{"id": "disconnected", "name": "Disconnected", "value": "disconnected"}],
"type": "actions"
}
]
}
]
}
],
"styles": [
"generic_light.icon=icon_light"
],
"rules": {
"microphone_muted": [
"generic_light.red.on",
"meeting_status.mute.on"
],
"microphone_unmuted": [
"generic_light.red.off",
"meeting_status.mute.off"
],
"meeting_ended": [
"meeting_status.call.disconnected"
],
"meeting_started": [
"meeting_status.call.connected"
]
}
}