[APP] Aqara FP2 - Solo

[APP][Pro] Aqara FP2 - Solo

Bring your Aqara FP2 presence sensor into Homey, locally and without Apple Home.

Link to app: Aqara FP2 - Solo | Homey

Why use it

  • Every zone you draw in the Aqara Home app becomes its own presence status in Homey, plus overall presence and light level
  • Runs locally over your own network: no cloud, no Apple device, no extra apps
  • Flow cards per zone: presence detected in a zone, a zone became empty, someone is / isn’t in a zone
  • Reconnects by itself, and the device can be repaired without breaking your Flows

Test version: https://homey.app/a/com.aqara.fp2/test/

Installation

The FP2 connects through HomeKit, and a HomeKit device can only have one controller at a time. Most problems come from the FP2 still being paired somewhere else.

  1. Set up the FP2 and its zones in the Aqara Home app. Homey Pro must be on a network where it can see the FP2.
  2. Free the FP2 from other HomeKit controllers:
    • On iPhone, the Aqara app adds the FP2 to Apple Home automatically. Remove it in the Apple Home app (not in the Aqara app). Check every Apple device and “home” in your household.
    • If you used the HomeKit Controller app on Homey for the FP2, delete the FP2 devices there first (HomeKit Controller app works fine, keep it if it works for you!)
  3. Unplug the FP2 for 10 seconds and plug it back in.
  4. In Homey: Add device → Aqara FP2 - Solo, choose your FP2, and enter the 8-digit HomeKit code printed above the QR code on the FP2.

Troubleshooting

  • “Already connected to another HomeKit controller”: the FP2 is still paired elsewhere (step 2). If you can’t find where, reset the FP2 and set it up again in the Aqara app.
  • “Not accepting connections”: the FP2 is restarting or needs a firmware update. Update it in the Aqara app and try again after a few minutes.
  • Zone names: they should come from the FP2 itself. Name your zones in the Aqara app and push to homekit. (the zone names is a work in progress, i hope to fix in a later release)
  • Removing: deleting the device in Homey releases the FP2, so it can be added again later without a reset.

Feedback and bug reports are welcome in this topic.
Not affiliated with or endorsed by Aqara or HomeKit Controller for that matter.

Version 2.0 – every zone is now its own device :tada:

Thanks for the interest so far! Version 2.0 is out on the test channel, and it fixes the biggest limitation of 1.x: the zone names.

What’s new

  • Zones are now separate devices. Rename them with Homey’s normal name field, place each one in its own room, and use Homey’s built-in Flow cards.
  • Add zones whenever you like. Created a new zone in the Aqara app? Just add FP2 Zone devices again: only zones that aren’t in Homey yet are shown, and no HomeKit code is needed.
  • The FP2 itself still shows overall presence and light level.

How to add zones

  1. Add the FP2 first, if you haven’t: Add device → Aqara FP2 - Solo → Presence Sensor FP2, with the 8-digit HomeKit code.
  2. Then: Add device → Aqara FP2 - Solo → FP2 Zone, and tick the zones you want.

Which zone is which? The FP2’s HomeKit names don’t always match the numbering in the Aqara app, and one of them may cover the whole detection area. Leave the room until everything is off, walk into one zone at a time, and watch which device turns on. Then rename it.

Upgrading from 1.x
Your FP2 device keeps working and updates automatically. The zone tiles on it are gone, so add your zones with FP2 Zone. :warning: Flows that used the old zone cards (“presence detected in [zone]” etc.) must be recreated with the new zone devices.

Link to app (test version): Aqara FP2 - Solo | Homey

Feedback and bug reports are very welcome here!

Update: Aqara FP2 - Solo stays a test app

Athom has declined certification for Aqara FP2 - Solo, as they prefer not to have more than one app for the FP2. That’s fair, and I understand their reasoning.

What this means:

  • The app stays available as a test version, and you can still install it here: Aqara FP2 - Solo | Homey
  • Installed apps keep working and still get updates.
  • It won’t show up when searching the Homey App Store.

Version 2.0.2 is out on the test channel, with clearer messages when no FP2 is found or answering, and zones drawn in the Aqara app after pairing now show up when you add FP2 Zone devices.

A word of warning about pairing: getting the FP2 into Homey via HomeKit can be fiddly. The FP2 only accepts one HomeKit controller, the Aqara app on iPhone always adds it to Apple Home, and every reset gives it a new HomeKit ID. Please follow the installation steps in the first post carefully, and avoid resetting the FP2 unless nothing else works.

About support: I built this app for my own home, and since it will never be certified, I won’t be able to spend much time on support. Bug reports are still welcome, and I’ll fix things when I can, but please don’t expect quick answers. If you need a supported alternative, the HomeKit Controller app also works with the FP2, and there is a newly certified Aqara Community app as well.

The source code for Aqara FP2 - Solo is on GitHub (DrChip666/com.aqara.fp2), so anyone is welcome to use the ideas, for example splitting the zones into separate devices, in their own apps.

Thanks to everyone who tested it and sent reports!

Aqara FP2 - Solo 2.1.1 on test: diagnostics log + a pairing tip

Version 2.1.1 is available on the test channel: Aqara FP2 - Solo | Homey

New: diagnostics log
The app now keeps a log of what happens when it searches for, pairs with and connects to your FP2, including the exact error codes. You’ll find it under Apps > Aqara FP2 - Solo > Configure app.

If something doesn’t work:

  1. Tap Clear log
  2. Try adding the FP2 once
  3. Tap Copy log and paste it into a post here or into your diagnostics report

The log never contains your HomeKit code or pairing keys. Presence and lux values are not logged.

Tip: HomeKit Controller and FP2 - Solo should not run at the same time
Together with a user, I spent a week on an FP2 that Homey could see but that would not answer. It turned out that the HomeKit Controller app on the same Homey was the likely cause, even though it had no devices paired. This fixed it:

  1. Disable or uninstall HomeKit Controller
  2. Remove power from the FP2 for 10 seconds
  3. Wait 2 minutes
  4. Add the FP2 in Aqara FP2 - Solo

Other things worth knowing

  • The FP2 can only be connected to one HomeKit controller. If you set it up with the Aqara app on an iPhone, it’s automatically added to Apple Home. Remove it in the Home app (not the Aqara app) before adding it to Homey.
  • Avoid resets if possible. Every reset gives the FP2 a new HomeKit ID, and it has to be added again. Only reset if the fp2 is already paired to another controller, and you cannot release the paring.
  • The zone names come from HomeKit (“Presence Sensor 1, 2…”) and may not match the Aqara app. On my FP2, Presence Sensor 1 covers the whole room (so Presence Sensor 1 is basically a copy of the Main device). If in doubt walk through the room to see which device is which sensor/zone in Homey.

Support is still limited, as mentioned at the top of this topic, but the log makes it much easier for me to see what’s going on. But please read all the topic to find the solution before connecting.