VS321 – Configurable Properties

You can update a device's settings by modifying the configurable properties of its TSL model via API. This topic provides the configurable parameters for VS321 TSL model, their descriptions, and how to use them.

Usage

  1. Have an overview of the configurable properties and their default values of VS321 .
  2. Copy the example code and remove the comments and parameters that do not require modification.
  3. Edit the desired properties according to the detailed properties description .
    Note: Make sure that the edited example code complies with the JSON format requirements.
  4. Use the edited example code as the body parameters of Update Device Properties Incrementally.

Configurable Properties

The following code represents all configurable properties in the VS321 TSL model, along with their default values.

Note:
  • Click a property to view its detailed description and valid values.
  • Configure the example code as needed, then use it as the body parameters of Update Device Properties Incrementally to save time and effort.
{
    "version": "v1.0",
    "type": "TSL",
    "properties": {
        "reporting_interval_settings_switch": { // Reporting Interval Settings Switch Type: struct
            "report_type": "1", // Reporting Type Type: enum
            "reporting_interval": { // Reporting Interval Settings Type: struct
                "time": 10 // Reporting Interval Type: int Unit: min
            },
            "reporting_interval1": { // Reporting Interval Settings Type: struct
                "time": "10" // Reporting Interval Type: enum Unit: min
            }
        },
        "detection_mode": "0", // Detection Mode Type: enum
        "detection_interval": "2", // Detection Interval Type: enum Unit: min
        "adr_mode": false, // ADR Mode Type: bool
        "application_port": 85, // Application Port Type: int
        "set_threshold_illuminance": { // Threshold of Illuminance Type: struct
            "value_less_than": 120, // Dark Value Type: int
            "value_greater_than": 50 //Light Value Type: int
        },
        "set_threshold_alarm_temperature": { // Threshold Alarm of Temperature Type: struct
            "threshold_condition": "0", // Threshold Alarm of Temperature Type: enum
            "value_less_than": 0, // Value A Type: int Unit: ℃
            "value_greater_than": 0 // Value B Type: int Unit: ℃
        },
        "set_threshold_alarm_humidity": { // Threshold Alarm of Humidity Type: struct
            "threshold_condition": "0", // Threshold Alarm of Humidity Type: enum
            "value_less_than": 0, // Value A Type: int Unit: %
            "value_greater_than": 0 // Value B Type: int Unit: %
        },
        "d2d_enable": false, // D2D Enable Type: bool
        "d2d_key": "5572404c696e6b4c", // D2D Key Type: string
        "occupied_d2d_controller_settings": { // Occupied Type: struct
            "d2d_controller_occupied_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0000", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "vacant_d2d_controller_settings": { // Vacant Type: struct
            "d2d_controller_idle_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0001", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region1_occupied_d2d_controller_settings": { // Region 1 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region1_vacant_d2d_controller_settings": { // Region 1 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region2_occupied_d2d_controller_settings": { // Region 2 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region2_vacant_d2d_controller_settings": { // Region 2 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region3_occupied_d2d_controller_settings": { // Region 3 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region3_vacant_d2d_controller_settings": { // Region 3 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region4_occupied_d2d_controller_settings": { // Region 4 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region4_vacant_d2d_controller_settings": { // Region 4 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region5_occupied_d2d_controller_settings": { // Region 5 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region5_vacant_d2d_controller_settings": { // Region 5 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region6_occupied_d2d_controller_settings": { // Region 6 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region6_vacant_d2d_controller_settings": { // Region 6 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region7_occupied_d2d_controller_settings": { // Region 7 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region7_vacant_d2d_controller_settings": { // Region 7 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region8_occupied_d2d_controller_settings": { // Region 8 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region8_vacant_d2d_controller_settings": { // Region 8 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region9_occupied_d2d_controller_settings": { // Region 9 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region9_vacant_d2d_controller_settings": { // Region 9 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region10_occupied_d2d_controller_settings": { // Region 10 Occupied Type: struct
            "d2d_controller_occupied_brightness_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0004", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "region10_vacant_d2d_controller_settings": { // Region 10 Vacant Type: struct
            "d2d_controller_occupied_dusky_enable": false, // Trigger Enable Type: bool
            "d2d_controller_lora_enable": false, // LoRa Uplink Type: bool
            "d2d_controller_command": "0005", // Control Command Type: string
            "d2d_controller_command_valid_time": 5, // Control Time Type: int Unit: min
            "d2d_controller_command_valid_time_enable": false // Enable Control Time Type: bool
        },
        "data_storage_enable": false, // Data Storage Enable Type: bool
        "retransmission_enable": false, // Data Retransmission Enable Type: bool
        "retransmission_interval": { // Retransmission Interval Settings Type: struct
            "interval": 600 // Retransmission Interval Type: int Unit: s
        },
        "retrival_interval": { // Retrival Interval Settings Type: struct
            "interval": 600 // Retrival Interval Type: int Unit: s
        }
    }
}

Description

The following table provides the description and valid values for the configurable properties of VS321.

Parameter Type Description
reporting_interval_settings_switch Struct

Reporting Interval Settings.

report_type Enum

Specify the reporting mode.

Valid value:
  • 0: Dot Report.
  • 1: Now Report (Default value).
reporting_interval Struct Report interval settings for now report.
time Integer Specify the interval for data reporting when reporting mode is Now Report (Unit: Minute).
  • Default value: 10
  • Valid value: 2 - 1440
reporting_interval1 Struct

Reporting interval settings for dot report.

time Enum

Specify the interval for data reporting when reporting mode is Dot Report.

Valid value:
  • 5: 5min.
  • 10: 10min (Default value).
  • 15: 15min.
  • 30: 30min.
  • 60: 1h.
  • 240: 4h.
  • 360: 6h.
  • 480: 8h.
  • 720: 12h.
detection_mode Enum

Specify the detection mode.

Valid value:
  • 0: Auto (Default value).
  • 1: Always ON.
detection_interval Enum

Specify the interval to detect people counting or occupancy status.

Valid value:
  • 2: 2min (Default value).
  • 5: 5min.
  • 10: 10min.
  • 15: 15min.
  • 30: 30min.
  • 60: 1h.
adr_mode Boolean

Decide whether to enable ADR Mode.

Valid value:
  • false: disable (Default value).
  • true: enable.
application_port Integer

Specify the application port for LoRaWAN communication.

  • Default value: 85
  • Valid value: 1 - 223
set_threshold_illuminance Struct

Illuminance collection settings.

value_less_than Integer

Specify the threshold for dark state ( Unit : Lux).

  • Default value: 120
  • Valid value: 10 - 10000
value_greater_than Integer

Specify the threshold for light state ( Unit : Lux).

  • Default value: 50
  • Valid value: 10 - 10000
set_threshold_alarm_temperature Struct

Temperature alarm settings.

threshold_condition Enum

Specify the conditions for triggering the temperature alarm.

Valid value:
  • 0: Do NOT send temperature alarm (Default value).
  • 1: The detected temperature < Minimum threshold.
  • 2: The detected temperature > Maximum threshold.
  • 3: Minimum threshold < The detected temperature < Maximum threshold.
  • 4: The detected temperature < Minimum threshold or the detected temperature > Maximum threshold.
value_less_than Integer

Specify the minimum threshold for temperature alarm (Unit: °C).

  • Default value: 0
  • Valid value: -40 - 125
    Note: This value supports setting one decimal place.
value_greater_than Integer

Specify the maximum threshold for temperature alarm (Unit: °C).

  • Default value: 0
  • Valid value: -40 - 125
    Note: This value supports setting one decimal place.
set_threshold_alarm_humidity Struct

Humidity alarm settings.

threshold_condition Enum

Specify the conditions for triggering the humidity alarm.

Valid value:
  • 0: Do NOT send humidity alarm (Default value).
  • 1: The detected humidity<Minimum threshold.
  • 2: The detected humidity > Maximum threshold.
  • 3: Minimum threshold < The detected humidity < Maximum threshold.
  • 4: The detected humidity < Minimum threshold or the detected humidity > Maximum threshold.
value_less_than Integer

Specify the minimum threshold for humidity alarm ( Unit : %RH).

  • Default value: 0
  • Valid value: 0 - 100
value_greater_than Integer

Specify the maximum threshold for humidity alarm ( Unit : %RH).

  • Default value: 0
  • Valid value: 0 - 100
d2d_enable Boolean

Decide whether to enable Device-to-Device (D2D) communication for this device.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_key String
Note: This setting ONLY takes effect when d2d_enable is set to true.
Specify the key for D2D communication.
  • Default value: 5572404c696e6b4c
  • Restrictions: 16 characters long. The last 16 characters are set as all 0.
occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by occupied status when detection function is People Counting.

d2d_controller_occupied_enable Boolean

Decide whether to trigger D2D communication when it's detected as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by occupied status.

  • Default value: 0000
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by vacant status when detection function is People Counting.

d2d_controller_idle_enable Boolean

Decide whether to trigger D2D communication when it's detected as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by vacant status.

  • Default value: 0001
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region1_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 1 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 1 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 1 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region1_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 1 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 1 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 1 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region2_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 2 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 2 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 2 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region2_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 2 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 2 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 2 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region3_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 3 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 3 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 3 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region3_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 3 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 3 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 3 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region4_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 4 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 4 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 4 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region4_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 4 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 4 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 4 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region5_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 5 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 5 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 5 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region5_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 5 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 5 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 5 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region6_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 6 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 6 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 6 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region6_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 6 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 6 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 6 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region7_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 7 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 7 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 7 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region7_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 7 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 7 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 7 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region8_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 8 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 8 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 8 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region8_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 8 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 8 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 8 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region9_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 9 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 9 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 9 occupied status.

  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region9_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 9 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 9 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 9 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region10_occupied_d2d_controller_settings Struct

Settings of D2D communication triggered by region 10 occupied status when detection function is Desk Occupancy.

d2d_controller_occupied_brightness_enable Boolean

Decide whether to trigger D2D communication when it's detected region 10 as occupied status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String Specify the control command for D2D communication triggered by region 10 occupied status.
  • Default value: 0004
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
region10_vacant_d2d_controller_settings Struct

Settings of D2D communication triggered by region 10 vacant status when detection function is Desk Occupancy.

d2d_controller_occupied_dusky_enable Boolean

Decide whether to trigger D2D communication when it's detected region 10 as vacant status.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_lora_enable Boolean

Decide whether to enable LoRa Uplink, which will send an uplink LoRa packet after sending the D2D control command.

Valid value:
  • false: disable (Default value).
  • true: enable.
d2d_controller_command String

Specify the control command for D2D communication triggered by region 10 vacant status.

  • Default value: 0005
  • Restrictions: 4 characters long.
d2d_controller_command_valid_time Integer

Specify the control time (Unit: Minute).

  • Default value: 5
  • Valid value: 1 - 1440
d2d_controller_command_valid_time_enable Boolean

Decide whether to enable control time to specify the duration for executing control actions within D2D communication.

Valid value:
  • false: disable (Default value).
  • true: enable.
data_storage_enable Boolean

Decide whether to allow the device to store data.

Valid value:
  • false: disable (Default value).
  • true: enable.
retransmission_enable Boolean
Decide whether to enable data retransmission, which allows the device to log time point of network disconnection periodically resend the accumulated data during the disconnection period upon reconnection.
Note: This setting ONLY takes effect when data_storage_enable is set to true.
Valid value:
  • false: disable (Default value).
  • true: enable.
retransmission_interval Struct
Note: This setting ONLY takes effect when retransmission_enable is set to true.
The interval for data retransmission.
interval Integer
Specify the interval for data retransmission (Unit: Second).
  • Default value: 600
  • Valid value: 30 - 1200
retrival_interval Struct

The time interval for data retrieval.

interval Integer

Specify the time interval for data retrieval (Unit: Second).

  • Default value: 600
  • Valid value: 30 - 1200