Specification V1.0

LW005-MP
12 www.mokosmart.com
Power factor: 55% (0x 37)
Frequency: 49.988HZ (0x C3 44)
Total energy: 3688.9 KW·H (0x 00 B4 1F 42)
Device status:0x C2
Bit7 (1 means that the AC output is ON; 0 means that the AC output is OFF)
Bit6 (1 means there is a load on the plug; 0 means no load on the plug)
Bit5 (1 means that it is in Over-voltage; 0 means that it isn’t in Over-voltage)
Bit4 (1 means that it is in Sag-voltage; 0 means that it isn’t in Sag-voltage)
Bit3 (1 means that it is in Over-current; 0 means that it isn’t in Over-current)
Bit2 (1 means that it is in Over-load; 0 means that it isn’t in Over-load)
Bit1 (1 means password verification is required for login; 0 means password
verification isn’t required for login)
BLE Tx Power: 0 dBm (0x 00)
7 Uplink Payload
7.1 Switch Payload
Switch payload will be sent in Port 5.
Timestamp: Standard UTC time.
Time zone: It is a signed number, convert to decimal, then then divide by 2, and this is UTC
time zone.
AC output state: 00 means that AC output of plug is OFF; 01 means that AC output of plug is
ON.
Plug load status: 01 means there is a load on the plug; 00 means no load on the plug.
7.2 Electrical Payload
This payload will be sent in two parts.
The 1
st
part will be sent in Port 6:
Timestamp: Standard UTC time.
Time zone: It is a signed number, convert to decimal, then then divide by 2, and this is UTC
time zone.
Instantaneous voltage: Convert to decimal, then then divide by 10, the unit is V.
Instantaneous current: Convert to decimal, then then divide by 1000, the unit is mA.
Byte 0~3
Byte 4
Byte 5
Byte 6
Timestamp
Time zone
AC output state
Plug load status
Byte 0~3
Byte 4
Byte 5~6
Byte 7~8
Byte 9~10
Timestamp
Time zone
Instantaneous voltage
Instantaneous current
Instantaneous
frequency