FP2 Distance export etc

Hello all,

I have an idea for an automation that I think would be pretty cool, but looking for some advice on how to do it.
I have some WS2812B strips running down the length of the main hallway in my house. I also have an FP2 that covers this area.

I would LOVE to be able to “map” the FP2 tracking to the hallway such that at night it lights up just a few feet in-front of you as you walk - in a nice low light.

Anyone have any ideas for this? I would rather not install another device to do distance detection (ie a TOF sensor etc)

thanks!

What I can think of is to set up different light strips in different areas of the hallway. That way, when the FP2 detects someone walking into a specific area, the corresponding light strip will turn on. Looking forward to other community members sharing their ideas too! If you manage to bring this idea to life, please share a video of it in the community—that would be super cool!

@cameron1 Your idea sounds really cool—creating a “follow-me” lighting effect in the hallway using the FP2 is totally doable with its zone and approaching automation features! Here’s how you might set it up:

First, leverage the FP2’s zone detection to map your hallway. The FP2 divides the area into 320 cells (each 0.5m x 0.5m), so you can create a series of small zones along the hallway to represent different segments . This lets you track precise positions as you walk.

Next, use approaching automation to trigger the lights just ahead. The FP2 allows setting 1m, 2m, or 3m approaching distances—you can set it to 1-2m (a few feet) so the light turns on when you’re about to enter the next zone . For example, if you’re in Zone A, the FP2 detects you approaching Zone B (1m away) and triggers the LED strip to light up Zone B.

To configure this, go to the Aqara Home app’s automation section. Select the FP2 as the “If” condition, choose “Zone Detection” or “Approaching” (depending on your setup), and specify the target zone. Then, set the “Then” action to turn on the corresponding segment of your WS2812B strip . You might need to split the LED strip into zones in your smart home platform to control individual segments.

Since each FP2 zone is 0.5m, you can adjust the zone size or combine adjacent cells to match your hallway’s length. Test different approaching distances to get the timing right—you might find 1m works best for a “just in front” effect.

If you run into issues with precision, the community might have tips on fine-tuning zone edges or reducing interference (like marking walls as edges in the app) . Give it a try and let us know how it goes—we’d love to hear your results!

Hope this helps—happy automating!

@cameron1 This sounds like a really cool automation idea! To map the FP2’s tracking to your hallway LED strips, you can leverage the zone detection features of the FP2. Here’s how to approach it based on available tools:

First, define precise zones in the Aqara app for different sections of your hallway. The FP2 allows you to create, adjust, or delete zones via the app’s configuration tools—this helps pinpoint where you are in the hallway. Make sure to set edges (to reduce false signals from walls) and mark interference sources (like moving curtains) to improve accuracy .

Next, set up automations where each zone triggers the corresponding segment of your WS2812B strip. In the Aqara app, go to “Automation,” select the FP2 as the “If” condition, and choose “Presence (zone)” for the specific hallway section. Then, set the “Then” action to turn on the relevant LED segment at low brightness .

Since the FP2 supports zone-based presence detection, this should let the lights activate just ahead of your movement. You might need to fine-tune the zones and sensitivity (try high sensitivity if needed) to get the timing right .

Have you tried setting up zones in the app yet? If you run into issues with detection accuracy, adjusting the edge settings or re-verifying the zones could help. Would love to hear how it goes once you test it!