Downlink Command

This device supports downlink commands for configuration and control. The downlink application port is 85 by default.

Switch On/Off

Channel Type Byte Description
08 - 2

Byte 1:

  • 10 - Switch off L1
  • 11 - Switch on L1
  • 20 - Switch off L2
  • 22 - Switch on L2
  • 30 - Switch off L1 and L2
  • 33 - Switch on L1 and L2

Byte 2: ff

Example:
  1. Switch off the L1.

    0810ff

    Channel Type Value
    08 -

    10ff = Switch off L1

General Settings

Item Channel Type Byte Description
Reboot ff 10 1 ff
Report Interval ff 03 2 UINT16, Unit: s
Button On/Off Lock ff 25 2

0080-disable to turn on/off via button,

0000-enable to turn on/off via button

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 (Indicator on when button is off)

02-enable (Indicator on when button is on)

Button Reset Lock ff 5e 1

00-enable to reset via button

01-disable to reset via button

Example:
  1. Reboot the device.
    ff10ff
  2. Set reporting interval as 20 minutes.

    ff03b004

    Channel Type Value
    ff 03 b004=>04b0=1200s=20minutes
  3. Disable button indicators.

    ff2f00

    Channel Type Value
    ff 2f

    00=Disable

  4. Disable the collection and upload of power consumption.

    ff2600

    Channel Type Value
    ff 26

    00=Disable

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 - Switch off L1
  • 11 - Switch on L1
  • 20 - Switch off L2
  • 22 - Switch on L2
  • 30 - Switch off L1 and L2
  • 33 - Switch on L1 and L2
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: switch on L1 after 1 minute.

0f22 003c0011

Channel Type Value
ff 22

Byte 1:00

Byte 2-3: 3c 00 => 00 3c = 60 s = 1 min

Byte 4: 11 => Switch on L1