# Aqara FP2, mmWave presence detection on WiFi

**URL:** <https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955>\
**Category:** Devices\
**Tags:** wifi, presence\
**Created:** [February 28, 2023, 9:54am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955 "2023-02-28T09:54:40Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Cornevaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cornevaa/32/68636_2.png) [@Cornevaa](https://community.homey.app/u/Cornevaa)\
**Post date:** [June 26, 2023, 1:38pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/162 "2023-06-26T13:38:21Z")

</div>

I selected the sensor in devices & services on HA, you see the device info etc and under the section sensors i selected presence sensor and hit settings icon in right top, that showed me the menus to change device class. After you’re done hit update and re-add it to homey and it works

> **[Customizing entities](https://www.home-assistant.io/docs/configuration/customizing-devices/)**
>
> Simple customization for entities.

 ![IMG_1052](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/743cc9ff36f770929d3bd4eca7147a95ac9cf788.png)  
 ![IMG_1053](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48bd986154aef7ac9eef74495dd2631cfae0d359.png)  
 ![IMG_1055](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48b47cc0d0c18f2ce3d68f2dbbb5caaa4c27756d.png)  
 ![IMG_1057](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a81c0777116ee7bd4854b4df291e722586779a3d.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 26, 2023, 1:58pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/163 "2023-06-26T13:58:16Z")

</div>

Ah nice! So we both learned a thing or 2 today. Thanks!  
@Cornevaa Does homekit not expose the other zone sensors as well? AFAIK the FP2 has more than one occupancy sensor?  
Or do you add every zone sensor as separate sensor to HA?

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [June 26, 2023, 1:59pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/164 "2023-06-26T13:59:28Z")

</div>

now is just a better PIR :))

---

<div class="post-metadata">

**Author:** ![Cornevaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cornevaa/32/68636_2.png) [@Cornevaa](https://community.homey.app/u/Cornevaa)\
**Post date:** [June 26, 2023, 2:25pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/166 "2023-06-26T14:25:23Z")

</div>

I’m gonna look into that later today, i didn’t create any zones yet so i don’t know

---

<div class="post-metadata">

**Author:** ![Cornevaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cornevaa/32/68636_2.png) [@Cornevaa](https://community.homey.app/u/Cornevaa)\
**Post date:** [June 26, 2023, 5:24pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/167 "2023-06-26T17:24:32Z")

</div>

Okay the zones are showing up in HA, but homey doesn’t detect multiple motion zones. I tried to give them different device class names and i could get up to 3 zones into homey but i need to test more to see if it can do what i want

 ![IMG_1066](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/aecf9cd815be7d5d375bd7358043dc5faac94284.png)  
 ![IMG_1064](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/0/c0eb44892af3c3618e13b14005b4f0ca3d770073.jpeg)

---

<div class="post-metadata">

**Author:** ![Holger\_Schuetz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/holger_schuetz/32/57659_2.png) [@Holger\_Schuetz](https://community.homey.app/u/Holger_Schuetz)\
**Post date:** [July 3, 2023, 6:45am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/168 "2023-07-03T06:45:40Z")

</div>

I am also happy to donate 20 EUR

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [July 3, 2023, 7:32am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/169 "2023-07-03T07:32:17Z")

</div>

me too

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [July 3, 2023, 7:45am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/170 "2023-07-03T07:45:48Z")

</div>

At the moment I’m waiting to see if Athom will make a change to the Webhook server, as Aqara require a specific return value to indicate it is working.  
I have verified it works by making my Homey a proxy, but that requires running a server on my Homey and setting up a port forward on my router. That’s not something I can rely on in a production environment.

---

<div class="post-metadata">

**Author:** ![Bellringer2](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bellringer2/32/9607_2.png) [@Bellringer2](https://community.homey.app/u/Bellringer2)\
**Post date:** [July 3, 2023, 7:59am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/171 "2023-07-03T07:59:59Z")

</div>

Thanks for the update.

Is there anything we can do to help encourage a quick response from Athom?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 3, 2023, 8:10am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/172 "2023-07-03T08:10:28Z")

</div>

You can’t create a public API endpoint in your app and use Athom’s proxy (`https://CLOUDID.connect.athom.com/api/app/...`)?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [July 3, 2023, 8:20am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/173 "2023-07-03T08:20:21Z")

</div>

Two problems with that:

1. The user will have to setup an Aqara developer account to configure the Webhook address for their Homey.
2. The API doesn’t seem to allow me to specify the required response to the POST message sent by Aqara. I did try but Aqara failed to validate the response.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 16, 2023, 8:24am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/174 "2023-07-16T08:24:15Z")

</div>

> [@Cornevaa](#):
>
> Okay the zones are showing up in HA, but homey doesn’t detect multiple motion zones. I tried to give them different device class names and i could get up to 3 zones into homey but i need to test more to see if it can do what i want

Using the HA community app?  
Can you post your device details (entities used) and entity details (HA developer tools/states) in this thread?

> [@\[APP\]\[Pro\] Home Assistant - Community App](https://community.homey.app/t/app-pro-home-assistant-community-app/71477):
>
> Home Assistant - Community App [[large]](https://homey.app/a/io.home-assistant.community/) Happy with this app? Thank you for supporting community app development with a small donation via PayPal (send to friends). [[btn\_donate\_LG1] ](https://paypal.me/winklerronny) This Homey app adds support for many devices, scripts & scenes of your Home Assistant installation. Currently the following device types are supported: Switches Buttons Lights Sensors and Binary Sensors Media Players Climate Presence Scenes Scripts Compound (combined & customizable devi…

If the zones are entities they should appear as text sensors in Homey (added via device settings or repair vie/add entity). But perhaps that just linked zones.

---

<div class="post-metadata">

**Author:** ![Erik\_Veer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik_veer/32/58050_2.png) [@Erik\_Veer](https://community.homey.app/u/Erik_Veer)\
**Post date:** [July 17, 2023, 8:41pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/175 "2023-07-17T20:41:01Z")

</div>

I made it work with just homekit the aqara app and homey. (So only on iphone)

1. Add the fp2 sensor in aqara. And add zones etc.
2. Make sure the fp2 zones are ported to homekit from within the aqara app. (So visible in the apple home app)
3. Make a virtual device in homey with the homekitty app and make it visible in the apple home app through homekitty.
4. Make an automation to turn on/off the virtual homey device with the homekit aqara zones. (In the home app from apple)  
Example if zone kitchen is occupied → turn on virtual device kitchen. This virtual device will turn on/off in homey and can be used for flows.  
PS you need 2 automations in homekit. One to turn on, and one to turn off!

Et voila, you can use your virtual device in homey for your automations. Works like a charm for me.  
Fp2 with homey using homekit as a “bridge”  
I have 2 sensors for about 2-3 months now. And 3 zones per sensors. I give it an 8,5/10.  
Works in most situations, some delay 1-1,5 seconds I think. And in the beginning I needed a lot of “relearning” from the aqara app. (Reset absence, so it learns)

---

<div class="post-metadata">

**Author:** ![Johanneso](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johanneso/32/70273_2.png) [@Johanneso](https://community.homey.app/u/Johanneso)\
**Post date:** [July 17, 2023, 8:54pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/176 "2023-07-17T20:54:30Z")

</div>

That sounds useable. How’s the delay?  
Did you use a homebridge server or just homekit running on an appleTV or iPad etc?

---

<div class="post-metadata">

**Author:** ![Erik\_Veer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik_veer/32/58050_2.png) [@Erik\_Veer](https://community.homey.app/u/Erik_Veer)\
**Post date:** [July 17, 2023, 8:59pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/177 "2023-07-17T20:59:53Z")

</div>

My “hub” is an apple homepod mini. So just homekit, no special things.  
But could also be an apple tv off course.

Just updated my text. Delay of about 1-2 seconds. Acceptable in my opinion.

---

<div class="post-metadata">

**Author:** ![roberto2391](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto2391/32/68551_2.png) [@roberto2391](https://community.homey.app/u/roberto2391)\
**Post date:** [July 18, 2023, 8:37pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/178 "2023-07-18T20:37:05Z")

</div>

how did you manage?

---

<div class="post-metadata">

**Author:** ![Erik\_Veer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik_veer/32/58050_2.png) [@Erik\_Veer](https://community.homey.app/u/Erik_Veer)\
**Post date:** [July 19, 2023, 12:27pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/179 "2023-07-19T12:27:16Z")

</div>

See post 173 (only iphone users with homekit)

---

<div class="post-metadata">

**Author:** ![Hans\_van\_Leest](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans_van_leest/32/69396_2.png) [@Hans\_van\_Leest](https://community.homey.app/u/Hans_van_Leest)\
**Post date:** [July 23, 2023, 6:45pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/180 "2023-07-23T18:45:37Z")

</div>

Thx for the instruction, however I don’t understand point 3.

- create virtual device is clear, but I don’t see that option in homekitty. I create virtuals with “Virtuele Apparaten”
- "_and make it visible in the apple home app through homekitty"_ How do you do that?

---

<div class="post-metadata">

**Author:** ![Inunekko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/inunekko/32/13815_2.png) [@Inunekko](https://community.homey.app/u/Inunekko)\
**Post date:** [July 24, 2023, 4:56pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/181 "2023-07-24T16:56:42Z")

</div>

Maybe good to mention that you need a HomeKit hub to add the automation. (Apple TV or HomePod). I went through all the steps but couldn’t add an automation due to the lack of a HK hub. But as indicated, got it working via IFTTT

---

<div class="post-metadata">

**Author:** ![Inunekko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/inunekko/32/13815_2.png) [@Inunekko](https://community.homey.app/u/Inunekko)\
**Post date:** [July 24, 2023, 5:14pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/182 "2023-07-24T17:14:14Z")

</div>

You can create a flow starter with Homekitty, that’s the virtual device. You also need to add the HomeKitty bridge to Homekit

[Previous page](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955.md?page=8)

[Next page](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955.md?page=10)
