# I can not Pairing Aqara M2 hub via matter to homey pro 2023

**URL:** <https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003>\
**Category:** Devices\
**Tags:** zigbee, homey-pro\
**Created:** [November 7, 2023, 8:28pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003 "2023-11-07T20:28:57Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![smjoen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smjoen/32/34339_2.png) [@smjoen](https://community.homey.app/u/smjoen)\
**Post date:** [November 7, 2023, 8:28pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/1 "2023-11-07T20:28:57Z")

</div>

I am running a few Aqara end Zigbee battery devices and have reached the max number of 15 devices for Homey. I have therefor bought a Aqara M2 hub matter compatible but are not able to pair it with homey.

I have tried to pair it with homekit and it worked flawlessly giving access to an Aqara window censor paired with the Aqara M2 HUB.

From my understanding the Aqara HUB should be compatible with homey via matter and the Aqara window censors should also work this way.

When trying to pair the hub I go via homey, add new device, choose matter, I find the aqara hub and are asked for the matter activation code I get from the Aqara app. so far all is working as should. Then Homey starts adding the Aqara hub but never finish the pairing it just keeps on going until it times out.  
Anyone has any Idea what might be the problem?

I am running on the latest firmware version.

---

<div class="post-metadata">

**Author:** ![WimS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wims/32/16494_2.png) [@WimS](https://community.homey.app/u/WimS)\
**Post date:** [November 7, 2023, 8:43pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/2 "2023-11-07T20:43:27Z")

</div>

Matter is still in Beta, so I don’t now is it is already up and running.

> **[Matter (Beta) for Homey Pro (Early 2023)](https://support.homey.app/hc/en-us/articles/9075551662108-Matter-Beta-for-Homey-Pro-Early-2023-)**
>
> This guide explains how to use Matter on Homey Pro (Early 2023) and why it is currently in beta.
> Beta
> Since Homey Pro firmware v10.0.0-rc.114, Matter for Homey Pro is in beta. This means that there...

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [November 7, 2023, 9:21pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/3 "2023-11-07T21:21:24Z")

</div>

> [@smjoen](#):
>
> have reached the max number of 15 devices for Homey.

15 is not the max of zigbee devices that you can add to Homey.  
15 devices is, as far as i know, the max of devices that can be directly added to Homey. (Homey Pro, before the 2023 version)  
I don’t have much zigbee devices, 31, but there are 9 routers and 22 end-devices.  
If you only use battery devices you should add extra router devices like a smart plug or lightbuld.  
Maybe first delete some battery devices, add some routers, reboot Homey and then, when all the devices are connected, add the removed battery devices again.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [November 7, 2023, 11:01pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/4 "2023-11-07T23:01:24Z")

</div>

This limit for _directly connected devices_ isn’t even for the newer Homey Pro (early 2023), this limit is for the older Homey pro’s that used way older ZigBee chips.  
What the exact limit is, has never been verified by Athom, but **is** higher.

Now currently have 64 zigbee devices, but definitely don’t feel a limit yet like i was seeing with the older Homey’s, though most (48) are routing devices.

---

<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:** [November 8, 2023, 6:44am UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/5 "2023-11-08T06:44:41Z")

</div>

> [@Caseda](#):
>
> What the exact limit is, has never been verified by Athom, but **is** higher.

I’m fairly sure it’s 32.

---

<div class="post-metadata">

**Author:** ![Carlos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlos/32/38870_2.png) [@Carlos](https://community.homey.app/u/Carlos)\
**Post date:** [December 10, 2023, 9:58am UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/6 "2023-12-10T09:58:25Z")

</div>

I’ve got the honey pro 2019. Is there any possibility to connect the Aqara M2 hub to honey? I don’t want to disconnect all devices from the hub to pair it newly to homey

---

<div class="post-metadata">

**Author:** ![RickardDehlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rickarddehlin/32/49737_2.png) [@RickardDehlin](https://community.homey.app/u/RickardDehlin)\
**Post date:** [December 10, 2023, 8:24pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/7 "2023-12-10T20:24:35Z")

</div>

To my knowledge no, you can only pair an Aqara Hub M2 to Homey Pro 2023 via Matter.

---

<div class="post-metadata">

**Author:** ![Harry\_Shanker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_shanker/32/79416_2.png) [@Harry\_Shanker](https://community.homey.app/u/Harry_Shanker)\
**Post date:** [December 28, 2023, 4:23pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/8 "2023-12-28T16:23:19Z")

</div>

I’ve got the homey pro 2023  
How can I connect the Aqara M2 hub to homey pro 2023?

---

<div class="post-metadata">

**Author:** ![RickardDehlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rickarddehlin/32/49737_2.png) [@RickardDehlin](https://community.homey.app/u/RickardDehlin)\
**Post date:** [December 28, 2023, 6:22pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/9 "2023-12-28T18:22:51Z")

</div>

Add a generic Matter device and Scan the QR code?

---

<div class="post-metadata">

**Author:** ![Harry\_Shanker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_shanker/32/79416_2.png) [@Harry\_Shanker](https://community.homey.app/u/Harry_Shanker)\
**Post date:** [January 6, 2024, 12:12pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/10 "2024-01-06T12:12:27Z")

</div>

I have tried this but it isnt playing nicely, I did add a couple of weeks back but i have been having issues with the Aqara FP2’s, the virtual flows were freezing and I had to keep refreshingg the pages. So I deleted all the Aqara devices and added everything back but still cant add the Aqara Hub, virtual flows still freezing and now this error when trying to identify device on the FP2 devices “connect ECONNREFUSED…IP…” please help!

---

<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:** [January 6, 2024, 12:18pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/11 "2024-01-06T12:18:45Z")

</div>

Why not use the HomeKit Controller app for the FP2’s?

---

<div class="post-metadata">

**Author:** ![Harry\_Shanker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_shanker/32/79416_2.png) [@Harry\_Shanker](https://community.homey.app/u/Harry_Shanker)\
**Post date:** [January 7, 2024, 9:40pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/12 "2024-01-07T21:40:20Z")

</div>

Hey Robert  
I want to use Homey for as much as I possibly can, I managed to get them connected to Homey Pro by following a youtube video and a thread on here

1. Adding & using Aqara app
2. Then delete from home kit
3. Then added using the Homey app

But they are just super un-reliable, I have tried to reset and start from the top but I’m not sure if there is just stuff left behind that causing issues or just as they were at the begining, they work for a little whle then for no apparent reason, nothing, they just show constant occupation in the room with light on or off.

 ![FP2 all 3 Sensor reading motion when room has been empty for 2hrs Screenshot 2024-01-02 195630](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a8faa5bc261d93a88e750742b5dfb336f1210c05.jpeg)  
 ![FP2 Aqara Sensor reading around 20mins when honey reading 23hr occupied Screenshot 2024-01-06 at 23.30.08.jpeg 2024-01-06 23_32_25](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/d/5d9494032d97281c360c9a299b22daed4a014f75.png)  
 ![FP2 Sensor reading motion when room has been empty for 2hrs Screenshot 2024-01-06 142106](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03cb4c8b38fb19aff4cca190058bf69a02bdcfb8.jpeg)  
 ![FP2 Sensor reading motion when room has been empty for 23hrs Screenshot 2024-01-06 142106](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b2f54d0650cacaf50b0a1c74486b720a5c66812d.jpeg)

---

<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:** [January 8, 2024, 5:14am UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/13 "2024-01-08T05:14:34Z")

</div>

Are you using the test version of the app?

---

<div class="post-metadata">

**Author:** ![Harry\_Shanker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_shanker/32/79416_2.png) [@Harry\_Shanker](https://community.homey.app/u/Harry_Shanker)\
**Post date:** [January 13, 2024, 8:35pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/14 "2024-01-13T20:35:38Z")

</div>

Sorry Robert, test version? I have set up test rooms and devices but am pretty sure everything else is leggit?

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [January 13, 2024, 11:08pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/15 "2024-01-13T23:08:10Z")

</div>

@Harry_Shanker This is the test version of the Homekit Controller app.

> **[HomeKit Controller](https://homey.app/nl-nl/app/com.verbem.Hhomekiy/HomeKit-Controller/)**
>
> Homekit Controller for a better Homey

---

<div class="post-metadata">

**Author:** ![Harry\_Shanker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_shanker/32/79416_2.png) [@Harry\_Shanker](https://community.homey.app/u/Harry_Shanker)\
**Post date:** [January 16, 2024, 1:46pm UTC](https://community.homey.app/t/i-can-not-pairing-aqara-m2-hub-via-matter-to-homey-pro-2023/94003/16 "2024-01-16T13:46:50Z")

</div>

What I have found is that when the sensors seem to freeze if I reset the HomeKit and the FP2’s come back online, I think it is something to do with HomeKit, right?  
Is there anyway to auto restart apps?
