Downlink Command
This device supports downlink commands for configuration and control. The downlink application port is 85 by default.
Socket Control
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Socket Status | 08 | - | 3 | 0000ff-Socket close, 0100ff-Socket open |
- Example:
-
- Open the power supply of the socket.
080100ff Channel Type Value 08 -- 01 00 ff = Open
- Open the power supply of the socket.
General Settings
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Reboot | ff | 10 | 1 | ff |
| Report Interval | ff | 03 | 2 | UINT16, Unit: s |
| Overcurrent Alarm | ff | 24 | 2 |
Byte 1: 00-disable, 01-enable Byte 2: current threshold, unit: A |
| Button Lock | ff | 25 | 2 | 0000-disable, 0080-enable |
| Power Consumption | ff | 26 | 1 | 00-disable, 01-enable |
| Reset Power Consumption | ff | 27 | 1 | ff |
| Enquire Electrical Status | ff | 28 | 1 | ff |
| LED Indicator | ff | 2f | 1 | 00-disable, 01-enable |
| Overcurrent Protection | ff | 30 | 2 |
Byte 1: 00-disable, 01-enable Byte 2: current threshold, unit: A |
- Example:
-
- Reboot the device.
ff10ff -
Set reporting interval as 20 minutes.
ff03b004
Channel Type Value ff 03 b004=>04b0=1200s=20minutes - Enable overcurrent alarm and protection, and set current threshold
as 10A.
ff24010a ff30010a Channel Type Value ff 24 01=>enable overcurrent alarm, 0a=>10A ff 30 01=>enable overcurrent protection, 0a=>10A - Disable the LED indicator.
ff2f00 Channel Type Value ff 2f 00=>disable
- Reboot the device.
Task Settings
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
|
Add Delay Task |
ff | 22 | 4 |
Byte 1: 00 Byte 2-3: delay time, unit: s Byte 4: 10-close, 11-open Note: The device supports adding only
one task. Later command will cover previous
command.
|
| Delete Delay Task | ff | 23 | 2 | 00ff |
- Example:
-
- Add a delay task: open the socket after 1 minute.
ff22003c0011 Channel Type Value ff 22
Byte 1:00
Byte 2-3: 3c 00=>00 3c=60s=1min
Byte 4: 11=>open
- Delete the delay task.
ff2300ff Channel Type Value ff 23 00ff: Delete Delay Task
- Add a delay task: open the socket after 1 minute.