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

  1. Have an overview of the configurable properties and their default values of UC100(hardware v2.x) .
  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 UC100(hardware v2.x) 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": 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).

  • Default value: 1200
  • Valid value: 60 - 64800
time_zone Enum

Specify the time zone for this device.

  • Default value: 0 (UTC / Western European Time)
  • Valid value: Refer to time_zone Value for valid values and description.
daylight_saving_time_settings Struct

Daylight Saving Time settings.

enable Boolean

Decide whether to enable Daylight Saving Time.

Valid value:
  • false: disable (Default value).
  • true: enable.
daylight_saving_time_offset Integer

Specify the bias of Daylight Saving Time (Unit : minute).

  • Default value: 60
  • Valid value: 1 - 120
start_month Enum

Specify the start month of Daylight Saving Time.

Valid value:
  • 1 : January.
  • 2 : February.
  • 3 : March (Default value).
  • 4 : April.
  • 5 : May.
  • 6 : June.
  • 7 : July.
  • 8 : August.
  • 9 : September.
  • 10 : October.
  • 11 : November.
  • 12 : December.
start_week Enum

Specify the start week of Daylight Saving Time.

Valid value:
  • 1: 1st.
  • 2: 2nd (Default value).
  • 3: 3rd.
  • 4: 4th.
  • 5: last.
start_week_day Enum

Specify the start week day of Daylight Saving Time.

Valid value:
  • 1 : Monday.
  • 2 : Tuesday.
  • 3 : Wednesday.
  • 4 : Thursday.
  • 5 : Friday.
  • 6 : Saturday.
  • 7 : Sunday (Default value).
start_hour_min Enum

Specify the start time of Daylight Saving Time (Unit : minute).

Valid value:
  • 0: 00:00 (Default value).
  • 60: 01:00.
  • 120: 02:00.
  • 180: 03:00.
  • 240: 04:00.
  • 300: 05:00.
  • 360: 06:00.
  • 420: 07:00.
  • 480: 08:00.
  • 540: 09:00.
  • 600: 10:00.
  • 660: 11:00.
  • 720: 12:00.
  • 780: 13:00.
  • 840: 14:00.
  • 900: 15:00.
  • 960: 16:00.
  • 1020: 17:00.
  • 1080: 18:00.
  • 1140: 19:00.
  • 1200: 20:00.
  • 1260: 21:00.
  • 1320: 22:00.
  • 1380: 23:00.
end_month Enum

Specify the end month of Daylight Saving Time.

Valid value:
  • 1 : January.
  • 2 : February.
  • 3 : March.
  • 4 : April.
  • 5 : May.
  • 6 : June.
  • 7 : July.
  • 8 : August.
  • 9 : September.
  • 10 : October.
  • 11 : November (Default value).
  • 12 : December.
end_week Enum

Specify the end week of Daylight Saving Time.

Valid value:
  • 1: 1st (Default value).
  • 2: 2nd.
  • 3: 3rd.
  • 4: 4th.
  • 5: last.
end_week_day Enum

Specify the end week day of Daylight Saving Time.

Valid value:
  • 1 : Monday. (Default value).
  • 2 : Tuesday.
  • 3 : Wednesday.
  • 4 : Thursday.
  • 5 : Friday.
  • 6 : Saturday.
  • 7 : Sunday.
end_hour_min Enum

Specify the end time of Daylight Saving Time (Unit : minute).

Valid value:
  • 0: 00:00 (Default value).
  • 60: 01:00.
  • 120: 02:00.
  • 180: 03:00.
  • 240: 04:00.
  • 300: 05:00.
  • 360: 06:00.
  • 420: 07:00.
  • 480: 08:00.
  • 540: 09:00.
  • 600: 10:00.
  • 660: 11:00.
  • 720: 12:00.
  • 780: 13:00.
  • 840: 14:00.
  • 900: 15:00.
  • 960: 16:00.
  • 1020: 17:00.
  • 1080: 18:00.
  • 1140: 19:00.
  • 1200: 20:00.
  • 1260: 21:00.
  • 1320: 22:00.
  • 1380: 23:00.
modbus_channel_1 Array

Modbus Channel 1 Settings.

oper Boolean

Specify the operation for this Modbus channel.

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

Specify the length for channel name.

  • Default value: 1
  • Valid value: 1 - 16
name String

Specify the channel name.

  • Restrictions: <= 16 characters long.
slave_id Integer

Specify the server (slave) ID.

  • Default value: 0
  • Valid value: 0 - 255
address Integer

Specify the register start address.

  • Default value: 0
  • Valid value: 0 - 65535
type Enum

Specify the data type.

Valid value: Refer to Valid value – Channel data type.

quantity Integer

Specify the reading quantity of this register.

  • Default value: 1
  • Valid value: 1 - 2
sign_bit Boolean

Specify the sign of this register value.

Valid value:
  • false: unsigned (Default value).
  • true: signed.
modbus_channel_2 Array

Modbus Channel 2 Settings.

oper Boolean

Specify the operation for this Modbus channel.

Valid value:
  • false: Delete (Default value).
  • true: Create.
name_len Integer

Specify the length for channel name.

  • Default value: 1
  • Valid value: 1 - 16
name String

Specify the channel name.

  • Restrictions: <= 16 characters long
slave_id Integer

Specify the server (slave) ID.

  • Default value: 0
  • Valid value: 0 - 255
address Integer

Specify the register start address.

  • Default value: 0
  • Valid value: 0 - 65535
type Enum

Specify the data type.

Valid value: Refer to Valid value – Channel data type.

quantity Integer

Specify the reading quantity of this register.

  • Default value: 1
  • Valid value: 1 - 2
sign_bit Boolean

Specify the sign of this register value.

Valid value:
  • false: unsigned (Default value).
  • true: signed.
...
modbus_channel_32 Array

Modbus Channel 32 Settings.

oper Boolean

Specify the operation for this Modbus channel.

Valid value:
  • false: Delete (Default value).
  • true: Create.
name_len Integer

Specify the length for channel name.

  • Default value: 1
  • Valid value: 1 - 16
name String

Specify the channel name.

  • Restrictions: <= 16 characters long.
slave_id Integer

Specify the server (slave) ID.

  • Default value: 0
  • Valid value: 0 - 255
address Integer

Specify the register start address.

  • Default value: 0
  • Valid value: 0 - 65535
type Enum

Specify the data type.

Valid value: Refer to Valid value – Channel data type.

quantity Integer

Specify the reading quantity of this register.

  • Default value: 1
  • Valid value: 1 - 2
sign_bit Boolean

Specify the sign of this register value.

Valid value:
  • false: unsigned (Default value).
  • true: signed.
rs485_settings Struct

RS485 Settings.

baudrate Enum

Specify the baud rate.

Valid value:
  • 1200: 1200.
  • 2400: 2400.
  • 4800: 4800.
  • 9600: 9600 (Default value).
  • 14400: 14400.
  • 19200: 19200.
  • 38400: 38400.
  • 57600: 57600.
  • 115200: 115200.
databits Enum

Specify the Data Bit.

Valid value:
  • 7: 7.
  • 8: 8 (Default value).
  • 9: 9.
stopbits Enum

Specify the Stop Bit.

Valid value:
  • 1: 1 (Default value).
  • 2: 2.
  • 3: 1.5.
parity Enum

Specify the Parity.

Valid value:
  • 0: None (Default value).
  • 1: Even.
  • 2: Odd.
modbus_settings Struct

Modbus Settings.

execution_interval Integer

Specify the execution interval between each Modbus channel command ( Unit : ms).

  • Default value: 50
  • Valid value: 10 - 1000
max_resp_time Integer

Specify the maximum response time to wait for the reply ( Unit : ms).

  • Default value: 500
  • Valid value: 10 - 60000
max_retry_times Integer

Specify the maximum retry number after failing to read data.

  • Default value: 3
  • Valid value: 0 - 5
pass_throuh Boolean

Decide whether to enable RS485 bridge LoRaWAN®.

Valid value:
  • false: disable (Default value).
  • true: enable.
pass_throuh_mode Enum

Specify the Pass-through Mode.

Valid value:
  • 0: Active Pass-through (Default value).
  • 1: Two-way Pass-through.
port Integer

Specify the communication port for pass through.

  • Default value: 2
  • Valid value: 2 - 223
rule_engine Struct

Rule Engine Settings.

common Struct

Common Settings.

enable Boolean

Decide whether to enable this rule.

Valid value:
  • false: disable (Default value).
  • true: enable.
rule_id Enum

Specify the rule ID to disable or enable.

Valid value:
  • 1: 1 (Default value).
  • 2: 2.
  • 3: 3.
  • 4: 4.
  • 5: 5.
  • 6: 6.
  • 7: 7.
  • 8: 8.
  • 9: 9.
  • 10: 10.
  • 11: 11.
  • 12: 12.
  • 13: 13.
  • 14: 14.
  • 15: 15.
  • 16: 16.
condition Struct

Condition settings.

type Enum

Specify the rule condition.

Valid value:
  • 16: None (Default value).
  • 17: Time(local time).
  • 18: Channel.
  • 19: Received a command via the RS485 interface.
  • 20: Received a server message.
  • 21: Received a D2D control command.
  • 22: The device restarts.
time_cond Struct

Settings for condition Time(local time).

repeat_mode Enum

Specify the repeat mode.

Valid value:
  • 0: Week (Default value).
  • 1: Month.
repeat_week Struct

Weekly settings if repeat mode is Week.

monday Boolean

Decide whether to repeat this rule every Monday.

Valid value:
  • false: disable (Default value).
  • true: enable.
tuesday Boolean

Decide whether to repeat this rule every Tuesday.

Valid value:
  • false: disable (Default value).
  • true: enable.
wednesday Boolean

Decide whether to repeat this rule every Wednesday.

Valid value:
  • false: disable (Default value).
  • true: enable.
thursday Boolean

Decide whether to repeat this rule every Thursday.

Valid value:
  • false: disable (Default value).
  • true: enable.
friday Boolean

Decide whether to repeat this rule every Friday.

Valid value:
  • false: disable (Default value).
  • true: enable.
saturday Boolean

Decide whether to repeat this rule every Saturday.

Valid value:
  • false: disable (Default value).
  • true: enable.
sunday Boolean

Decide whether to repeat this rule every Sunday.

Valid value:
  • false: disable (Default value).
  • true: enable.
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:
  • false: disable (Default value).
  • true: enable.
day_2 Boolean

Decide whether to repeat this rule every 2st of the month.

Valid value:
  • false: disable (Default value).
  • true: enable.
day_x Boolean ...
day_31 Boolean

Decide whether to repeat this rule every 31st of the month.

Valid value:
  • false: disable (Default value).
  • true: enable.
hour Integer

Specify the repeat hour time.

  • Default value: 0
  • Valid value: 0 - 23
minute Integer

Specify the repeat minute time.

  • Default value: 0
  • Valid value: 0 - 59
channel_cond Struct

Settings for condition Channel.

channel_id Integer

Specify the Channel ID.

  • Default value: 1
  • Valid value: 1 - 32
trig_mode Enum

Specify the trigger condition of the Modbus channel value.

Valid value:
  • 0: False.
  • 1: True.
  • 2: Below.
  • 3: Above (Default value).
  • 4: Within.
  • 6: Change(With recent report).
  • 7: Change(Use time interval).
false_trig Struct

Settings for trigger condition False.

continue_mode Enum

Specify the continue mode.

Valid value:
  • 0: Is continued for Less than (Default value).
  • 1: Is continued for More than.
continue_time Long

Specify the continue time of the threshold ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
lock_time Long

Specify the time to check if the value still reaches the threshold ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
true_trig Struct Settings for trigger condition True.
continue_mode Enum

Specify the continue mode.

Valid value:
  • 0: Is continued for Less than (Default value).
  • 1: Is continued for More than.
continue_time Long

Specify the continue time of the threshold ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
lock_time Long

Specify the time to check if the value still reaches the threshold ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
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.

  • Default value: 0
  • Valid value: -65535 - 65535
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.

  • Default value: 0
  • Valid value: -65535 - 65535
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.

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

Specify the maximum threshold value.

  • Default value: 0
  • Valid value: -65535 - 65535
change_no_time_trig Struct

Settings for trigger condition Change(With recent report).

change_value Float

Specify the change value.

  • Default value: 0
  • Valid value: 0 - 65535
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).

  • Default value: 0
  • Valid value: 0 - 65535
change_value Float

Specify the change value.

  • Default value: 0
  • Valid value: 0 - 65535
rs485_data_cond Struct

Settings of condition Received a command via the RS485 interface.

len Integer

Specify the message length.

  • Default value: 2
  • Valid value: 2 - 48
content String

Specify the message content.

  • Restrictions: 2 - 48
serve_msg_cond Struct

Settings of condition Received a server message.

len Integer

Specify the message length.

  • Default value: 1
  • Valid value: 1 - 48
content String
Specify the message content.
Note: Only letter, number, comma, period, separator and exclamation mark are allowed.
  • Restrictions: 1 - 48
d2d_cond Struct

Settings of condition Received a D2D control command.

cmd String

Specify the D2D control command to receive.

  • Default value: 0000
  • Restrictions: 4 characters long.
state Enum

Decide whether to enable designated state.

Valid value:
  • 0: None (Default value).
  • 1: On.
  • 2: Off.
action_1 Struct

Action1 settings.

type Enum

Specify the action type.

Valid value:
  • 144: None (Default value).
  • 145: Send a server message.
  • 146: Send a D2D control command.
  • 147: Send a command via the RS485 interface.
  • 148: Report data package.
  • 149: Report a threshold/change packet.
  • 150: Restart the device.
serve_msg_action Struct

Settings of action Send a server message.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
len Integer

Specify the message length.

  • Default value: 1
  • Valid value: 1 - 48
content String
Specify the message content.
Note: Only letter, number, comma, period, separator and exclamation mark are allowed.
  • Restrictions: 1 - 48
d2d_action Struct

Settings of action Send a D2D control command.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
cmd String

Specify the D2D Command to send.

  • Default value: 0000
  • Restrictions: 4 characters long.
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).

  • Default value: 0
  • Valid value: 0 - 86400000
len Integer

Specify the message length.

  • Default value: 2
  • Valid value: 2 - 48
content String

Specify the message content.

  • Restrictions: 2 - 48
data_report_action Struct

Settings of action Report Data Package.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
alarm_report_action Struct

Settings of action Report Threshold/Change Packet.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
release_packet Enum

Decide whether to enable to report threshold release packet.

Valid value:
  • 0: disable (Default value).
  • 1: enable.
restart_action Struct

Settings of action Restart the Device.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
action_2 Struct

Action2 settings.

type Enum

Specify the action type.

Valid value:
  • 160: None (Default value).
  • 161: Send a server message.
  • 162: Send a D2D control command.
  • 163: Send a Modbus command via the RS485 interface.
  • 164: Report data package.
  • 165: Report a threshold/change packet.
  • 166: Restart the device.
serve_msg_action Struct

Settings of action Send a server message.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
len Integer

Specify the message length.

  • Default value: 1
  • Valid value: 1 - 48
content String
Specify the message content.
Note: Only letter, number, comma, period, separator and exclamation mark are allowed.
  • Restrictions: 1 - 48
d2d_action Struct

Settings of action Send a D2D control command.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
cmd String

Specify the D2D Command to send.

  • Default value: 0000
  • Restrictions: 4 characters long.
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).

  • Default value: 0
  • Valid value: 0 - 86400000
len Integer

Specify the message length.

  • Default value: 2
  • Valid value: 2 - 48
content String

Specify the message content.

  • Restrictions: 2 - 48
data_report_action Struct

Settings of action Report Data Package。

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
alarm_report_action Struct

Settings of action Report Threshold/Change Packet.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
release_packet Enum

Decide whether to enable to report threshold release packet.

Valid value:
  • 0: disable (Default value).
  • 1: enable.
restart_action Struct

Settings of action Restart the Device.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
action_3 Struct

Action3 settings.

type Enum

Specify the action type.

Valid value:
  • 176: None (Default value).
  • 177: Send a server message.
  • 178: Send a D2D control command.
  • 179: Send a Modbus command via the RS485 interface.
  • 180: Report data package.
  • 181: Report a threshold/change packet.
  • 182: Restart the device.
serve_msg_action Struct

Settings of action Send a server message.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
len Integer

Specify the message length.

  • Default value: 1
  • Valid value: 1 - 48
content String
Specify the message content.
Note: Only letter, number, comma, period, separator and exclamation mark are allowed.
  • Restrictions: 1 - 48
d2d_action Struct

Settings of action Send a D2D control command.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
cmd String

Specify the D2D Command to send.

  • Default value: 0000
  • Restrictions: 4 characters long.
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).

  • Default value: 0
  • Valid value: 0 - 86400000
len Integer

Specify the message length.

  • Default value: 2
  • Valid value: 2 - 48
content String

Specify the message content.

  • Restrictions: 2 - 48
data_report_action Struct

Settings of action Report Data Package.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
alarm_report_action Struct

Settings of action Report Threshold/Change Packet.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
release_packet Enum

Decide whether to enable to report threshold release packet.

Valid value:
  • 0: disable (Default value).
  • 1: enable.
restart_action Struct

Settings of action Restart the Device.

delay Long

Specify the delay time to take action ( Unit : ms).

  • Default value: 0
  • Valid value: 0 - 86400000
data_storage_enable Boolean

Decide whether to allow the device to store data.

Valid value:
  • false: disable (Default value).
  • true: enable.
retransmission_interval Struct
Note: This setting ONLY takes effect when retransmission_enable is set to true.
The interval for data retransmission.
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:
  • false: disable (Default value).
  • true: enable.
interval Integer
Specify the interval for data retransmission (Unit: Second).
  • Default value: 600
  • Valid value: 30 - 1200
retrival_interval Struct

The time interval for data retrieval.

interval Integer
Specify the time interval for data retrieval (Unit: Second).
  • Default value: 60
  • Valid value: 30 - 1200
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).