Uplink Data
This chapter describes the reported data of the device.
Basic Information
The device will report a basic information packet whenever joining the network.
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
| Power On | ff | 0b | 1 | Device is on |
| Protocol Version | ff | 01 | 1 | Example: 01=V1 |
| Hardware Version | ff | 09 | 2 | Example: 03 10 = V3.1 |
| Software Version | ff | 0a | 2 | Example: 03 01 = V3.1 |
| Serial Number | ff | 16 | 8 | 16 digits |
- Example:
-
ff0bff ff0101 ff090100 ff0a0101 ff166771c21070911328
Channel Type Value ff 0b ff ff 01 01=V1 ff 09 Hardware: 0200=V2.0 ff 0a Software: 0101=V1.1 ff 16 SN: 6771c21070911328
Periodic Report
| Item | Channel | Type | Byte | Description |
|---|---|---|---|---|
|
Voltage |
03 |
74 | 2 |
UINT16/10, Unit: V |
|
Active Power |
04 | 80 | 4 |
UINT32, Unit: W |
|
Power Factor |
05 | 81 | 1 |
UINT8, Unit: % |
|
Power Consumption |
06 | 83 | 4 |
UINT32, Unit: Wh |
|
Total Current |
07 | c9 | 2 |
UINT16, Unit: mA |
| Switch Status | 08 | 29 | 1 |
Bit 0: status of L1, 0=Off, 1=On Bit 1: status of L2 (WS502 Only), 0=Off, 1=On Bit 2-7: 000000 |
- Example:
-
Report data according to reporting interval (20mins by default).
082903 058164 07c90200 0374b208 068301000000 048001000000
Channel Type Value 08 29 03= 0000 0011 => switch 1 and 2 on
05 81 Power Factor: 64=> 100%
07 c9 Current: 02 00=>00 02=2mA
03 74 Voltage: b2 08=>08 b2=2226 /10=222.6V
06 83 Power Consumption: 01 00 00 00=>00 00 00 01=1 Wh=0.001 kWh
Switch Change Report
The device will report a switch status packet when any switch status changes.
| Channel | Type | Byte | Description |
|---|---|---|---|
| 08 | 29 | 1 |
Bit 0: status of L1, 0=Off, 1=On Bit 1: status of L2 (WS502 Only), 0=Off, 1=On Bit 2-3: reserved Bit 4: changing status of L1 Bit 5: changing status of L2 (WS502 Only) Bit 6-7: reserved |
- Example:
-
082913
Channel Type Value 08 29 13= 00010011
=> L1 changes to on, L2 remains on