Occupancy Sensor Calibration
[TCP/WebSocket<-->IM]
This request performs the background noise detection of the occupancy sensor.
Request
packetID
: Represents the ID of the packet. This can be any six digit number, no leading zeros.payload
:callbackName
: 26callbackArgs
:0
: Specifies the calibration duration, 30 seconds is recommended
{
"packetID": 221056,
"payload":
{
"callbackName": 26,
"callbackArgs": [30]
}
}
Response
sn
: The serial number of the InvisOutlet.packetID
: Represents the ID of the packet based on requestpacketID
.PUBACK
: 1 - The request is received and calibration will begin in 10 seconds. 0 - Timeout to request occupancy sensor to perform calibration. Please try to restart InvisDeco and try again.
{
"sn": "0003C44076",
"packetID": 221056,
"PUBACK": 1
}
Last updated