[TCP/WebSocket<-->Internal Module]
Control InvisOutlet's outlet 1 or outlet 2.
Request
packetID : Represents the ID of the packet. This can be any six digit number, no leading zeros.
packetID
payload :
payload
callbackName : 10
callbackName
callbackArgs :
callbackArgs
1: 1 - Outlet 1 (Top), 2 - Outlet 2 (Bottom).
1
2: 1 - On, 0 - Off.
2
{ "packetID": 684761, "payload": { "callbackName": 10, "callbackArgs": [ 1, 1 ] } }
sn: The serial number of the InvisOutlet.
sn
packetID: Represents the ID of the packet based on request packetID.
PUBACK : If the request is successfully processed; 1 - Successful, 0 - Fail.
PUBACK
Last updated 4 months ago
{ "sn": "0003C44076", "packetID": 684761, "PUBACK": 1 }