# Room Controls Profile - Multiple Ports on One Adapter

**URL:** <https://devforum.zoom.us/t/room-controls-profile-multiple-ports-on-one-adapter/34162>\
**Category:** API and Webhooks\
**Created:** [October 23, 2020, 8:23pm UTC](https://devforum.zoom.us/t/room-controls-profile-multiple-ports-on-one-adapter/34162 "2020-10-23T20:23:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruneau.adam](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bruneau.adam/32/17630_2.png) [@bruneau.adam](https://devforum.zoom.us/u/bruneau.adam)\
**Post date:** [October 23, 2020, 8:23pm UTC](https://devforum.zoom.us/t/room-controls-profile-multiple-ports-on-one-adapter/34162/1 "2020-10-23T20:23:28Z")

</div>

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"
    ]
  }
}
```

---

<div class="post-metadata">

**Author:** ![bruneau.adam](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bruneau.adam/32/17630_2.png) [@bruneau.adam](https://devforum.zoom.us/u/bruneau.adam)\
**Post date:** [October 26, 2020, 12:36pm UTC](https://devforum.zoom.us/t/room-controls-profile-multiple-ports-on-one-adapter/34162/2 "2020-10-26T12:36:21Z")

</div>

\*\* please ignore the meeting\_status.mute in rules. Mistakenly forgot to remove those in this truncated version.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 28, 2020, 3:07pm UTC](https://devforum.zoom.us/t/room-controls-profile-multiple-ports-on-one-adapter/34162/3 "2020-10-28T15:07:15Z")

</div>

Hi @bruneau.adam,

Thanks for reaching out—since our Technical Support team supports [this product](https://support.zoom.us/hc/en-us/articles/360033716572-Room-Controls), you will want to reach out to them by submitting a request [here](https://support.zoom.us/hc/en-us/requests/new). They’ll be best suited to help you with this. 🙂

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 28, 2020, 3:07pm UTC](https://devforum.zoom.us/t/room-controls-profile-multiple-ports-on-one-adapter/34162/4 "2020-10-28T15:07:18Z")

</div>

Closed on October 28, 2020, 3:07pm UTC


