zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
717 stars 665 forks source link

[Device Support Request] Aqara Presence Detector FP1 (RTCZCGQ11LM; lumi.motion.ac01) #1533

Closed Daniel-dev22 closed 2 years ago

Daniel-dev22 commented 2 years ago

Is your feature request related to a problem? Please describe. New Aqara FP1 sensor is only partially compatible with zigbee2mqtt at this time. I say partially because they haven't figured out how to expose the zone part of the sensor to zigbee2mqtt. I would rather stick with zha so it would be nice if we can get it to work with zha potentially piggybacking off what zigbee2mqtt did as a start.

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

https://www.aqara.com/cn/productDetail/Aqara-Presence-Detector-FP1

I don't have the device physically to paste anything here.

Everything Smart Home YouTube Video on this new device: https://youtu.be/Leru0rCS8b0

WeterPeter commented 2 years ago

I am running HA 2022.7 using ZHA and the FP1 pairs immediately and is now running fine in my office. Upgraded two days ago to HA 2022.8.2, still running fine.

Hedda commented 2 years ago

@zeltak Make sure to read and follow best practices by using a long USB extension cable, etc. to try to avoid interference, see -> https://github.com/zigpy/zigpy/wiki/Generic-best-practice-tips-on-improving-Zigbee-network-range-and-general-stability

jwall87 commented 2 years ago

Put this https://github.com/zigpy/zha-device-handlers/blob/851e784207160645b108e78c577cde2b5704a722/zhaquirks/xiaomi/aqara/motion_ac01.py Into /config/zha_quirks Then in your configuration.yaml add

zha:
  custom_quirks: true
  custom_quirks_path: /config/zha_quirks

Thanks for the pointers, but this doesnt work. Just gets stuck in "interviewing device". I put the file you linked in the zha_quirks folder, and no love for me. image

I'm having the same issue. Sonoff Zigbee Bridge with Tasmota firmware, using ZHA to connect to the bridge. But Aqara FP1 is stuck in 'Starting Interview'. Any clue what to try/do?

Did you get this working? I’m in the same scenario with the same hub.

TyzzyT commented 2 years ago

I ended up buying a Sonoff Zigbee 3.0 stick and flashed it with Zigbee2MQTT. Z2M seems far more reliable than ZHA, and way more options. I'll migrate everything over the coming weeks.

Daniel-dev22 commented 2 years ago

I ended up buying a Sonoff Zigbee 3.0 stick and flashed it with Zigbee2MQTT. Z2M seems far more reliable than ZHA, and way more options. I'll migrate everything over the coming weeks.

You don't flash a coordinator with either zha or z2m... Zha is extremely reliable for me. Did you try using zha with the Sonoff Zigbee 3.0 ? That's what I'm using and I have 2 fp1's working without issue.

jwall87 commented 2 years ago

I ended up buying a Sonoff Zigbee 3.0 stick and flashed it with Zigbee2MQTT. Z2M seems far more reliable than ZHA, and way more options. I'll migrate everything over the coming weeks.

You don't flash a coordinator with either zha or z2m... Zha is extremely reliable for me. Did you try using zha with the Sonoff Zigbee 3.0 ? That's what I'm using and I have 2 fp1's working without issue.

Thanks I just made the switch. Zigbee2MQTT seems so much better.