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
- Have an overview of the configurable properties and their default values of EM300-CL .
- Copy the example code and remove the comments and parameters that do not require modification.
- Edit the desired properties according to the detailed
properties description
.
Note: Make sure that the edited example code complies with the JSON format requirements.
- 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.
- 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).
|
|
collecting_interval | Struct |
The interval for status detection. |
|
time | Integer |
Specify the interval for collecting data (Unit: Minute).
|
|
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 :
|
|
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 :
|
|
alarm_interval | Integer |
Specify the alarm interval for empty status (Unit: Second).
|
|
alarm_time | Integer |
Specify the number of empty status alarms.
|
|
cal_time | Integer |
Specify the time to delay the calibration ( Unit : Second).
|
|
cap_cal_set | Struct |
Capacitor Calibration Value Setting. |
|
c1 | Float |
Specify the calibration value C1 when the liquid is full.
|
|
c2 | Float |
Specify the calibration value C2 when the liquid is full.
|
|
c3 | Float |
Specify the calibration value |C1-C2| when the liquid is full.
|
|
cap_judge_set | Struct |
Capacitor Judgement Value Settings. |
|
c1 | Float |
Specify the capacitor judgement vaule1, usually there is not need to adjust this value.
|
|
c2 | Float |
Specify the capacitor judgement vaule2, usually there is not need to adjust this value.
|
|
c3 | Float |
Specify the capacitor judgement vaule3, usually there is not need to adjust this value.
|
|
reserve | Float |
Specify the capacitor judgement vaule4, usually there is not need to adjust this value.
|