Hello kkossev and everyone.
kkossev, thanks for your contribution!
I just got my Aqara Motion Sensor P1 and it doesn't seem to work with your driver. Could it be because my model is new? I tried repairing it 6 times and each time the same result; see below. Thanks in advance for any/all help!
Name:
Aqara Motion Sensor P1
Model:
MS-S02
SKU:
AS038GLW01
Production:
06/2022
Logs:
dev:1842022-08-21 09:23:26.755 pm debugMotion sending ZigbeeCommands : [he raw 0x147E 1 0x01 0xFCC0 {04 5F 11 00 00 02 01 0C 01 52 01}, delay 200]
dev:1842022-08-21 09:22:56.799 pm infoAqara P1 Motion Sensor RTCGQ14LM (parse attr 5) device lumi.motion.ac02 button was pressed
dev:1842022-08-21 09:22:56.797 pm infoAqara P1 Motion Sensor RTCGQ14LM (parse) device model is LUMI
dev:1842022-08-21 09:22:56.789 pm debugAqara P1 Motion Sensor RTCGQ14LM parse: Desc Map: [raw:147E0100003C040042044C554D4905000042106C756D692E6D6F74696F6E2E61633032, dni:147E, endpoint:01, cluster:0000, size:3C, attrId:0004, encoding:42, command:01, value:LUMI, clusterInt:0, attrInt:4, additionalAttrs:[[value:lumi.motion.ac02, encoding:42, attrId:0005, consumedBytes:19, attrInt:5]]]
dev:1842022-08-21 09:22:56.781 pm debugAqara P1 Motion Sensor RTCGQ14LM parse: description is read attr - raw: 147E0100003C040042044C554D4905000042106C756D692E6D6F74696F6E2E61633032, dni: 147E, endpoint: 01, cluster: 0000, size: 3C, attrId: 0004, encoding: 42, command: 01, value: 044C554D4905000042106C756D692E6D6F74696F6E2E61633032
dev:1842022-08-21 09:22:56.731 pm warnAqara P1 Motion Sensor RTCGQ14LM if no more logs, please pair the device again to HE!
dev:1842022-08-21 09:22:56.662 pm infoAqara P1 Motion Sensor RTCGQ14LM device model lumi.motion.ac02 manufacturer LUMI deviceName was set to Aqara P1 Motion Sensor RTCGQ14LM
dev:1842022-08-21 09:22:56.641 pm infoAqara P1 Motion Sensor configure...(driver version 1.2.2 2022/08/21 9:01 AM)
dev:1842022-08-21 09:22:56.613 pm infoAqara P1 Motion Sensor installed() model lumi.motion.ac02 manufacturer LUMI driver version 1.2.2 2022/08/21 9:01 AM
Current States:
powerSource : ?
State Variables:
rxCounter : 1
driverVersion : 1.2.2 2022/08/21 9:01 AM
txCounter : 1
notPresentCounter : 0
lastBattery : 0
motionStarted : 1661142176663