Get Device Information

[TCP/WebSocket -> InvisOutlet]

Request and retrieve detailed device information for both InvisOutlet and InvisDeco.

Request

  • packetID: A randomly generated six-digit number.

  • payload:

    • callbackName: 12

{
    "packetID": 373184,    
    "payload":
    {
        "callbackName": 12,  
    }
}

Response

  • sn: The serial number of the device.

  • packetID: A randomly generated six-digit number.

  • payload:

    • callbackName: 12

    • callbackArgs:

      • IM:

        • sn: Serial number

        • MAC: MAC address

        • device: Name of the device role

        • fw_rev: Firmware version of the InvisOutlet

      • PM:

        • online: The status of whether the InvisDeco is connected to InvisOutlet

        • sn: Serial number

        • MAC: MAC address

        • device: Name of the device role

        • type: Name of the device type

        • fw_rev: Firmware version of the InvisDeco

{
    "sn": "11A1F7000FE",
    "packetID": 373184,
    "PUBACK": 1,
    "payload": {
        "callbackName": 12,
        "callbackArgs": {
            "IM": {
                "sn": "11A1F7000FE",
                "MAC": "4C7525F05D04",
                "device": "InvisOutlet",
                "fw_rev": "0.5.7"
            },
            "PM": {
                "online": true,
                "sn": "24A173000A2",
                "MAC": "10061CD059F8",
                "device": "InvisDeco",
                "type": "Pro",
                "fw_rev": "0.8.4"
            }
        }
    }
}

Last updated