UC100v2 – 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 UC100(hardware v2.x) TSL model, their descriptions, and how to use them.
Usage
- Have an overview of the configurable properties and their default values of UC100(hardware v2.x) .
- 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 UC100(hardware v2.x) 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": 1200, // Reporting Interval Type: int Unit: s
"time_zone": "0", // Time Zone Type: enum
"daylight_saving_time_settings": { // Daylight Saving Time Type: struct
"enable": false, // Daylight Saving Time Type: bool
"daylight_saving_time_offset": 60, // DST Bias Type: int Unit: min
"start_month": "3", // Month Type: enum
"start_week": "2", // Number of Week Type: enum
"start_week_day": "7", // Week Type: enum
"start_hour_min": "0", // Time Type: enum Unit: min
"end_month": "11", // Month Type: enum
"end_week": "1", // Number of Week Type: enum
"end_week_day": "1", // Week Type: enum
"end_hour_min": "0" // Time Type: enum Unit: min
},
"modbus_channel_1": [ // Channel ID 1 Settings Type: array Length: 1
{
"oper": false, // Channel ID 1 Enable Type: bool
"name_len": 1, // name length Type: int
"name": "FCQJWC20URHR3I7K", // Channel Names Type: string
"slave_id": 0, // Slave ID Type: int
"address": 0, // Address Type: int
"type": "0", // Data Type Type: enum
"quantity": 1, // Quantity Type: int
"sign_bit": false // Sign Type: bool
}
],
"modbus_channel_2": [ // Channel ID 2 Settings Type: array Length: 1
{
"oper": false, // Channel ID 2 Enable Type: bool
"name_len": 1, // name length Type: int
"name": "UQ3VS03Z9AZMEYV9", // Channel Names Type: string
"slave_id": 0, // Slave ID Type: int
"address": 0, // Address Type: int
"type": "0", // Data Type Type: enum
"quantity": 1, // Quantity Type: int
"sign_bit": false // Sign Type: bool
}
],
... // Up to 32 channels are supported.
"modbus_channel_32": [ // Channel ID 32 Settings Type: array Length: 1
{
"oper": false, // Channel ID 32 Enable Type: bool
"name_len": 1, // name length Type: int
"name": "861BV6AF952N28FF", // Channel Names Type: string
"slave_id": 0, // Slave ID Type: int
"address": 0, // Address Type: int
"type": "0", // Data Type Type: enum
"quantity": 1, // Quantity Type: int
"sign_bit": false // Sign Type: bool
}
],
"rs485_settings": { // RS485 Settings Type: struct
"baudrate": "9600", // Baud Rate Type: enum
"databits": "8", // Data Bit Type: enum Unit: bits
"stopbits": "1", // Stop Bit Type: enum Unit: bits
"parity": "0" // Parity Type: enum
},
"modbus_settings": { // Modbus Settings Type: struct
"execution_interval": 50, // Execution Interval Type: int Unit: ms
"max_resp_time": 500, // Max Resp Time Type: int Unit: ms
"max_retry_times": 3, // Max Retry Times Type: int
"pass_throuh": false, // Pass-through Type: bool
"pass_throuh_mode": "0", // Pass-through Mode Type: enum
"port": 2 // Port Type: int
},
"rule_engine": { // Rule Engine Settings Type: struct
"common": { // Common Settings Type: struct
"enable": false, // Rule Enable Type: bool
"rule_id": "1" // Rule ID Type: enum
},
"condition": { // Condition Type: struct
"type": "16", // Type Type: enum
"time_cond": { // Time Type: struct
"repeat_mode": "0", // Loop Mode Type: enum
"repeat_week": { // Weekly Type: struct
"monday": false, // Monday Type: bool
"tuesday": false, // Tuesday Type: bool
"wednesday": false, // Wednesday Type: bool
"thursday": false, // Thursday Type: bool
"friday": false, // Friday Type: bool
"saturday": false, // Saturday Type: bool
"sunday": false // Sunday Type: bool
},
"repeat_month": { // Monthly Type: struct
"day_1": false, // 1st Type: bool
"day_2": false, // 2st Type: bool
"day_3": false, // 3st Type: bool
"day_4": false, // 4st Type: bool
"day_5": false, // 5st Type: bool
"day_6": false, // 6st Type: bool
"day_7": false, // 7st Type: bool
"day_8": false, // 8st Type: bool
"day_9": false, // 9st Type: bool
"day_10": false, // 10st Type: bool
"day_11": false, // 11st Type: bool
"day_12": false, // 12st Type: bool
"day_13": false, // 13st Type: bool
"day_14": false, // 14st Type: bool
"day_15": false, // 15st Type: bool
"day_16": false, // 16st Type: bool
"day_17": false, // 17st Type: bool
"day_18": false, // 18st Type: bool
"day_19": false, // 19st Type: bool
"day_20": false, // 20st Type: bool
"day_21": false, // 21st Type: bool
"day_22": false, // 22st Type: bool
"day_23": false, // 23st Type: bool
"day_24": false, // 24st Type: bool
"day_25": false, // 25st Type: bool
"day_26": false, // 26st Type: bool
"day_27": false, // 27st Type: bool
"day_28": false, // 28st Type: bool
"day_29": false, // 29st Type: bool
"day_30": false, // 30st Type: bool
"day_31": false // 31st Type: bool
},
"hour": 0, // hour Type: int
"minute": 0 // minute Type: int
},
"channel_cond": { // Channle Type: struct
"channel_id": 1, // Channel ID Type: int
"trig_mode": "3", // Trig Mode Type: enum
"false_trig": { // false Type: struct
"continue_mode": "0", // Continue Mode Type: enum
"continue_time": 0, // Continue Time Type: long Unit: ms
"lock_time": 0 // Lock Time Type: long Unit: ms
},
"true_trig": { // true Type: struct
"continue_mode": "0", // Continue Mode Type: enum
"continue_time": 0, // Continue Time Type: long Unit: ms
"lock_time": 0 // Lock Time Type: long Unit: ms
},
"below_trig": { // Below Type: struct
"continue_mode": "0", // Continue Mode Type: enum
"continue_time": 0, // Continue Time Type: long Unit: ms
"lock_time": 0, // Lock Time Type: long Unit: ms
"threshold_min": 0 // Threshold Min Value Type: float
},
"above_trig": { // Above Type: struct
"continue_mode": "0", // Continue Mode Type: enum
"continue_time": 0, // Continue Time Type: long Unit: ms
"lock_time": 0, // Lock Time Type: long Unit: ms
"threshold_max": 0 // Threshold Max Value Type: float
},
"within_trig": { // Within Type: struct
"continue_mode": "0", // Continue Mode Type: enum
"continue_time": 0, // Continue Time Type: long Unit: ms
"lock_time": 0, // Lock Time Type: long Unit: ms
"threshold_min": 0, // Threshold Min Value Type: float
"threshold_max": 0 // Threshold Max Value Type: float
},
"change_no_time_trig": { // Change(With recent report) Type: struct
"change_value": 0 // Change Value Type: float
},
"change_with_time_trig": { // Change(Use time interval) Type: struct
"change_interval": 0, // Change Time Interval Type: float Unit: ms
"change_value": 0 // Change Value Type: float
}
},
"rs485_data_cond": { // RS485 Data Type: struct
"len": 2, // Length Type: int
"content": "Q9YX6AZPFYR3TZ0DHCY0XILZRD1PC29C" // Content Type: string
},
"serve_msg_cond": { // Server Message Type: struct
"len": 1, // Length Type: int
"content": "C" // Content Type: string
},
"d2d_cond": { // D2D Type: struct
"cmd": "0000", // D2D Conmand Type: string
"state": "0" // Designated state Type: enum
}
},
"action_1": { // Action1 Type: struct
"type": "144", // Type Type: enum
"serve_msg_action": { // Server Message Type: struct
"delay": 0, // Delay Type: long Unit: ms
"len": 1, // Length Type: int
"content": "IXC2MMRK5VM7NYQAQJH8CSG9240ZYEYONE" // Content Type: string
},
"d2d_action": { // D2D Type: struct
"delay": 0, // Delay Type: long Unit: ms
"cmd": "0000" // D2D Conmand Type: string
},
"rs485_data_action": { // RS485 Data Type: struct
"delay": 0, // Delay Type: long Unit: ms
"len": 2, // Length Type: int
"content": "GXKWG8X3DQ39" // Content Type: string
},
"data_report_action": { // Report Data Package Type: struct
"delay": 0 // Delay Type: long Unit: ms
},
"alarm_report_action": { // Threshold/Change Packet Type: struct
"delay": 0, // Delay Type: long Unit: ms
"release_packet": "0" // Threshold Release Packet Type: enum
},
"restart_action": { // Restart Type: struct
"delay": 0 // Delay Type: long Unit: ms
}
},
"action_2": { // Action2 Type: struct
"type": "160", // Type Type: enum
"serve_msg_action": { // Server Message Type: struct
"delay": 0, // Delay Type: long Unit: ms
"len": 1, // Length Type: int
"content": "BKDTYCLVQSNWUZ65VQTC1L0FRBOVH" // Content Type: string
},
"d2d_action": { // D2D Type: struct
"delay": 0, // Delay Type: long Unit: ms
"cmd": "0000" // D2D Conmand Type: string
},
"rs485_data_action": { // RS485 Data Type: struct
"delay": 0, // Delay Type: long Unit: ms
"len": 2, // Length Type: int
"content": "5MZZS76XFNORQCK9ZQRVZ8EC" // Content Type: string
},
"data_report_action": { // Report Data Package Type: struct
"delay": 0 // Delay Type: long Unit: ms
},
"alarm_report_action": { // Threshold/Change Packet Type: struct
"delay": 0, // Delay Type: long Unit: ms
"release_packet": "0" // Threshold Release Packet Type: enum
},
"restart_action": { // Restart Type: struct
"delay": 0 // Delay Type: long Unit: ms
}
},
"action_3": { // Action3 Type: struct
"type": "176", // Type Type: enum
"serve_msg_action": { // Server Message Type: struct
"delay": 0, // Delay Type: long Unit: ms
"len": 1, // Length Type: int
"content": "VGYO" // Content Type: string
},
"d2d_action": { // D2D Type: struct
"delay": 0, // Delay Type: long Unit: ms
"cmd": "0000" // D2D Conmand Type: string
},
"rs485_data_action": { // RS485 Data Type: struct
"delay": 0, // Delay Type: long Unit: ms
"len": 2, // Length Type: int
"content": "LNBN2XA7JMHQ7YBTFIPCT7MKSSP046YAL869G1ZVC9" // Content Type: string
},
"data_report_action": { // Report Data Package Type: struct
"delay": 0 // Delay Type: long Unit: ms
},
"alarm_report_action": { // Threshold/Change Packet Type: struct
"delay": 0, // Delay Type: long Unit: ms
"release_packet": "0" // Threshold Release Packet Type: enum
},
"restart_action": { // Restart Type: struct
"delay": 0 // Delay Type: long Unit: ms
}
}
},
"data_storage_enable": false, // Data Storage Enable Type: bool
"retransmission_interval": { // Retransmission Interval Settings Type: struct
"type": false, // Data Retransmission Enable Type: bool
"interval": 600 // Retransmission Interval Type: int Unit: s
},
"retrival_interval": { // Retrival Interval Settings Type: struct
"interval": 60 // Retrival Interval Type: int Unit: s
}
}
}
Description
The following table provides the description and valid values for the configurable properties of UC100(hardware v2.x).
| Parameter | Type | Description | ||||
|---|---|---|---|---|---|---|
| reporting_interval | Integer |
Specify the interval for data reporting (Unit: Second).
|
||||
| time_zone | Enum |
Specify the time zone for this device.
|
||||
| daylight_saving_time_settings | Struct |
Daylight Saving Time settings. |
||||
| enable | Boolean |
Decide whether to enable Daylight Saving Time. Valid value:
|
||||
| daylight_saving_time_offset | Integer |
Specify the bias of Daylight Saving Time (Unit : minute).
|
||||
| start_month | Enum |
Specify the start month of Daylight Saving Time. Valid value:
|
||||
| start_week | Enum |
Specify the start week of Daylight Saving Time. Valid value:
|
||||
| start_week_day | Enum |
Specify the start week day of Daylight Saving Time. Valid value:
|
||||
| start_hour_min | Enum |
Specify the start time of Daylight Saving Time (Unit : minute). Valid value:
|
||||
| end_month | Enum |
Specify the end month of Daylight Saving Time. Valid value:
|
||||
| end_week | Enum |
Specify the end week of Daylight Saving Time. Valid value:
|
||||
| end_week_day | Enum |
Specify the end week day of Daylight Saving Time. Valid value:
|
||||
| end_hour_min | Enum |
Specify the end time of Daylight Saving Time (Unit : minute). Valid value:
|
||||
| modbus_channel_1 | Array |
Modbus Channel 1 Settings. |
||||
| oper | Boolean |
Specify the operation for this Modbus channel. Valid value:
|
||||
| name_len | Integer |
Specify the length for channel name.
|
||||
| name | String |
Specify the channel name.
|
||||
| slave_id | Integer |
Specify the server (slave) ID.
|
||||
| address | Integer |
Specify the register start address.
|
||||
| type | Enum |
Specify the data type. Valid value: Refer to Valid value – Channel data type. |
||||
| quantity | Integer |
Specify the reading quantity of this register.
|
||||
| sign_bit | Boolean |
Specify the sign of this register value. Valid value:
|
||||
| modbus_channel_2 | Array |
Modbus Channel 2 Settings. |
||||
| oper | Boolean |
Specify the operation for this Modbus channel. Valid value:
|
||||
| name_len | Integer |
Specify the length for channel name.
|
||||
| name | String |
Specify the channel name.
|
||||
| slave_id | Integer |
Specify the server (slave) ID.
|
||||
| address | Integer |
Specify the register start address.
|
||||
| type | Enum |
Specify the data type. Valid value: Refer to Valid value – Channel data type. |
||||
| quantity | Integer |
Specify the reading quantity of this register.
|
||||
| sign_bit | Boolean |
Specify the sign of this register value. Valid value:
|
||||
| ... | ||||||
| modbus_channel_32 | Array |
Modbus Channel 32 Settings. |
||||
| oper | Boolean |
Specify the operation for this Modbus channel. Valid value:
|
||||
| name_len | Integer |
Specify the length for channel name.
|
||||
| name | String |
Specify the channel name.
|
||||
| slave_id | Integer |
Specify the server (slave) ID.
|
||||
| address | Integer |
Specify the register start address.
|
||||
| type | Enum |
Specify the data type. Valid value: Refer to Valid value – Channel data type. |
||||
| quantity | Integer |
Specify the reading quantity of this register.
|
||||
| sign_bit | Boolean |
Specify the sign of this register value. Valid value:
|
||||
| rs485_settings | Struct |
RS485 Settings. |
||||
| baudrate | Enum |
Specify the baud rate. Valid value:
|
||||
| databits | Enum |
Specify the Data Bit. Valid value:
|
||||
| stopbits | Enum |
Specify the Stop Bit. Valid value:
|
||||
| parity | Enum |
Specify the Parity. Valid value:
|
||||
| modbus_settings | Struct |
Modbus Settings. |
||||
| execution_interval | Integer |
Specify the execution interval between each Modbus channel command ( Unit : ms).
|
||||
| max_resp_time | Integer |
Specify the maximum response time to wait for the reply ( Unit : ms).
|
||||
| max_retry_times | Integer |
Specify the maximum retry number after failing to read data.
|
||||
| pass_throuh | Boolean |
Decide whether to enable RS485 bridge LoRaWAN®. Valid value:
|
||||
| pass_throuh_mode | Enum |
Specify the Pass-through Mode. Valid value:
|
||||
| port | Integer |
Specify the communication port for pass through.
|
||||
| rule_engine | Struct |
Rule Engine Settings. |
||||
| common | Struct |
Common Settings. |
||||
| enable | Boolean |
Decide whether to enable this rule. Valid value:
|
||||
| rule_id | Enum |
Specify the rule ID to disable or enable. Valid value:
|
||||
| condition | Struct |
Condition settings. |
||||
| type | Enum |
Specify the rule condition. Valid value:
|
||||
| time_cond | Struct |
Settings for condition Time(local time). |
||||
| repeat_mode | Enum |
Specify the repeat mode. Valid value:
|
||||
| repeat_week | Struct |
Weekly settings if repeat mode is Week. |
||||
| monday | Boolean |
Decide whether to repeat this rule every Monday. Valid value:
|
||||
| tuesday | Boolean |
Decide whether to repeat this rule every Tuesday. Valid value:
|
||||
| wednesday | Boolean |
Decide whether to repeat this rule every Wednesday. Valid value:
|
||||
| thursday | Boolean |
Decide whether to repeat this rule every Thursday. Valid value:
|
||||
| friday | Boolean |
Decide whether to repeat this rule every Friday. Valid value:
|
||||
| saturday | Boolean |
Decide whether to repeat this rule every Saturday. Valid value:
|
||||
| sunday | Boolean |
Decide whether to repeat this rule every Sunday. Valid value:
|
||||
| repeat_month | Struct |
Monthly settings when repeat mode is Month. |
||||
| day_1 | Boolean |
Decide whether to repeat this rule every 1st of the month. Valid value:
|
||||
| day_2 | Boolean |
Decide whether to repeat this rule every 2st of the month. Valid value:
|
||||
| day_x | Boolean | ... | ||||
| day_31 | Boolean |
Decide whether to repeat this rule every 31st of the month. Valid value:
|
||||
| hour | Integer |
Specify the repeat hour time.
|
||||
| minute | Integer |
Specify the repeat minute time.
|
||||
| channel_cond | Struct |
Settings for condition Channel. |
||||
| channel_id | Integer |
Specify the Channel ID.
|
||||
| trig_mode | Enum |
Specify the trigger condition of the Modbus channel value. Valid value:
|
||||
| false_trig | Struct |
Settings for trigger condition False. |
||||
| continue_mode | Enum |
Specify the continue mode. Valid value:
|
||||
| continue_time | Long |
Specify the continue time of the threshold ( Unit : ms).
|
||||
| lock_time | Long |
Specify the time to check if the value still reaches the threshold ( Unit : ms).
|
||||
| true_trig | Struct | Settings for trigger condition True. | ||||
| continue_mode | Enum |
Specify the continue mode. Valid value:
|
||||
| continue_time | Long |
Specify the continue time of the threshold ( Unit : ms).
|
||||
| lock_time | Long |
Specify the time to check if the value still reaches the threshold ( Unit : ms).
|
||||
| below_trig | Struct |
Settings for trigger condition Below. |
||||
| continue_mode | Enum |
Specify the continue mode. Valid value: |
||||
| continue_time | Long |
Specify the continue time of the threshold ( Unit : ms). |
||||
| lock_time | Long |
Specify the time to check if the value still reaches the threshold ( Unit : ms). |
||||
| threshold_min | Float |
Specify the minimum threshold value.
|
||||
| above_trig | Struct |
Settings for trigger condition Above. |
||||
| continue_mode | Enum |
Specify the continue mode. Valid value: |
||||
| continue_time | Long |
Specify the continue time of the threshold ( Unit : ms). |
||||
| lock_time | Long |
Specify the time to check if the value still reaches the threshold ( Unit : ms). |
||||
| threshold_max | Float |
Specify the maximum threshold value.
|
||||
| within_trig | Struct |
Settings for trigger condition Within. |
||||
| continue_mode | Enum |
Specify the continue mode. Valid value: |
||||
| continue_time | Long |
Specify the continue time of the threshold ( Unit : ms). |
||||
| lock_time | Long |
Specify the time to check if the value still reaches the threshold ( Unit : ms). |
||||
| threshold_min | Float |
Specify the minimum threshold value.
|
||||
| threshold_max | Float |
Specify the maximum threshold value.
|
||||
| change_no_time_trig | Struct |
Settings for trigger condition Change(With recent report). |
||||
| change_value | Float |
Specify the change value.
|
||||
| change_with_time_trig | Struct |
Settings for trigger condition Change(Use time interval). |
||||
| change_interval | Float |
Specify the last interval of the change ( Unit : ms).
|
||||
| change_value | Float |
Specify the change value.
|
||||
| rs485_data_cond | Struct |
Settings of condition Received a command via the RS485 interface. |
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
|
||||
| serve_msg_cond | Struct |
Settings of condition Received a server message. |
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
Note: Only
letter, number, comma, period, separator and exclamation
mark are allowed.
|
||||
| d2d_cond | Struct |
Settings of condition Received a D2D control command. |
||||
| cmd | String |
Specify the D2D control command to receive.
|
||||
| state | Enum |
Decide whether to enable designated state. Valid value:
|
||||
| action_1 | Struct |
Action1 settings. |
||||
| type | Enum |
Specify the action type. Valid value:
|
||||
| serve_msg_action | Struct |
Settings of action Send a server message. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
Note: Only
letter, number, comma, period, separator and exclamation
mark are allowed.
|
||||
| d2d_action | Struct |
Settings of action Send a D2D control command. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| cmd | String |
Specify the D2D Command to send.
|
||||
| rs485_data_action | Struct |
Settings of action Send a command via the RS485 interface. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
|
||||
| data_report_action | Struct |
Settings of action Report Data Package. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| alarm_report_action | Struct |
Settings of action Report Threshold/Change Packet. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| release_packet | Enum |
Decide whether to enable to report threshold release packet. Valid value:
|
||||
| restart_action | Struct |
Settings of action Restart the Device. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| action_2 | Struct |
Action2 settings. |
||||
| type | Enum |
Specify the action type. Valid value:
|
||||
| serve_msg_action | Struct |
Settings of action Send a server message. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
Note: Only
letter, number, comma, period, separator and exclamation
mark are allowed.
|
||||
| d2d_action | Struct |
Settings of action Send a D2D control command. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| cmd | String |
Specify the D2D Command to send.
|
||||
| rs485_data_action | Struct |
Settings of action Send a command via the RS485 interface. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
|
||||
| data_report_action | Struct |
Settings of action Report Data Package。 |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| alarm_report_action | Struct |
Settings of action Report Threshold/Change Packet. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| release_packet | Enum |
Decide whether to enable to report threshold release packet. Valid value:
|
||||
| restart_action | Struct |
Settings of action Restart the Device. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| action_3 | Struct |
Action3 settings. |
||||
| type | Enum |
Specify the action type. Valid value:
|
||||
| serve_msg_action | Struct |
Settings of action Send a server message. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
Note: Only
letter, number, comma, period, separator and exclamation
mark are allowed.
|
||||
| d2d_action | Struct |
Settings of action Send a D2D control command. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| cmd | String |
Specify the D2D Command to send.
|
||||
| rs485_data_action | Struct |
Settings of action Send a command via the RS485 interface. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| len | Integer |
Specify the message length.
|
||||
| content | String |
Specify the message content.
|
||||
| data_report_action | Struct |
Settings of action Report Data Package. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| alarm_report_action | Struct |
Settings of action Report Threshold/Change Packet. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| release_packet | Enum |
Decide whether to enable to report threshold release packet. Valid value:
|
||||
| restart_action | Struct |
Settings of action Restart the Device. |
||||
| delay | Long |
Specify the delay time to take action ( Unit : ms).
|
||||
| data_storage_enable | Boolean |
Decide whether to allow the device to store data. Valid value:
|
||||
| retransmission_interval | Struct |
Note: This setting ONLY takes effect
when retransmission_enable is set to
The interval for data
retransmission.true. |
||||
| type | 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. Valid value:
|
||||
| interval | Integer |
Specify the interval for data retransmission (Unit:
Second).
|
||||
| retrival_interval | Struct |
The time interval for data retrieval. |
||||
| interval | Integer |
Specify the time interval for data retrieval (Unit:
Second).
|
||||
- Valid value – Channel data type
-
0: Coil (Default value).1: Discrete.2: Input Register(INT16_AB).3: Input Register(INT16_BA).4: Input Register(INT32_ABCD).5: Input Register(INT32_BADC).6: Input Register(INT32_CDAB).7: Input Register(INT32_DCBA).8: Input Register(INT32_AB).9: Input Register(INT32_CD).10: Input Register(FLOAT_ABCD).11: Input Register(FLOAT_BADC).12: Input Register(FLOAT_CDAB).13: Input Register(FLOAT_DCBA).14: Holding Register(INT16_AB).15: Holding Register(INT16_BA).16: Holding Register(INT32_ABCD).17: Holding Register(INT32_BADC).18: Holding Register(INT32_CDAB).19: Holding Register(INT32_DCBA).20: Holding Register(INT32_AB).
21: Holding Register(INT32_CD).22: Holding Register(FLOAT_ABCD).23: Holding Register(FLOAT_BADC).24: Holding Register(FLOAT_CDAB).25: Holding Register(FLOAT_DCBA).26: Input Register (DOUBLE_ABCDEFGH).27: Input Register (DOUBLE_GHEFCDAB).28: Input Register (DOUBLE_BADCFEHG).29: Input Register (DOUBLE_HGFEDCBA).30: Input Register (INT64_ABCDEFGH).31: Input Register (INT64_GHEFCDAB).32: Input Register (INT64_BADCFEHG).33: Input Register (INT64_HGFEDCBA).34: Holding Register (DOUBLE_ABCDEFGH).35: Holding Register (DOUBLE_GHEFCDAB).36: Holding Register (DOUBLE_BADCFEHG).37: Holding Register (DOUBLE_HGFEDCBA).38: Holding Register (INT64_ABCDEFGH).39: Holding Register (INT64_GHEFCDAB).40: Holding Register (INT64_BADCFEHG).41: Holding Register (INT64_HGFEDCBA).