[New device support]: Aqara Presence Detector FP1 (RTCZCGQ11LM; lumi.motion.ac01)
Link
https://www.aqara.com/cn/productDetail/Aqara-Presence-Detector-FP1
Database entry
{"id":2,"type":"EndDevice","ieeeAddr":"0x54ef44100042d6eb","nwkAddr":13551,"manufId":4660,"manufName":"aqara","powerSource":"DC Source","modelId":"lumi.motion.ac01","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":65520,"inClusterList":[0,3,64704],"outClusterList":[3,25],"clusters":{"genBasic":{"attributes":{"modelId":"lumi.motion.ac01","manufacturerName":"aqara","powerSource":4,"zclVersion":3,"appVersion":48,"stackVersion":2,"hwVersion":1,"dateCode":"20210121","swBuildId":""}},"aqaraOpple":{"attributes":{"247":{"type":"Buffer","data":[3,40,28,5,33,1,0,8,33,48,1,10,33,0,0,12,32,20,16,32,1,18,32,0,101,32,1,102,32,6,103,32,0,104,32,0,105,32,1,106,32,1,107,32,3]},"322":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":48,"stackVersion":2,"hwVersion":1,"dateCode":"20210121","swBuildId":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1643135963340,"useImplicitCheckin":true}
Comments

Review:
- appearance and equipment (photos)
- Aqara Home app (screenshots)
- disassembly (photos)
- first acquaintance (video)
Buy:
- https://aliexpress.com/item/1005003772245093.html
- https://aliexpress.com/item/1005003781853869.html
- https://aliexpress.com/item/1005003766378575.html
External converter
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const ota = require('zigbee-herdsman-converters/lib/ota');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['lumi.motion.ac01'],
model: 'RTCZCGQ11LM',
vendor: 'Xiaomi',
description: 'Aqara Presence Detector FP1',
fromZigbee: [],
toZigbee: [],
exposes: [],
ota: ota.zigbeeOTA,
};
module.exports = definition;
Wow, you got this new device so fast, I ordered it here and it hasn't arrived yet.
Wow, you got this new device so fast, I ordered it here and it hasn't arrived yet.
Yes, lucky with the speed this time π
It's good that it's coming to you too, so I hope we (and maybe someone else) will add support for it together, because I can hardly do it alone π€
A quick inspection of the exchange protocol again shows the abundant use of Aqara proprietary octet string π€¦ββοΈ
Added in https://github.com/Koenkk/zigbee2mqtt/issues/11019
Only the basic functionality of the sensor is presented here, and we still have to work to add a very interesting function for working with regions:

Hi @Otnow , do you know if the sensor can handle two people or more? Is there one point per people on the map ?
And what about pets? Can it detect it and see it's not human ?
Thx for your work
Hi @Otnow , do you know if the sensor can handle two people or more? Is there one point per people on the map ?
And what about pets? Can it detect it and see it's not human ?
Thx for your work
Hi. I have not yet figured out the logic of this sensor well enough, so I canβt say for sure right now.
I did not check with several people, but judging by this video review, the sensor displays only 1 person on the map (this is only the first information so far, we will find out more accurately later).
I don't have pets, but it seems to me that the sensor will notice their movement, because. it seems that he reacts to everything that even slightly changes position in space (for example, a very slight swaying of a curtain). Will he be able to understand that this is not a person, I donβt know, but I doubt it.
The sensor has a very peculiar logic of operation, so in the process of adding the function of working with regions, I hope to understand it better.
Subscribed. Very interested to see the progress here.
Where can we track progress/discussion of more advanced features?
Where can we track progress/discussion of more advanced features?
You can discuss here, so write if you have additional information or questions.
it cant join z2m,the log:
warn 2022-03-06 10:18:59: permit_join set to true in configuration.yaml.
warn 2022-03-06 10:18:59: Allowing new devices to join.
warn 2022-03-06 10:18:59: Set permit_join to false once you joined all devices.
warn 2022-03-06 10:19:00: Using experimental new availability feature
warn 2022-03-06 10:21:21: Device '0x54ef441000473044' with Zigbee model 'lumi.motion.ac01' and manufacturer name 'aqara' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
warn 2022-03-06 10:21:22: Received message from unsupported device with Zigbee model 'lumi.motion.ac01' and manufacturer name 'aqara'
warn 2022-03-06 10:21:22: Please see: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
I didn't receive my FP1 until today. Unfortunately, I tried many times, FP1 doesn't seem to support ZigBee 22 channel, changing channel seems to require repairing all devices, there are more than 40 devices in my ZigBee network, changing channel will be a very troublesome thing...
Unfortunately, I tried many times, FP1 doesn't seem to support ZigBee 22 channel
Just checked, indeed the sensor does not want to work on channel 22.
RTCZCGQ11LM converter changed for support new functionality in firmware β53: motion_sensitivity and reset_nopresence_status (is now available in the dev branch, and will appear in the master branch at the beginning of next month):

Important: before updating the sensor firmware to version 53, you must install a zigbee2mqtt version that supports this firmware version, otherwise presence_event will report incorrect data due to the changed logic of the firmware.
hello, what progress has been made regarding the integration of the regions? There is an integrated Tuya occupancy sensor on Zigbee2mqtt and the regions are well integrated, the regions on the tuya sensors are so different from the FP1 sensors?
Tuya sensor rΓ©gion

hello, what progress has been made regarding the integration of the regions? There is an integrated Tuya occupancy sensor on Zigbee2mqtt and the regions are well integrated, the regions on the tuya sensors are so different from the FP1 sensors?
At the moment, there is no support for regions and, unfortunately, integration of Tuya sensor will not help in any way, because Aqara has a completely different logic of work.
Ok I understand, I wondered if the functioning of the tuya region and the FP1 region were the same or different. thank you for the details, good luck with the integration.
what is the logic of the sensor, is it digital data based on X (bottom left) and Y (top right) coordinates like Roborock vacuum cleaners? Data according to the number of boxes (4X7) Or data based on the coupling of approach distance and direction of travel? Do you currently know the key related to the information of the regions? because in debug I see 6 keys which are unknown and if I manage to know the digital info of the region I can process it via my home automation server.
if I understood correctly, the region information is indeed uploaded in Zigbee2mqtt but you don't know how to interpret it, is that right?
@jeezy51, I'm not currently developing region support due to other priorities, so I can't answer your questions π€·