Request Device Configuration
[TCP/WebSocket<-->IM]
Returns a list of configuration preferences of the device.
Request
packetID: A random six-digit ID for this packet.payload:callbackName: 1
{
"packetID": 819796,
"payload":
{
"callbackName": 1
}
}Response
sn: The serial number of the InvisOutlet.packetID: Represents the ID of the packet based on requestpacketID.PUBACK: If the request is successfully processed; 1 - Successful, 0 - Fail.payload:callbackName: 1callbackArgs:acc_prefs:outletPwrIndicatorOn: Enable/disable InvisDeco outlet indicator lights; 1 - On, 0 - Off.pmIndicatorBrightness: Configure the indicators brightness; 1 - 100.capacitiveCtrl: Enable/disable InvisDeco to control outlets via capacitive touch; 1 - On, 0 - Off.magicTouchCtrl: Enable/disable InvisDeco capacitive touch as magic touch; 1 - On, 0 - Off.aqiColorRGBFeature: Enable/disable InvisDeco's RGB indicator light to indicator AQI color code; 1 - On, 0 - Off.motionAwayFeature: Enable/disable InvisDeco's Security Alert feature; 1 - On, 0 - Off.adaptiveNightlightFeature: Enable/disable InvisDeco's Adaptive Nightlight feature; 1 - On, 0 - Off.adaptiveMinBrightness: Configure the minimum brightness for Adaptive Nightlight feature; 0-99.adaptiveMaxBrightness: Configure the maximum brightness for Adaptive Nightlight feature; 1-100. The value cannot be less thanadaptiveMinBrightness.occupancyNightlightFeature: Enable/disable InvisDeco's Occupancy Nightlight feature; 1 - On, 0 - Off.overrideAdaptiveOccupancyNightlightFeature: Enable this setting to overrideadaptiveNightlightFeatureandoccupancyNightlightFeatureif either one is enabled. If enabled,adaptiveNightlightFeatureandoccupancyNightlightFeaturewill be disabled when the user controls the nightlight on/off or brightness; 1 - On, 0 - Off.homeAwayMode: Home Away Mode (Vacation Mode) settings.enabled: Enable/disable Home Away Mode (Vacation Mode); 1 - On, 0 - Off.outlet1Enabled: Enable/disable Home Away Mode being applied to Outlet 1; 1 - On, 0 - Off.outlet2Enabled: Enable/disable Home Away Mode being applied to Outlet 2; 1 - On, 0 - Off.nightlightEnabled: Enable/disable Home Away Mode being applied to Nightlight; 1 - On, 0 - Off.minBrightness: Set minimum Nightlight brightness when Home Away Mode is enabled; 0-100.maxBrightness: Set maximum Nightlight brightness when Home Away Mode is enabled; 1-100.minOnDuration: Set minimum on duration for Outlet 1, Outlet 2, and/or Nightlight; 0-65535 minutes.maxOnDuration: Set maximum on duration for Outlet 1, Outlet 2, and/or Nightlight; 1-65535 minutes.minOffDuration: Set minimum off duration for Outlet 1, Outlet 2, and/or Nightlight; 0-65535 minutes.maxOffDuration: Set maximum off duration for Outlet 1, Outlet 2, and/or Nightlight; 1-65535 minutes.
sys_prefs:mqtt:enabled: Enable/disable MQTT TCP client service; 1 - On, 0 - Off.mqtt_broker_url: The URL of the MQTT broker that InvisOutlet will be connected to.user: The username to authenticate and connect to the MQTT broker.pass: The password to authenticate and connect to the MQTT broker.qos: The QoS level of the MQTT message; 0, 1, 2, or 3.
internet:ip: IP address of the device inuint32_t.mainDNS: IP address of the primary DNS inuint32_t.backupDNS: IP address of the secondary DNS inuint32_t.
Last updated