Configure Device Configuration
[TCP/WebSocket<-->IM]
Configure various preferences of the device.
Request
packetID: Represents the ID of the packet. This can be any six-digit number, no leading zeros.payload:callbackName: 2callbackArgs: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.aqiColorRGBFeature: Enable/disable InvisDeco's RGB indicator light to indicate 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: OverrideadaptiveNightlightFeatureandoccupancyNightlightFeatureif either one is enabled. If enabled,adaptiveNightlightFeatureandoccupancyNightlightFeaturewill be disabled when the user controls the nightlight on/off or brightness; 1 - On, 0 - Off.
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.
Special Features Description
Security Alert: If any motion is detected, all InvisDeco indicators and nightlight will flash at maximum brightness, until no motion is detected.
Adaptive Nightlight: The nightlight will automatically adjust its brightness based on ambient brightness. The adaptive minimum and maximum brightness can be adjusted via the
adaptiveMinBrightnessandadaptiveMaxBrightnessparameter to suit your preferences.Occupancy Nightlight: The nightlight will automatically be turned on when occupancy is detected.
adaptiveNightlightFeatureandoccupancyNightlightFeaturecan be activated at the same time. WhenadaptiveNightlightFeatureis not activated, the nightlight will be turned on based on previously set brightness, whenadaptiveNightlightFeatureis activated, then it will follow Adaptive Nightlight's settings to turn on/off the nightlight.Home Away Mode: The home away mode will randomly turn on/off outlet 1, outlet 2, and/or nightlight depending on if
outlet1Enabledoutlet2EnablednightlightEnabledis enabled or not. The Nightlight brightness can be randomized with a range set, withminBrightnessandmaxBrightness. The brightness can be static when bothminBrightnessandmaxBrightnessare set to the same value. The on/off duration can also be randomized, withminOnDurationmaxOnDurationminOffDurationmaxOffDuration. If the on off duration are set to the same, then the duration will be static instead of randomlized.
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.
Last updated