Request Accessory Names
[TCP/WebSocket -> InvisOutlet]
Request and retrieve accessory names from the device.
Request
packetID: Represents the ID of the packet. This can be any six digit number, no leading zeros.payload:callbackName: 3
{
"packetID": 180072,
"payload":
{
"callbackName": 3
}
}Response
sn: The serial number of the InvisOutlet.packetID: Represents the ID of the packet based on requestpacketID.PUBACK: If the request is successfully processed; 1 - Successful, 0 - Fail.payload:callbackName: 3callbackArgs:accessory: 1 - Outlet 1 (Top), 2 - Outlet 2 (Bottom), 3 - Nightlight (if InvisDeco is installed).name: The corresponding names for theaccessory.
Last updated