For the complete documentation index, see llms.txt. This page is also available as Markdown.

Outlets

[TCP <--> InvisOutlet]

Control InvisOutlet's outlet 1.

Request

  • packetID : Represents the ID of the packet. This can be any six digit number, no leading zeros.

  • payload :

    • callbackName : 10

    • callbackArgs :

      • 1: 1 - Outlet 1 (Top).

      • 2: 1 - On, 0 - Off.

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

Response

  • sn: The serial number of the InvisOutlet.

  • packetID: Represents the ID of the packet based on request packetID.

  • PUBACK : If the request is successfully processed; 1 - Successful, 0 - Fail.

Last updated