Skip to content

Add DDF for Aqara FP1 presence sensor RTCZCGQ11LM - #6070

Merged
manup merged 3 commits into
dresden-elektronik:masterfrom
SwoopX:fp1
May 24, 2022
Merged

Add DDF for Aqara FP1 presence sensor RTCZCGQ11LM#6070
manup merged 3 commits into
dresden-elektronik:masterfrom
SwoopX:fp1

Conversation

@SwoopX

@SwoopX SwoopX commented May 22, 2022

Copy link
Copy Markdown
Collaborator

Adds DDF for FP1 presence sensor, depends on #6069 and vice versa.

For this device, the new resource item config/triggerdistance is introduced, as it apparently can measure the distance when someone is approaching. Valid values are near, medium and far. Furthermore, it offers true detection sensitivity.

grafik

Also new is the resource item config/resetpresence, allowing the presence status to reset when set to true. Obviously, this feature is required as the device gets stuck in its current state every now and then (also officially supported by the Aqara app). Note that it takes around 5 minutes for the value to be automatically set back to false.

Although the attribute 0x0142 is seemingly intended for presence detection, it was decided not to go with that as it changes quite laggy. Alternatively, attribute 0x0143 was chosen, also represented by the new resource item state/presenceevent to react faster and more crisp. Time and users will tell if that choice was good or not. However, presence should be automatically set back to false (when nobody is within detection reach) after about 3 minutes.

2 detection modes are supported, exposed via config/devicemode, unidirected and left and right with the first one as default.

There is no support for the region or map feature of the official app as this must be investigated further if and to what extend that can be realized at all. Eventually, there will be a future update on the read and parse functions to leverage the special reporting if found appropriate, but this shouldn't have any notable impact.

@SwoopX SwoopX added this to the v2.16.1 milestone May 22, 2022
@SwoopX SwoopX linked an issue May 22, 2022 that may be closed by this pull request
@SwoopX
SwoopX marked this pull request as ready for review May 23, 2022 20:08
@manup
manup merged commit a532f0f into dresden-elektronik:master May 24, 2022
@SwoopX
SwoopX deleted the fp1 branch May 29, 2022 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Aqara Presence Sensor FP1 (RTCZCGQ11LM)

2 participants