23
5. Device Payload
All data are based on following format (HEX), the Data field should follow little-endian:
Channel1
Type1
Data1
Channel2
Type2
Data2
Channel 3
...
1 Byte
1 Byte
N Bytes
1 Byte
1 Byte
M Bytes
1 Byte
...
For decoder examples please find files on
https://github.com/Milesight-IoT/SensorDecoders
.
5.1 Basic Information
WTS series sensors report basic information of sensor whenever joining the network.
Example:
5.2 Sensor Data
WTS series report sensor and battery data according to reporting interval (10min by default).
Channel
Type
Description
ff
01(Protocol Version)
01=>V1
09 (Hardware Version) 01 40 => V1.4
0a(Software Version)
01 14 => V1.14
0f(Device Type)
00: Class A, 01: Class B, 02: Class C
16(Device SN)
16 digits
ff166454c32424650043 ff090200 ff0a0101 ff0f00
Channel
Type
Value
Channel
Type
Value
ff
16(Device
SN)
6454c3242
4650043
ff
09
(Hardware
version)
0200
(V2.0)
Channel
Type
Value
Channel
Type
Value
ff
0a
(Software
version)
0101
(V1.1)
ff
0f
(Device Type)
00
(Class A)
Channel
Type
Description
01
75(Battery Level)
UINT8, Unit: %
03
67 (Temperature)
INT16, Unit: °C, Resolution: 0.1°C
04
68(Humidity)
UINT8, Unit: %RH, Resolution: 0.5%RH
05
84(Wind Direction)
UINT16, Unit: °
Resolution: 1° (WTS305) / 0.1°(WTS505/WTS506)
06
73(Barometric Pressure) UINT16, Unit: hPa, Resolution: 0.1hPa