zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: Aqara Presence Detector FP1 (RTCZCGQ11LM; lumi.motion.ac01)

Open Otnow opened this issue 4 years ago β€’ 68 comments

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

RTCZCGQ11LM

Review:

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;

Otnow avatar Jan 25 '22 19:01 Otnow

Wow, you got this new device so fast, I ordered it here and it hasn't arrived yet.

z-x-f avatar Jan 26 '22 01:01 z-x-f

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 πŸ€¦β€β™‚οΈ

Otnow avatar Jan 26 '22 01:01 Otnow

Added in https://github.com/Koenkk/zigbee2mqtt/issues/11019

Koenkk avatar Jan 31 '22 16:01 Koenkk

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:

19

Otnow avatar Jan 31 '22 17:01 Otnow

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

rdorys avatar Jan 31 '22 17:01 rdorys

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.

Otnow avatar Jan 31 '22 18:01 Otnow

Subscribed. Very interested to see the progress here.

qvntra avatar Feb 02 '22 21:02 qvntra

Where can we track progress/discussion of more advanced features?

Inrego avatar Feb 22 '22 13:02 Inrego

Where can we track progress/discussion of more advanced features?

You can discuss here, so write if you have additional information or questions.

Otnow avatar Feb 22 '22 20:02 Otnow

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

piggydamn avatar Mar 06 '22 02:03 piggydamn

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...

z-x-f avatar Mar 10 '22 13:03 z-x-f

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.

Otnow avatar Mar 10 '22 14:03 Otnow

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):

Screenshot_1 Screenshot_2 Screenshot_3

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.

Otnow avatar Mar 12 '22 21:03 Otnow

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?

jeezy51 avatar Mar 29 '22 22:03 jeezy51

Tuya sensor rΓ©gion Screenshot_2022-03-30-00-29-12-075_com android chrome

jeezy51 avatar Mar 29 '22 22:03 jeezy51

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.

Otnow avatar Mar 30 '22 14:03 Otnow

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.

jeezy51 avatar Mar 30 '22 23:03 jeezy51

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.

jeezy51 avatar Apr 14 '22 06:04 jeezy51

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 avatar Apr 14 '22 06:04 jeezy51

@jeezy51, I'm not currently developing region support due to other priorities, so I can't answer your questions 🀷

Otnow avatar Apr 16 '22 00:04 Otnow