Versions history
- ver. 1.0.0 2022-06-24 - first test version
- ver. 1.1.0 2022-06-30 - decodeAqaraStruct; added temperatureEvent; RTCGQ13LM; RTCZCGQ11LM (FP1) parsing
- ver. 1.1.1 2022-07-01 - no any commands are sent immediately after pairing!
- ver. 1.1.2 2022-07-04 - PowerSource presence polling; FP1 pars
- ver. 1.1.3 2022-07-04 - FP1 approachDistance and monitoringMode parameters update
- ver. 1.1.4 2022-07-08 - aqaraReadAttributes()
- ver. 1.1.5 2022-07-09 - when going offline the battery level is set to 0 (zero); when back online, the last known battery level is restored; when switching offline, motion is reset to 'inactive'; added digital and physical events type
- ver. 1.1.6 2022-07-12 - aqaraBlackMagic;
- ver. 1.2.0 2022-07-29 - FP1 first successful initializaiton; attr. 0142 presence bug fix; debug logs improvements; monitoring_mode bug fix; LED is null bug fix ;motionRetriggerInterval bugfix for FP1; motion sensitivity bug fix for FP1; temperature exception bug; monitoring_mode bug fix; approachDistance bug fix; setMotion command for tests/tuning of automations; added motion active/inactive simulation for FP1
- ver. 1.2.1 2022-08-10 - code / traces cleanup; change device name on initialize();
- ver. 1.2.2 2022-08-21 - added motionRetriggerInterval for T1 model; filter illuminance parsing for RTCGQ13LM
- ver. 1.2.3 2022-12-11 - added internalTemperature option (disabled by default); added homeKitCompatibility option to enable/disable battery 100% workaround for FP1 (HomeKit); Approach distance bug fix; battery 0% bug fix; pollPresence after hub reboot bug fix; RTCGQ13LM battery fix; added RTCGQ15LM and RTCGQ01LM; added GZCGQ01LM and GZCGQ11LM illuminance sensors for tests; refactored setDeviceName(); min. Motion Retrigger Interval limited to 2 seconds.
- ver. 1.2.4 2023-01-26 - renamed homeKitCompatibility option to sendBatteryEventsForDCdevices; aqaraModel bug fix;
- ver. 1.2.5 2023-01-28 - (dev.branch) bug fixes for 'lumi.sen_ill.mgl01' light sensor';
- ver. 1.3.0 2023-03-06 - (dev.branch) regions reports decoding; on SetMotion(inactive) a Reset presence command is sent to FP1; FP1 fingerprint is temporary commented out for tests; added aqaraVersion'; Hub model (C-7 C-8) decoding
- ver. 1.3.1 2023-03-15 - (dev.branch) added RTCGQ01LM lumi.sensor_motion battery % and voltage; removed sendBatteryEventsForDCdevices option; removed lastBattery;
- ver. 1.4.0 2023-03-16 - (dev.branch) ** breaking change ** replaced presence => roomState [unoccupied,occupied]; replaced presence_type => roomActivity ; added capability 'Health Check'; added add 'Works with ...'; added ping() and RTT
- ver. 1.4.1 2023-04-21 - (dev.branch) exception prevented when application string is enormously long; italic font bug fix; lumi.sen_ill.agl01 initialization and bug fixes; light sensor delta = 5 lux; removed MCCGQ14LM
- ver. 1.4.2 2023-05-21 - lumi.sen_ill.agl01 initializetion fixes; removed the E1 contact sensor driver code; trace logs cleanup; added reporting time configuration for the Lux sensors; Lux sensors preferences are NOT reset to defaults when paired again; removed powerSource manipulation; periodic job renamed to deviceHealthCheck()
- ver. 1.5.0 2024-02-29 kkossev - Groovy Lint
- ver. 1.6.0 2024-06-29 kkossev - added state.health 'parentNWK' and 'nwkCtr'; added attribute parentNWK;
- ver. 1.6.1 2024-07-22 kkossev - bugfix: illuminanceThreshold and illuminanceMinReportingTime not working for lumi.sen_ill.mgl01 (GZCGQ01LM)
- ver. 1.7.0 2024-08-15 kkossev - added lumi.sensor_occupy.agl1 - Aqara FP1E; capability 'Refresh'; added spammy reports filtering for FP1E
- ver. 1.7.1 2024-11-19 kkossev - added motionSensitivity for FP1E; added targetDistance for FP1E; added detectionRange for FP1E
- ver. 1.7.2 2024-11-28 kkossev - (dev.branch) HE platfrom 2.4.0.x compatibility fixes;
The latest development branch version URL is here : Hubitat/Drivers/Aqara P1 Motion Sensor/Aqara_P1_Motion_Sensor.groovy at development · kkossev/Hubitat · GitHub
I have placed the previous versions of this driver in a shared Google Drive folder: link
The version number of the old versions is included in the driver name, so different versions can be used with different devices if needed. The latest driver version is always using the default name, as in HPM.