FP2 fall detection on the ceiling to watch over my elderly mother - Telegram + HomePod alerts (long post, sorry)

Been meaning to write this up for a while. My mom is at the age where a fall is my biggest worry, and I didn’t want a camera in her room. Ended up ceiling-mounting an FP2 in fall detection mode and running the alerts through Home Assistant so my phone gets a Telegram message and the HomePod in my office literally announces it out loud. Works great, took about an afternoon. Here’s everything I learned, including the stuff I got wrong.

First thing to know: fall detection is its own mode. The FP2 does presence/zones on a wall OR fall detection on a ceiling, not both. I already had one doing presence so this meant buying a second unit. Annoying but that’s how it is.

Mounting: flat on the ceiling, pointing straight down. Aqara says roughly 2.5-3m ceiling height (mine’s right around 9 ft). Coverage is basically a circle under the sensor, so put it over the spot that matters. I centered mine between her bed and the bathroom door since that’s the path she walks most at night. One mistake I almost made - I originally wanted it near the ceiling fan. Don’t. Anything moving in the detection cone (fan blades, hanging plants, curtains near a vent) will drive you crazy with false triggers.

In the Aqara app you add it like any FP2, then flip the working mode to Fall Detection. It walks you through calibration - you tell it the mounting height and map out the edges of the area. Don’t rush this part. Also set the “fall confirmation time”, which is how long someone has to stay down before it counts as a fall. I went with 30 seconds. Long enough that her kneeling to grab something under the bed doesn’t page me, short enough that it still matters in a real emergency.

Then TEST it. I actually laid down on her floor in like 5 different spots to make sure it fired every time, then sat down, knelt, bent over etc to make sure those didn’t. Felt ridiculous doing it but glad I did because the first calibration missed a corner of the room and I had to redo it.

On the HA side (I run HA in Docker on a Pi 4), once the fall triggers you’ll get a fall status entity you can automate on. Trigger a test fall and check Developer Tools > States to find the exact entity ID and what state it reports - depends on your integration path so I won’t pretend mine matches yours.

Telegram side, if you’ve never made a bot: message @BotFather in Telegram, /newbot, follow the prompts, save the token. Then message your bot once (it can’t message you first) and grab your chat ID from @userinfobot. In configuration.yaml:

telegram_bot:
  - platform: polling
    api_key: !secret telegram_bot_token
    allowed_chat_ids:
      - !secret telegram_chat_id

notify:
  - platform: telegram
    name: telegram_eddie
    chat_id: !secret telegram_chat_id

Restart, test it from Developer Tools > Actions.

For the HomePod - they show up in HA as AirPlay media players through the Apple TV integration. Pair that with any TTS engine (I use local Piper, no cloud sub needed) and the HomePod will speak whatever you want.

The automation:

alias: "FP2 Fall Detected - Mom's Room"
mode: single
triggers:
  - trigger: state
    entity_id: binary_sensor.moms_room_fall_detection
    to: "on"
    for: "00:00:05"
actions:
  - action: notify.telegram_eddie
    data:
      title: "FALL DETECTED"
      message: >
        Possible fall detected in Mom's room at
        {{ now().strftime('%I:%M %p') }}. Check on her immediately.
  - action: tts.speak
    target:
      entity_id: tts.piper
    data:
      media_player_entity_id: media_player.office_speaker
      message: "Attention. A possible fall has been detected in Mom's room."
  - delay: "00:00:20"
  - action: tts.speak
    target:
      entity_id: tts.piper
    data:
      media_player_entity_id: media_player.office_speaker
      message: "Repeating. A possible fall has been detected in Mom's room."

The 5 second “for:” is just to filter momentary blips, and I repeat the announcement once in case I’m not in the office the first time. Next version I want it to keep repeating until I acknowledge with an input_boolean but haven’t gotten around to it.

Random notes after a few months running this:

Redo the calibration if you move furniture around. Learned that one the hard way after we swapped her dresser to the other wall.

I test it about once a month by lying on the floor. My wife thinks I’m nuts.

I tuned everything to prefer false positives. An occasional pointless Telegram ping costs me nothing. Missing a real fall is not an option.

And obviously this doesn’t replace her medical alert pendant or me calling her every day, it’s a backup layer. But knowing the house itself is watching that room has been a huge weight off my mind.

Happy to answer questions if anyone wants to set this up.

29 Likes

Thanks for the detailed explanation @US-EddieDaYankee ! Specially the idea with telegram (and sure other messengers) is great

7 Likes

So have you got a cable running across the ceiling?

1 Like

What a strange times we live in if a creator has to apologize for making a long post :joy: It’s very interesting, informative and well written. You should be proud!

6 Likes

If you have a drop ceiling you can easily hide it, or you can use a plastic wiring channel, there are smaller sizes that are almost unnoticeable

5 Likes

Thank you for the response and encouragement.

4 Likes

When I built my house, I had a couple of extra outlets put in my soffits, exterior walls, and attic. I was able to run the FP2’s cable through a small hole in the ceiling which I wired to one of the attic outlets. I should also mention that I put a Aqara Smart Plug in the attic in case I needed to Power Cycle the FP2. I definitely don’t want to crawl in my attic in the Florida heat.

7 Likes

It’s so sweet of you to test it every month by lying on the floor. Your mom must be so happy to have someone who cares so much!

4 Likes

Hi @US-EddieDaYankee , firstly, thanks for the write up.

Did you add the fp2 to HA and then to Apple Home, or not bother with Apple Home? Or did you do the reverse?

I also looked at the capability of fall detection for my mum. In the end, we did do cameras as mum had alzheimers and mobility issues and we were 20 miles away (Or 45 minutes to 1 hr depending on time of day). The cameras enabled us to get a better idea of what the issue was. I know it was an invasion of privacy, though.

That delay for us was the key. If it was serious, we could call out an ambulance and then drive there rather tan do it serially.

Still, I do like your write up. I find it fascinating. Like you, we’d have had to have implemented many fp2’s… and that isn’t cheap!

5 Likes

thank you @US-EddieDaYankee for sharing your detailed use case!
Definitely something to consider when my mother is getting older :slight_smile:

1 Like

Hi. Thank you for writing. Yes, I did add the FP2 to Home Assistant and then Apple Home via the HomeKit Bridge Integration. I’m glad you found a solution that works for you. I struggled with the ethics of the camera privacy too. If you ever need to add an FP2 to Home Assistant, I contributed a How-To post:
(Aqara FP2 in Home Assistant — The Guide That Actually Works).

Ethics are a big thing for me. I co-wrote the Data & AI Ethics for the company I work for.

Nice job! I have an elderly mother living with Me as well. So I’m starting to think of safety concerns. Will definitely consider this option. I’m waiting on the FP400.

Like you, I have everything in HomeKit via HomeBridge. I also want to look into HA. Do you have any advice in getting started with HA when you have everything already in HomeBridge ? I will be setting up a separate server for it. Anything that you wish you knew first before embarking on this journey ? lol thanks !

There is no automatic way to move from HB to HA (I went through this). I went through at the rate of integration at a time… which was partially forced by HB being a superior integration for vacuums at one point.

Very smart thinking ahead! Add this post to “lessons learned, new construction. “

Some others I’ve heard:

Outlets are never as low cost as they are during new construction.

Conduit: same. Whatever you decide on, double it.

If you have fiber or can imagine it in your future, run CAT 8 for internal ethernet wiring to your inside fiber drop point. Short of fiber itself, Cat 8 is required for 8K Video plus full surround and effects.

Consider putting at least one outlet in the floor. You may have a floor lamp someday.

@mrrssy
I agree with @siobhanellis, there is no easy way to migrate from HomeKit/HomeBridge to Home Assistant. As I add new devices,
I add them to both platforms. Then systematically, I have been going back and adding my HomeKit/HomeBridge devices to Home Assistant as well. When
I need a new
Automation, I first see if I have migrated the necessary devices to accomplish this in Home Assistant. If not, I add it to HomeKit and add to my list of Automations to migrate to Home Assistant later. This is definitely not something you accomplish overnight. Although I appreciate the intended simplicity of HomeKit, it definitely has limitations that Home Assistant doesn’t have. Once you start with Home
assistant, it will feel very overwhelming. There are so many elements (called entities) that are exposed for a single device that HomeKit ignores. This is also
What makes Home Assistant so powerful. To be honest, Inan still in the transition myself. Most of my Smart Home is still reliant on HomeKit/HomeBridge. Eventually, once I setup an interactive 3d home dashboard and start hosting my own AI Assistant, I will fully move over to Home Assistant, but it’s definitely a process. My suggestion is to be organized, make notes of what you have and what has been transitioned, and be patient. Good luck.

Love this conversation. Great write up and responses. In general, which of the following is preferred?
Adding new devices to HA and then sharing them to Homekit? Or,
Adding new devices to Homekit and then moving them over to HA?

wow! Great idea!