> For the complete documentation index, see [llms.txt](https://api.intecular.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.intecular.com/invisoutlet-c-pro/accessory-controls/outlets.md).

# Outlets

\[TCP <--> InvisOutlet]

> Control InvisOutlet's outlet 1.

**Request**

* <mark style="color:red;">`packetID`</mark> : Represents the ID of the packet. This can be any six digit number, no leading zeros.
* <mark style="color:red;">`payload`</mark> :&#x20;
  * <mark style="color:red;">`callbackName`</mark> : 10
  * <mark style="color:red;">`callbackArgs`</mark> :
    * `1`: 1 - Outlet 1 (Top).
    * `2`: 1 - On, 0 - Off.

```json
{
  "packetID": 684761,
  "payload": {
    "callbackName": 10,
    "callbackArgs": [
      1,
      1
    ]
  }
}
```

#### Response

* <mark style="color:red;">`sn`</mark>: The serial number of the InvisOutlet.
* <mark style="color:red;">`packetID`</mark>: Represents the ID of the packet based on request <mark style="color:red;">`packetID`</mark>.
* <mark style="color:red;">`PUBACK`</mark> : If the request is successfully processed; 1 - Successful, 0 - Fail.

```json
{
  "sn": "12A3520006E",
  "packetID": 684761,
  "PUBACK": 1
}
```
