Downlink Command
This device supports downlink commands for configuration and control. The downlink application port is 85 by default.
General Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Reboot | ff | 10 | 1 | ff |
| Collect Interval | ff | 02 | 2 | UINT16, Unit: s |
| Report Interval | ff | 03 | 2 | UINT16, Unit: s |
| Data Storage | ff | 68 | 1 | 00: Disable, 01: Enable |
| Data Retransmission | ff | 69 | 1 | 00: Disable, 01: Enable |
| Data Retransmission Interval | ff | 6a | 3 | Byte 1: 00 Byte 2-3: UINT16, Unit: s, Range: 30~1200, Default: 600 |
| UTC Time Zone | ff | 17 | 2 | INT16/10 |
- Example:
-
- Reboot the device.
ff10ff - Set collect interval as 20 minutes.
ff02b004 Channel Type Value ff 02 b004=>04b0=1200s=20 minutes - Set report interval as 20 minutes.
ff03b004 Channel Type Value ff 03 b004=>04b0=1200s=20 minutes - Set time zone as UTC-2.
ff17ecff Channel Type Value ff 17 ecff=>ff ec=-20/10=-2
- Reboot the device.
Temperature Threshold Setting
| Channel | Type | Byte | Description |
|---|---|---|---|
| ff | 06 | 9 | Byte 1: 08=Disable,
09=Below (min. threshold), 0a=Over (max. threshold), 0b=Within,
0c=Below or over Byte 2-3: Minimum threshold, INT16/10, Unit: °C Byte 4-5: Maximum threshold, INT16/10, Unit: °CByte 6-9: 00000000 |
- Example:
- Set a temperature threshold as below 15°C or over 30°C.
ff060c96002c0100000000 Channel Type Value ff 06 0c=Below or over Min. threshold: 96 00=>00 96=150/10=15°C
Max. threshold: 2c 01 => 01 2c =300/10=30°C
Interface Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Interface Type | ff | c3 | 1 |
01: Digital, 02: Counter |
| Pulse Filter | ff | a3 | 2 | 0100: Disable, 0101: Enable |
| Modify Count Value | ff | 92 | 5 | Byte 1: 01 Byte 2-5: Initial counting value, UINT32 |
| Pulse Value Conversion | ff | a2 | 9 | Byte 1: 00=Disable,
01=Enable Byte 2-3: Water conversation value, UNIT16/10 Byte 4-5: Pulse conversation value, UINT16/10Byte 6-9: Unit, ASCII code |
| Pulse Counter | ff | 4e | 2 |
0100: Clean the count, 0101: Stop counting 0102: Start counting |
- Example:
- Set pulse conversion: 1ml=10 pulses.
ffa2 01 0a00 6400 6d6c0000
Channel Type Value ff a2 01=Enable Water conversion: 0a00=>00 0a=10/10=1
Pulse conversion: 6400=>00 64=100/10=10
Unit: 6d 6c 00 00=>ml (hex to ascii)
Water Flow Alarm Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
|
Duration for Water Flow Determination |
ff | a4 | 2 | UINT16, unit: s |
|
Water Flow Threshold Alarm |
ff | a1 | 7 | Byte 1: 01 Byte 2: 00=Water flow threshold setting, 01=Water flow timeout alarm, 02=Water outage timeout alarm Byte 3: 00=Disable, 01=EnableByte 4-7: timeout interval, unit: s |
- Example:
- Enable water outage timeout alarm and set timeout interval as 10
minutes.
ffa1 01 0001 00000000 ff a1 01 0201 0a000000
Channel Type Value ff a1 00=Water flow threshold setting 01=Enable
ff a1 02=Water outage timeout alarm 01=Enable
0a000000=>0000000a=10 minutes
D2D Setting
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| D2D Key | ff | 35 | 8 | The first 16 digits of D2D key, and the last 16 digits are fixed as 0. |
| D2D Feature | ff | 79 | 4 | Byte 1: 01=Water outage timeout alarm 02=Water outage timeout alarm release 03=Water flow timeout alarm 04=Water flow timeout alarm release 05=DI from low to high 06=DI from high to low Byte 2: 00=Disable, 01=Only D2D, 03=D2D & LoRa UplinkByte 3-4: D2D Command |
- Example:
-
- Set D2D Key as 12345678123456780000000000000000.
ff35 1234567812345678 Channel Type Value ff 35 1234567812345678 - When water outage timeout alarm triggers, send D2D command
0110.
ff7901011001
Channel Type Value ff 79 01=Water outage timeout alarm 01=Only D2D
D2D Command: 10 01=>0110
- Set D2D Key as 12345678123456780000000000000000.