Aqara Motion and Light Sensor P2 Won't Register

Hi,

I’m fairly new to using Aqara and haven’t had any other problems. I have an M300 in my home office as my main hub, an M200 on the same WiFi Mesh but in a studio in the garden and an M100 in my dining room which isn’t far away.

I’ve already connected 3 light switches, single pole no neutral, 2 to the M100 and one to the M300, 3 T1 buttons to the M300 and a smoke detector to the M200. The smoke detector was a bit tricky but eventually connected.

All except the smoke detector are working in Apple HomeKit no problem, I haven’t got round to seeing how to connect it, it isn’t a priority.

I’m trying to connect a motion sensor and it keeps failing at the registration stage. The first stage goes OK.

![IMG_1204|230x500](upload://p8Xjxk5I2Mb16LSqYYKIjhrQEqP.png

I’ve set my wifi to 2.5GHz only and checked the M300 firmware is up to date and done a reboot. I’ve restarted the sensor a number of times but always the same problem.

I’ve also tried it on the M100, same problem.

Is it likely I’ve got a faulty sensor because it really shouldn’t be this hard.

2 Likes

Ha, More fool me, I’ve just seen this on the Amazon page:

(*NOTE: The P2 currently DOESN’T SUPPORT the Aqara Home app, but it will soon with added features through the Matter-compatible Aqara border router).

Does anyone know when it will be supported.

However, it doesn’t connect to HomeKit either so I suspect it’s a dud.

Hi. I have a P2 in my Aqara app and Apple Home, and it works perfect.

The P2 sensor works via Matter over Thread. As your Aqara hubs are also Thread Border Routers, you can add the sensor via the Aqara app. However, there may be some technical hurdles. First, please check whether IPv6 is enabled on your home network. If you continue to experience issues, please take a screenshot of the error message.

If you want to add the sensor to Apple Home, this works via Matter and not HomeKit. In this case, you will also need a Thread Border Router from Apple. Which Apple devices do you have in your household? Do you have a HomePod or an Apple TV?

2 Likes

@simon20 where you got the M300? Or do you mean m3?

3 Likes

Hi John,

Thanks for getting back to me.

I was just about to add to the thread that I fixed the HomeKit problem, I restarted my iPhone.

For the record I have a couple of HomePods.

My ISP owns the router and I just need to check with them how I get access to it. It looks like you might be right as me Deco Mesh doesn’t show any IPv6 addresses.

Chris,

Yes you’re right, a slip of the tongue, as it were.

1 Like

Once again thanks for your help. I’ve just been told by my ISP that they don’t support IPv6 so I’ll have to park connecting it to the Aqara app.

Don’t give up yet! The ISP support gave you the easy answer, but not the complete one.

You can absolutely use IPv6 inside your home for your sensors, even if your ISP doesn’t support it for the internet connection. It just requires a specific setting in your router.

Which specific router model do you have?

If you can tell us the exact model name, we can likely guide you step-by-step on where to find this setting. It’s usually just a checkbox, and then it works.

It’s an Asus but it belongs to the ISP and I don’t have access to it. I manage my WiFi through my TP link mesh.

I have it working on HomeKit and the only thing I really need access to is the timer for when it turns off the lights, the delay is far too long.

If you have connected it to HomeKit, then

  1. Go to the Apple Home app.
  2. Select the room from which you assigned the device.
  3. At the top of the bar under the name of the room, you should find “Occupancy.”
  4. Tap on “Occupancy” and a window will open.
  5. Scroll all the way to the bottom.
  6. Tap “Turn on Pairing Mode.”
  7. Important: wait a moment.
  8. Tap “Copy Code.”
  9. Switch to the Aqara app.
  10. Go to the “Accessories” tab.
  11. Tap the plus sign in the top right corner.
  12. Tap “Add accessory.”
  13. Tap “Matter Devices.”
  14. Tap the “Add by Number pairing code” button at the bottom.
  15. Enter the Number Pairing Code and press OK.

Hi John. I’ve tried that a couple of times on both my M3 and M100 hubs. I restarted both hubs before trying as well. I also ensured that I was one running the 2.4Ghz channel on my WiFi.

These are a couple of the errors I get.

What happens when you click Add via Matter Controller?

After I’ve added the code it asks me if it’s a new installation or if the device is already in use.

After I’ve said it’s being used in HomeKit it asks for the paring code again.

After that it says added to Aqara and after a while I get the errors in the screenshots.

It’s already installed now so I can only try adding it to the M100 without ripping it off the top of the door as I used the sticky pad.

I did try putting the P2 in to discovery mode as directed by the error messages but that made no difference.

If you already have the P2 in HomeKit, please do not use the code on the device, but proceed as I have already described:

Here is a general description of how the process works:

If you get the error message again in the Aqara app, then press “Add via Matter Controller” and use the generated code (not the one from the device, because the code from the device may only be used for the first pairing).

Hi John,

I followed the instructions and didn’t use the sticker. At one point it old me to put the device in pairing mode so I Just pressed the button at the back.

I’ve been through it at least 20 times since I reset the device this morning and only did that once.

Okay, once you have reset the device, you will need to use the device code (sticker) again. Once you have added it to either the Apple Home or the Aqara Home app, you will need to generate the code within that app. The second time, the P2 sensor will automatically enter pairing mode when you generate the code, which is why Apple calls it ‘Turn on pairing mode’.

I’m also surprised that the Aqara app instructions say to put the sensor into pairing mode, because the app should actually ask if the sensor is already connected to Apple. If so, you have to select this option, after which the instructions in the app should look different.

Hi John,

I’ve gone right back to basis:

I removed the device from Apple HomeKit and reset it.

I was going to record the screen but wasn’t sure if I could post that so I’ve taken a number pop photos with my iPad as I didn’t want to disturb anything in the process by taking screen shots.

There is also a photo of the room where you can see the device installed above the door and the M100 in the other corner about 2m away.

The device was definitely on because it was working this morning in HomeKit.

More photos to follow

follow up photos

PS I’ve just been told the routers don’t support IPv6

John.

After that failed I then added the P2 back in to HomeKit and tried pairing again.

I did these same steps a couple of days ago with the P2 on my desk alongside the M3 and WiFi station the the M3 is plugged in to with the same results.

Again I used my iPad, apologies but a couple of photos are blurred as I juggled with it.