CT3xx – 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 CT3xx TSL model, their descriptions, and how to use them.
Usage
- Have an overview of the configurable properties and their default values of CT3xx.
 - 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
- 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": {    // The interval for data reporting (minute).
            "time": 10
        },
        "alarm_interval": 5,  // The interval for alarm (minute). 
        "alarm_count": 3,           // The count of alarm. 
        "set_threshold_parameter_ch1_current":{     // Disable current alarm of Phase A settings.
            "threshold_condition": 0,                
            "threshold_max": 1,
            "threshold_min": 1
        },
        "set_threshold_parameter_ch2_current":{     // Disable current alarm of Phase B settings.
            "threshold_condition": 0,                
            "threshold_max": 1,
            "threshold_min": 1
        },
        "set_threshold_parameter_ch3_current":{     // Disable current alarm of Phase C settings.
            "threshold_condition": 0,                
            "threshold_max": 1,
            "threshold_min": 1
        },
        "set_threshold_parameter_temp":{    // Disable temperature alarm.
            "threshold_condition": 0,                
            "threshold_max": 0,
            "threshold_min": 0
        },
    }
}
            Description
The following table provides the description and valid values for the configurable properties of CT3xx.
| Parameter | Type | Description | |
|---|---|---|---|
| reporting_interval | Struct | 
                                     The interval for data reporting.  | 
                            |
| time | Integer | 
                                     Specify the interval for data reporting (Unit: Minute). 
  | 
                            |
| alarm_interval | Integer | 
                                     Specify the alarm interval for current and temperature. (Unit: Minute). 
  | 
                            |
| alarm_count | Integer | 
                                     Specify the number of current or temperature alarms. 
  | 
                        |
| set_threshold_parameter_ch1_current | Struct | Current threshold alarm of Phase A settings. | |
| threshold_condition | Enum | 
                                     Specify the conditions for triggering the current alarm. Valid value: 
                                
  | 
                            |
| threshold_max | Integer | 
                                     Specify the excessive current threshold value (Unit: Amp). 
  | 
                            |
| threshold_min | Integer | 
                                     Specify the insufficient current threshold value (Unit: Amp). 
  | 
                            |
| set_threshold_parameter_ch2_current | Struct | Current threshold alarm of Phase B settings. | |
| threshold_condition | Enum | 
                                     Specify the conditions for triggering the current alarm. Valid value: 
                                
  | 
                            |
| threshold_max | Integer | 
                                     Specify the excessive current threshold value (Unit: Amp). 
  | 
                            |
| threshold_min | Integer | 
                                     Specify the insufficient current threshold value (Unit: Amp). 
  | 
                            |
| set_threshold_parameter_ch3_current | Struct | Current threshold alarm of Phase C settings. | |
| threshold_condition | Enum | 
                                     Specify the conditions for triggering the current alarm. Valid value: 
                                
  | 
                            |
| threshold_max | Integer | 
                                     Specify the excessive current threshold value (Unit: Amp). 
  | 
                            |
| threshold_min | Integer | 
                                     Specify the insufficient current threshold value (Unit: Amp). 
  | 
                            |
| set_threshold_parameter_temp | Struct | Temperature threshold alarm settings. | |
| threshold_condition | Enum | 
                                     Specify the conditions for triggering the temperature alarm. Valid value: 
                                
  | 
                            |
| threshold_max | Float | 
                                     Specify the maximum threshold for temperature alarm (Unit: °C). 
  | 
                            |
| threshold_min | Float | 
                                     Specify the minimum threshold for temperature alarm (Unit: °C). 
  | 
                            |