# 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:** 16

<div class="post-metadata">

**Author:** ![Bazeloth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bazeloth/32/79224_2.png) [@Bazeloth](https://community.homey.app/u/Bazeloth)\
**Post date:** [November 13, 2023, 10:52am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/306 "2023-11-13T10:52:23Z")

</div>

Thanks Andrew. I know. I have only 1 zone configured so the values such as lux and occupancy should match. In my screenshot they didn’t, so something got out of sync.

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [November 13, 2023, 2:39pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/307 "2023-11-13T14:39:09Z")

</div>

This is now fixed in 0.0.11. Had to rip out Bonjour-service package and replace it with plain dnssd library. that gave the events needed.

---

<div class="post-metadata">

**Author:** ![Bazeloth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bazeloth/32/79224_2.png) [@Bazeloth](https://community.homey.app/u/Bazeloth)\
**Post date:** [November 13, 2023, 5:24pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/308 "2023-11-13T17:24:57Z")

</div>

I’ve got 3 fp2 sensors. The third sensor doesnt have any AND cards sadly:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/5/65a250fbf84c3a7bed1bcd7df5075a8809338871.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/1861f4243fed21df0aab93626f43cfd0ef8b3763.png)

The other 2 sensors do have them. Any idea what’s going on? I had an error when adding the last sensor. It said something like Error M2: 7? Does it have to do anything with the room type i configured in the Aqara app?

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [November 13, 2023, 5:31pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/309 "2023-11-13T17:31:14Z")

</div>

Something went wong in the pairing process… will check what the error is…

---

<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:** [November 13, 2023, 5:54pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/310 "2023-11-13T17:54:15Z")

</div>

> [@Valentin\_Ciopei](#):
>
> I don’t think so. Can’t work through walls or doors.

You may think what you like, but I’ve tested it.  
But let me edit and rephrase my reply: It works through _ **my** _ wooden doors and brick walls.  
Concrete walls will be a challenge, these radio signals, like any other, get (very) disturbed by reinforced concrete (metal grid inside).

I use mmWave sensors for months and months now, and they register movement when I walk past a brick wall, with an mmWave sensor sitting on the other side.  
I’ve one in my shower, it’s a bit aimed at the door and walls around it, and I can see the lights turn on when I reach the door without opening it yet.  
🤗

---

<div class="post-metadata">

**Author:** ![Rudiger](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudiger/32/28535_2.png) [@Rudiger](https://community.homey.app/u/Rudiger)\
**Post date:** [November 13, 2023, 6:35pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/311 "2023-11-13T18:35:19Z")

</div>

That sounds crazy. I will place it also in my bathroom and let it switch the lights on and keep them on while I am in the room and under the shower. But I don’t want that it does so when I walk outside the room. 😳

---

<div class="post-metadata">

**Author:** ![Milan\_Takacs](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/milan_takacs/32/75617_2.png) [@Milan\_Takacs](https://community.homey.app/u/Milan_Takacs)\
**Post date:** [November 13, 2023, 8:00pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/312 "2023-11-13T20:00:49Z")

</div>

Hmm… It’s interesting

Which type of wall?  
Drywall? Bricks? Concrete?

---

<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:** [November 13, 2023, 8:33pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/313 "2023-11-13T20:33:14Z")

</div>

I have one in my office facing the door and It doesn’t trigger anything when I walk outside the room.  
I have brick walls.

---

<div class="post-metadata">

**Author:** ![Martin\_Verbeek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_verbeek/32/10641_2.png) [@Martin\_Verbeek](https://community.homey.app/u/Martin_Verbeek)\
**Post date:** [November 13, 2023, 8:42pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/314 "2023-11-13T20:42:07Z")

</div>

0x07 kTLVError\_Busy Server is busy and cannot accept a pairing request at this time

---

<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:** [November 13, 2023, 8:50pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/315 "2023-11-13T20:50:19Z")

</div>

> [@Rudiger](#):
>
> But I don’t want that it does so when I walk outside the room. 😳

I can adjust the sensing distance (0.75 - 6m.) and the sensitivity. It’s a bit of fiddling, but this way I can control the range.  
Of course my shower lights don’t turn on when I keep 1m. distance.  
But it’s all about preferences here, sometimes a PIR is more suitable.

> [@Milan\_Takacs](#):
>
> Which type of wall?  
> Drywall? Bricks? Concrete?

Like I wrote, bricks. Concrete will never work (very well) b/c the metal grid inside. Drywall shouldn’t be a problem as well.

---

<div class="post-metadata">

**Author:** ![Milan\_Takacs](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/milan_takacs/32/75617_2.png) [@Milan\_Takacs](https://community.homey.app/u/Milan_Takacs)\
**Post date:** [November 13, 2023, 9:28pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/316 "2023-11-13T21:28:46Z")

</div>

> [@Peter\_Kawa](#):
>
> .
> 
> > [@Milan\_Takacs](#):
> >
> > Which type of wall?  
> > Drywall? Bricks? Concrete?
> 
> Like I wrote, bricks. Concrete will never work (very well) b/c the metal grid inside. Drywall shouldn’t be a problem as well

Sounds good. I will test it.  
If it can work maybe one can cover the kitchen and the entryroom.  
I didn’t think it has as much power.

---

<div class="post-metadata">

**Author:** ![Maven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maven/32/110403_2.png) [@Maven](https://community.homey.app/u/Maven)\
**Post date:** [November 14, 2023, 8:58am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/317 "2023-11-14T08:58:30Z")

</div>

From Aqara - Nov 14, 2023:

Thank you for reaching out to us  
Our team is working on improving the FP2, and also working on it to support more platforms, but sorry to say we don’t have the time frame for it now

\*I specifically asked for any planned enhancements of the Aqara API’s but no response to that end.

---

<div class="post-metadata">

**Author:** ![Bazeloth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bazeloth/32/79224_2.png) [@Bazeloth](https://community.homey.app/u/Bazeloth)\
**Post date:** [November 14, 2023, 11:50am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/318 "2023-11-14T11:50:53Z")

</div>

I’ve removed it from the aqara app, resetted it with the button at the bottom, readded it in the aqara app and after several tries with the Homekitt app i go the same error message (error m2: 7). It got added to Homey, but again it’s showing me no AND cards in the flows.

Any idea? My other 2 fp2 sensors don’t have this issue.

---

<div class="post-metadata">

**Author:** ![RogerSt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogerst/32/12432_2.png) [@RogerSt](https://community.homey.app/u/RogerSt)\
**Post date:** [November 14, 2023, 6:06pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/319 "2023-11-14T18:06:26Z")

</div>

Now using v0.0.12.  
Still, even though I plug it / flash yellow when adding device in Homey, all timings I tried - at least 30 times - none succeed…  
For now I conclude that perhaps the pairing process for this sensor is a bit brittle.  
Can the discovery process at least try a few times to query available devices, instead of just once? Perhaps then the timing does not need to be so perfect?  
Thanks for considering.

---

<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:** [November 14, 2023, 9:18pm UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/320 "2023-11-14T21:18:20Z")

</div>

> [@Bazeloth](#):
>
> it’s showing me no AND cards in the flows

Many apps don’t have AND cards, or just a few of those cards;  
Here, Homey Logic steps in

> **[Using Homey Logic in Flows](https://support.homey.app/hc/en-us/articles/4410240765586-Using-Homey-Logic-in-Flows)**
>
> You’ve probably seen Homey Logic. Once you get the hang of it, it's a great tool for any smart home. By creating your own Variables and using these in your Flows as Tags, you can often accomplish c...

---

<div class="post-metadata">

**Author:** ![Bazeloth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bazeloth/32/79224_2.png) [@Bazeloth](https://community.homey.app/u/Bazeloth)\
**Post date:** [November 15, 2023, 7:42am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/321 "2023-11-15T07:42:02Z")

</div>

Please read my earlier posts. I do have them with the other 2 sensors. See the screenshots.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [November 15, 2023, 8:29am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/322 "2023-11-15T08:29:24Z")

</div>

> [@Bazeloth](#):
>
> I had an error when adding the last sensor. It said something like Error M2: 7?

Could this be the reason you have no AND cards.?

---

<div class="post-metadata">

**Author:** ![Bazeloth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bazeloth/32/79224_2.png) [@Bazeloth](https://community.homey.app/u/Bazeloth)\
**Post date:** [November 15, 2023, 9:23am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/323 "2023-11-15T09:23:12Z")

</div>

I’m pretty sure it is, but its up to Martin Verbeek to fix those. I’m sure he’s on it.

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [November 15, 2023, 9:57am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/324 "2023-11-15T09:57:02Z")

</div>

What I also try to say is that when error codes occur, it is no wonder things go wrong. So you have first to resolve the error code, and then the missing AND cards, if they are still there. As you have two sensors installed without errors that are working ok, I would suggest to install the 3rd one again until it installs without errors.

---

<div class="post-metadata">

**Author:** ![Bazeloth](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bazeloth/32/79224_2.png) [@Bazeloth](https://community.homey.app/u/Bazeloth)\
**Post date:** [November 15, 2023, 10:10am UTC](https://community.homey.app/t/aqara-fp2-mmwave-presence-detection-on-wifi/76955/325 "2023-11-15T10:10:37Z")

</div>

I’ve tried reinstalling the last sensor 3 times. Resetted it to factory settings in between. At some point i give up. I’ve tried what you are suggesting.

If the Homekit Controller app starts it should iterate through each device and check whether they’ve been setup/paired correctly either by checking capabilities or the absence/presence of cards (if possible).

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

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