TCP/WebSocket API
  • Getting Started
  • Information and Preferences
    • Get Device Information
    • Request Device Configuration
    • Configure Device Configuration
    • Request Accessory Names
    • Configure Accessory Names
  • Accessory Controls
    • Outlets
    • Nightlight
    • Color Light - HSV
    • Color Light - Temperature
  • Fetch Accessory Status
    • Outlets
    • Nightlight
    • Color Light
    • Sensors
  • Synchronous Updates
    • Outlets
    • Nightlight
    • Sensors
  • OTA
    • Request Available Updates
    • Perform OTA Update
    • OTA Download Progress (Synchronous)
    • OTA Result Update (Synchronous)
  • Device Management
    • InvisOutlet
      • Restart InvisOutlet
      • Reset InvisOutlet's Network Settings
      • Factory Reset InvisOutlet
      • Check MQTT Status
      • Home Assistant Discovery
    • InvisDeco
      • Restart InvisDeco
      • Reset InvisDeco
      • Occupancy Sensor Calibration
      • Temperature and Relative Humidity Calibration
  • API Reference
    • Terminology
Powered by GitBook
On this page
  1. Information and Preferences

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"
            }
        }
    }
}
PreviousInformation and PreferencesNextRequest Device Configuration

Last updated 10 months ago