![Milesight WS558 User Manual Download Page 21](http://html1.mh-extra.com/html/milesight/ws558/ws558_user-manual_1795272021.webp)
21
5.2 Sensor Data
WS558 reports switch status and electrical data according to reporting interval (20 mins by
default). For Switch model, it only uploads switch status.
Example:
1. Periodic package:
Channel
Type
Value
Channel
Type
Value
ff
0a
(Software
Version)
0101
(V1.1)
ff
0f (Device Type)
02=>Clas
s C
Channel
Type
Value
ff
26 (Power
Consumption)
01=>Enabled
Channel
Type
Description
03
74 (Voltage)
UINT16, Unit: V
Resolution: 0.1V
04
80 (Active Power)
UINT32, Unit: W
05
81 (Power Factor)
UINT8, Unit: %
06
83 (Power Consumption)
UINT32, Unit: Wh
07
c9 (Total Current)
UINT16, Unit: mA
08
31 (Switch Status)
Byte 1:
00
Byte 2:
indicate every switch status per
bit, 0=close, 1=open
08310001 058164 07c90200 0374b208 068301000000 048001000000
Channel
Type
Value
Channel
Type
Value
08
31 (Switch
Status)
Byte 1: 00
Byte 2: 01=
00000001
=> L1 open and
others close
05
81 (Power
Factor)
64=> 100%
Channel
Type
Value
Channel
Type
Value
07
c9 (Current)
02 00=>00
02=2mA
03
74(Voltage)
b2 08=>08
b2=2226
Voltage=2226
*0.1=222.6V
Channel
Type
Value
Channel
Type
Value
06
83(Power
Consumption)
01 00 00 00=>00
00 00 01=1
Wh=0.001 kWh
04
80 (Active
Power)
01 00 00
00=>00 00 00
01=1 W