For decoder examples, you can find them at https://github.com/Milesight-IoT/SensorDecoders.
5.1 Basic Information
WS202 reports basic information of the device whenever it joins the network.
00: Class A, 01: Class B, 02: Class C
Example:
ff0bff ff0101 ff086538b2232131 ff090100 ff0a0101 ff0f00
5.2 Sensor Data
WS202 reports sensor data and battery level according to reporting interval (30 mins by default)
or when PIR/light status changes. Besides, when battery level is lower than 10%, it will upload
battery packet once.
Example:
01 75 64 03 00 01 04 00 01