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

Usage

  1. Have an overview of the configurable properties and their default values of EM300-CL .
  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 EM300-CL 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": { // Reporting Interval Type: struct
            "time": 1440 // Reporting Interval Type: int Unit: min
        },
        "collecting_interval": { // Collecting Interval Type: struct
            "time": 10 // Collecting Interval Type: int Unit: min
        },
        "alarm_configuration": { // Alarm Settings Type: struct
            "enable": true, // Empty Alarm Type: bool
            "deactivate": true, // Alarm Dismiss Report Type: bool
            "alarm_interval": 0, // Alarm Reporting Interval Type: int Unit: s
            "alarm_time": 3 // Alarm Reporting Times Type: int
        },
        "cal_time": 1200, // Calibration Delay Time Type: int Unit: s
        "cap_cal_set": { // Capacitor Calibration Value Setting Type: struct
            "c1": 0, // C1 Type: float
            "c2": 0, // C2 Type: float
            "c3": 0 // |C1-C2| Type: float
        },
        "cap_judge_set": { // Capacitance Standard Type: struct
            "c1": 120, // vaule1 Type: float
            "c2": 50, // vaule2 Type: float
            "c3": 150, // vaule3 Type: float
            "reserve": 50 // vaule4 Type: float
        }
    }
}

Description

The following table provides the description and valid values for the configurable properties of EM300-CL.

Parameter Type Description
reporting_interval Struct

The interval for data reporting.

time Integer

Specify the interval for data reporting (Unit: Minute).

  • Default value : 1440
  • Valid value : 1 - 1440
collecting_interval Struct

The interval for status detection.

time Integer

Specify the interval for collecting data (Unit: Minute).

  • Default value : 10
  • Valid value : 1 - 1440
alarm_configuration Struct

Alarm Settings.

enable Boolean

Decide whether to enable the device to report empty alarm packets when the liquid level of container is lower than the installation height of detection electrode sheet.

Valid value :
  • false : Disable.
  • true : Enable (Default value).
deactivate Boolean

Decide whether to enable the device to report Alarm Dismiss packet once when the liquid of container is changed to full.

Valid value :
  • false : Disable.
  • true : Enable (Default value).
alarm_interval Integer

Specify the alarm interval for empty status (Unit: Second).

  • Default value : 0
  • Valid value : 0 - 64800
alarm_time Integer

Specify the number of empty status alarms.

  • Default value : 3
  • Valid value : 1 - 1000
cal_time Integer

Specify the time to delay the calibration ( Unit : Second).

  • Default value : 1200
  • Valid value : 1 - 65535
cap_cal_set Struct

Capacitor Calibration Value Setting.

c1 Float

Specify the calibration value C1 when the liquid is full.

  • Default value : 0
  • Valid value : 1 - 65535
c2 Float

Specify the calibration value C2 when the liquid is full.

  • Default value : 0
  • Valid value : 1 - 65535
c3 Float

Specify the calibration value |C1-C2| when the liquid is full.

  • Default value : 0
  • Valid value : 1 - 65535
cap_judge_set Struct

Capacitor Judgement Value Settings.

c1 Float

Specify the capacitor judgement vaule1, usually there is not need to adjust this value.

  • Default value : 120
  • Valid value : 1 - 65535
c2 Float

Specify the capacitor judgement vaule2, usually there is not need to adjust this value.

  • Default value : 50
  • Valid value : 1 - 65535
c3 Float

Specify the capacitor judgement vaule3, usually there is not need to adjust this value.

  • Default value : 150
  • Valid value : 1 - 65535
reserve Float

Specify the capacitor judgement vaule4, usually there is not need to adjust this value.

  • Default value : 50
  • Valid value : 1 - 65535