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. Device Management
  2. InvisDeco

Temperature and Relative Humidity Calibration

[TCP/WebSocket<-->IM]

This request calibrates the temperature and relative humidity of the InvisDeco.

If you believe your temperature and humidity sensor is not accurate for your area, please perform this API request.

Please make sure no appliances or adapters are plugged into the InvisOutlet for 30 minutes before the calibration.

Note: This calibration cannot compensate heat generated from plugged-in devices into the receptacle of the InvisOutlet.

Request

  • packetID: Represents the ID of the packet. This can be any six digit number, no leading zeros.

  • payload:

    • callbackName: 28

    • callbackArgs:

      • 0: The actual temperature in the area in Celsius in millis. For example: 25ºC would be 25000.

      • 1: The actual relative humidity in the area in percentage in millis. For example: 50% would be 50000.

{
    "packetID": 221057,
    "payload":
    {
        "callbackName": 28,
        "callbackArgs": [25000, 50000]
    }
}

Response

  • sn: The serial number of the InvisOutlet.

  • packetID: Represents the ID of the packet based on request packetID.

  • PUBACK : 1 - The request is received and calibration has been processed successfully. 0 - Timeout to request occupancy sensor to perform calibration. Please try to restart InvisDeco and try again.

{
    "sn": "0003C44076",
    "packetID": 221057,
    "PUBACK": 1
}

In order to provide the most accurate AQI measurements, the InvisDeco will reset and restart in order to apply the updated temperature and humidity calibration.

PreviousOccupancy Sensor CalibrationNextAPI Reference

Last updated 3 months ago