Configure Accessory Names
[TCP/WebSocket -> InvisOutlet]
Configure and set accessory names for the device.
Request
packetID: Represents the ID of the packet. This can be any six digit number, no leading zeros.payload:callbackName: 4callbackArgs:accessory: 1 - Outlet 1 (Top), 2 - Outlet 2 (Bottom), 3 - Nightlight (if InvisDeco is installed).name: The corresponding names for theaccessory.
{
"packetID": 950302,
"payload":
{
"callbackName": 4,
"callbackArgs":
[
{
"accessory": 1,
"name": "Fan"
},
{
"accessory": 2,
"name": "Charger"
},
{
"accessory": 3,
"name": "Nightlight"
}
]
}
}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.
{
"sn": "0003C44076",
"packetID": 950302,
"PUBACK": 1
}Last updated