EM400-MUD – 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 EM400-MUD TSL model, their descriptions, and how to use them.

Usage

  1. Have an overview of the configurable properties and their default values of EM400-MUD .
  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 EM400-MUD 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": {
        "working_mode_settings": { // Work Mode Type: struct
            "current_mode": "0", // Work Mode Type: enum
            "standard_mode_reporting_interval": 600, // Standard Mode Reporting Interval Type: int Unit: s
            "standard_mode_collection_interval": 600, // Standard Mode  Collecting Interval Type: int Unit: s
            "bin_mode_reporting_interval": 1200, // Bin Mode Reporting Interval Type: int Unit: s
            "bin_mode_collection_interval": 1200, // Bin Mode Collecting Interval Type: int Unit: s
            "parking_mode_reporting_interval": 64800, // Parking Lot Mode Reporting Interval Type: int Unit: s
            "parking_mode_collection_interval": 20, // Parking Lot Mode Collecting Interval Type: int Unit: s
            "standard_mode_mounting_height": 3000 // installation height Type: int Unit: mm
        },
        "tilt_linkage_distance_enable": false, // Tilt&Distance Switch Type: bool
        "standard_mode_distance_alarm_rules": { // Distance Threshold Alarm Type: struct
            "alarm_condition": "0", // Threshold Condition Type: enum
            "alarm_deactivation_enable": false, // Threshold Dismiss Report Type: bool
            "threshold_min": 0, // Value A Type: float Unit: mm
            "threshold_max": 0 // Value B Type: float Unit: mm
        },
        "bin_mode_distance_alarm_rules": { // Distance Threshold Alarm Type: struct
            "alarm_condition": "1", // Threshold Condition Type: enum
            "alarm_deactivation_enable": false, // Threshold Dismiss Report Type: bool
            "threshold_min": 300, // Value A Type: float Unit: mm
            "threshold_max": 0 // Value B Type: float Unit: mm
        },
        "people_existing_height": 800, // People Existing Height Type: int Unit: mm
        "tof_detection_enable": true, // TOF Type: bool
        "resampling_settings": { // recovery collect Type: struct
            "counter": 1, // recovery cnt Type: int
            "interval": 5 // recovery period Type: int Unit: s
        }
    }
}

Description

The following table provides the description and valid values for the configurable properties of EM400-MUD.

Parameter Type Description
working_mode_settings Struct

Work Mode settings.

current_mode Enum

Specify the work mode of the device.

Valid value:
  • 0: Standard mode (Default value).
  • 1: Bin mode.
  • 2: Parking Lot Mode.
standard_mode_reporting_interval Integer

Specify the Standard Mode Reporting Interval ( Unit : second).

  • Default value: 600
  • Valid value: 60 - 64800
standard_mode_collection_interval Integer

Specify the Standard Mode Collecting Interval ( Unit : second).

  • Default value: 600
  • Valid value: 60 - 64800
bin_mode_reporting_interval Integer

Specify the Bin Mode Reporting Interval ( Unit : second).

  • Default value: 1200
  • Valid value: 60 - 64800
bin_mode_collection_interval Integer

Specify the Bin Mode Collecting Interval ( Unit : second).

  • Default value: 1200
  • Valid value: 60 - 64800
parking_mode_reporting_interval Integer

Specify the Parking Lot Mode Reporting Interval ( Unit : second).

  • Default value: 64800
  • Valid value: 60 - 64800
parking_mode_collection_interval Integer

Specify the Parking Lot Mode Collecting Interval ( Unit : second).

  • Default value: 20
  • Valid value: 1 - 600
standard_mode_mounting_height Integer

Specify the installation height ( Unit : mm).

  • Default value: 3000
  • Valid value: 30 - 4500
tilt_linkage_distance_enable Boolean

Decide whether to turn off the distance measurement when the device offset angle is greater than 20 degrees.

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

Distance Threshold Alarm settings for Standard Mode.

alarm_condition Enum

Specify the conditions for triggering the distance alarm.

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

Decide whether to enable alarm dismiss report.

Valid value:
  • false: Enabled (Default value).
  • true: Disable.
threshold_min Float

Specify the minimum threshold for distance alarm ( Unit : mm).

  • Default value: 0
  • Valid value: 0 - 4500
threshold_max Float

Specify the maximum threshold for distance alarm ( Unit : mm).

  • Default value: 0
  • Valid value: 0 - 4500
bin_mode_distance_alarm_rules Struct

Distance Threshold Alarm settings for Bin Mode.

alarm_condition Enum

Specify the conditions for triggering the distance alarm.

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

Decide whether to enable alarm dismiss report.

Valid value:
  • false: Enabled (Default value).
  • true: Disable.
threshold_min Float

Specify the minimum threshold for distance alarm ( Unit : mm).

  • Default value: 300
  • Valid value: 0 - 4500
threshold_max Float

Specify the maximum threshold for distance alarm( Unit : mm).

  • Default value: 0
  • Valid value: 0 - 4500
people_existing_height Integer

Specify the height threshold in parking lot mode ( Unit : mm).

  • Default value: 800
tof_detection_enable Boolean

Decide whether to enable distance measurement.

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

Sensor re-collection settings.

counter Integer

Specify the maximum number of re-collections after sensor data collection error.

  • Default value: 1
interval Integer

Specify the interval of re-collections after sensor data collection error ( Unit : Second).

  • Default value: 5