I am on a C8 and have the Aqara P1 it operates correctly for a few hours and then stops working. I tried the same with another Aqara P1 with the same results.
To make sure there is no issue with the Aqara P1 in install it on my Smartthings Hub where it works without any issues.
Aqara drive installed
- ver. 1.2.4 2023-01-26 kkossev - renamed homeKitCompatibility option to sendBatteryEventsForDCdevices; aqaraModel bug fix
-
-
TODO: Regions
-
*/
def version() { "1.2.4" }
def timeStamp() {"2023/01/26 7:32 PM"}
My C8 hub is running version: 2.3.5.131
here is the the Hub for the Aqara
State Variables
- rxCounter : 89
- driverVersion : 1.2.4 2023/01/26 7:32 PM
- txCounter : 1
- notPresentCounter : 17
- lastBattery : 100
- motionStarted : 1683167252690
current state info
Current States
- battery : 0
- batteryVoltage : 3.197
- illuminance : 44
- motion : inactive
- powerSource : unknown
log info
dev:292023-05-04 04:25:39.469 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 03:25:39.407 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 02:25:39.334 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 01:25:39.264 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 12:25:39.195 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 11:25:39.112 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 10:25:39.053 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 09:25:38.982 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 08:25:38.886 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 07:25:38.786 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 06:25:38.702 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 05:25:38.627 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 04:25:38.539 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 03:25:38.448 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 02:25:38.334 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 01:25:38.244 AMwarnAqara P1 motion #2 Aqara P1 motion #2 forced battery to '0 %
dev:292023-05-04 01:25:38.228 AMwarnAqara P1 motion #2 is not present!
dev:292023-05-04 01:25:38.214 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-04 12:25:38.149 AMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-03 11:25:38.081 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-03 10:28:32.259 PMinfoAqara P1 motion #2 Motion reset to inactive after 60 s.
dev:292023-05-03 10:28:02.338 PMinfoAqara P1 motion #2 Motion is active 30s
dev:292023-05-03 10:28:02.208 PMinfoAqara P1 motion #2 illuminance is 44 Lux
dev:292023-05-03 10:28:02.199 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E1201232C000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:0001002C, clusterInt:64704, attrInt:274]
dev:292023-05-03 10:28:02.190 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E1201232C000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 2C000100
dev:292023-05-03 10:27:32.695 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 10:27:32.461 PMinfoAqara P1 motion #2 illuminance is 42 Lux
dev:292023-05-03 10:27:32.443 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E1201232A000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:0001002A, clusterInt:64704, attrInt:274]
dev:292023-05-03 10:27:32.431 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E1201232A000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 2A000100
dev:292023-05-03 10:25:38.018 PMdebugAqara P1 motion #2 pollPresence()
dev:292023-05-03 09:53:20.616 PMinfoAqara P1 motion #2 Motion reset to inactive after 60 s.
dev:292023-05-03 09:52:50.652 PMinfoAqara P1 motion #2 Motion is active 30s
dev:292023-05-03 09:52:50.578 PMinfoAqara P1 motion #2 illuminance is 44 Lux
dev:292023-05-03 09:52:50.571 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E1201232C000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:0001002C, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:52:50.562 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E1201232C000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 2C000100
dev:292023-05-03 09:52:20.888 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 09:52:20.842 PMinfoAqara P1 motion #2 illuminance is 104 Lux
dev:292023-05-03 09:52:20.835 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E12012368000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:00010068, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:52:20.827 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E12012368000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 68000100
dev:292023-05-03 09:52:13.182 PMinfoAqara P1 motion #2 Motion reset to inactive after 30 s.
dev:292023-05-03 09:51:43.199 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 09:51:43.146 PMinfoAqara P1 motion #2 illuminance is 104 Lux
dev:292023-05-03 09:51:43.140 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E12012368000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:00010068, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:51:43.129 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E12012368000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 68000100
dev:292023-05-03 09:51:41.394 PMinfoAqara P1 motion #2 Motion reset to inactive after 30 s.
dev:292023-05-03 09:51:11.427 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 09:51:11.350 PMinfoAqara P1 motion #2 illuminance is 102 Lux
dev:292023-05-03 09:51:11.346 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E12012366000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:00010066, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:51:11.340 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E12012366000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 66000100
dev:292023-05-03 09:51:09.284 PMinfoAqara P1 motion #2 Motion reset to inactive after 60 s.
dev:292023-05-03 09:50:39.312 PMinfoAqara P1 motion #2 Motion is active 30s
dev:292023-05-03 09:50:39.247 PMinfoAqara P1 motion #2 illuminance is 104 Lux
dev:292023-05-03 09:50:39.241 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E12012368000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:00010068, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:50:39.221 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E12012368000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 68000100
dev:292023-05-03 09:50:09.574 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 09:50:09.512 PMinfoAqara P1 motion #2 illuminance is 102 Lux
dev:292023-05-03 09:50:09.506 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E12012366000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:00010066, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:50:09.499 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E12012366000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 66000100
dev:292023-05-03 09:50:09.411 PMinfoAqara P1 motion #2 Motion reset to inactive after 30 s.
dev:292023-05-03 09:49:55.878 PMinfoAqara P1 motion #2 LED is Disabled (0)
dev:292023-05-03 09:49:55.867 PMinfoAqara P1 motion #2 (tag 0x6A) sensitivity is medium (2)
dev:292023-05-03 09:49:55.854 PMinfoAqara P1 motion #2 motion retrigger interval is 30 s.
dev:292023-05-03 09:49:55.817 PMinfoAqara P1 motion #2 illuminance is 106 Lux
dev:292023-05-03 09:49:55.810 PMdebugon/off is 0
dev:292023-05-03 09:49:55.809 PMdebugAqara P1 motion #2 unknown tag=14 dataType 0x20 rawValue=0
dev:292023-05-03 09:49:55.807 PMdebugAqara P1 motion #2 unknown tag=13 dataType 0x20 rawValue=0
dev:292023-05-03 09:49:55.805 PMdebugAqara P1 motion #2 unknown tag=0C dataType 0x20 rawValue=1
dev:292023-05-03 09:49:55.803 PMdebugParent NWK is 974A
dev:292023-05-03 09:49:55.801 PMdebugAqara P1 motion #2 unknown tag=08 dataType 0x21 rawValue=262
dev:292023-05-03 09:49:55.799 PMdebugRSSI is 1 ? db
dev:292023-05-03 09:49:55.797 PMdebugAqara P1 motion #2 unknown tag=04 dataType 0x21 rawValue=0
dev:292023-05-03 09:49:55.779 PMinfoAqara P1 motion #2 Battery level is 100% (3.197 Volts)
dev:292023-05-03 09:49:55.771 PMdebugdecodeAqaraStruct len = 98 valueHex = 3001217D0C0328160421000005210100082106010A214A970C200113200014200064100065216A0069201E6A20026B2000
dev:292023-05-03 09:49:55.762 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC068F700413001217D0C0328160421000005210100082106010A214A970C200113200014200064100065216A0069201E6A20026B2000, dni:B822, endpoint:01, cluster:FCC0, size:68, attrId:00F7, encoding:41, command:0A, value:01217D0C0328160421000005210100082106010A214A970C200113200014200064100065216A0069201E6A20026B2000, clusterInt:64704, attrInt:247]
dev:292023-05-03 09:49:55.754 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC068F700413001217D0C0328160421000005210100082106010A214A970C200113200014200064100065216A0069201E6A20026B2000, dni: B822, endpoint: 01, cluster: FCC0, size: 68, attrId: 00F7, encoding: 41, command: 0A, value: 3001217D0C0328160421000005210100082106010A214A970C200113200014200064100065216A0069201E6A20026B2000
dev:292023-05-03 09:49:39.408 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 09:49:39.369 PMinfoAqara P1 motion #2 illuminance is 105 Lux
dev:292023-05-03 09:49:39.365 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E12012369000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:00010069, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:49:39.355 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E12012369000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 69000100
dev:292023-05-03 09:49:31.559 PMinfoAqara P1 motion #2 Motion reset to inactive after 60 s.
dev:292023-05-03 09:49:01.568 PMinfoAqara P1 motion #2 Motion is active 30s
dev:292023-05-03 09:49:01.522 PMinfoAqara P1 motion #2 illuminance is 106 Lux
dev:292023-05-03 09:49:01.518 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E1201236A000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:0001006A, clusterInt:64704, attrInt:274]
dev:292023-05-03 09:49:01.512 PMdebugAqara P1 motion #2 parse: description is read attr - raw: B82201FCC00E1201236A000100, dni: B822, endpoint: 01, cluster: FCC0, size: 0E, attrId: 0112, encoding: 23, command: 0A, value: 6A000100
dev:292023-05-03 09:48:31.855 PMinfoAqara P1 motion #2 Detected motion
dev:292023-05-03 09:48:31.804 PMinfoAqara P1 motion #2 illuminance is 106 Lux
dev:292023-05-03 09:48:31.791 PMdebugAqara P1 motion #2 parse: Desc Map: [raw:B82201FCC00E1201236A000100, dni:B822, endpoint:01, cluster:FCC0, size:0E, attrId:0112, encoding:23, command:0A, value:0001006A, clusterInt:64704, attrInt:274]
Any ideas?
Thanks