# Ring your phone from Home Assistant

AI agents · https://lfg.gm/agents/home-assistant · Updated 2026-10-19

To make Home Assistant ring your phone through LFG Alarm, give it an anything alarm's private link as a `rest_command` and call that command from an automation: "when the alarm system arms, ring my phone", "when the water sensor is wet, ring everyone in the house". Every phone that joined the alarm rings at once. Home Assistant's own MCP client cannot connect to LFG Alarm's server yet, so for now the link is the way in. LFG Alarm is a social alarm clock for iPhone and Android: alarms for times and moments, shared by link so every phone that joined rings together.

## Before you start

- **Get the LFG Alarm app on your phone** from Google Play or the App Store, and sign in, and so should everyone who should be rung. Home Assistant sends the request; the app is what rings.
- **Home Assistant** with access to `configuration.yaml` (or the File editor add-on).
- **An anything alarm** in LFG Alarm. ## Connect it

1. In LFG Alarm, make an **Anything** alarm, for example "Water leak". Share it with the people who should hear it (friends alarms only; an anything alarm is never public). Copy its private link.
2. Keep the link out of your YAML: add it to `secrets.yaml`:

```yaml
lfg_water_leak: https://your-anything-alarm-link
```

3. Add a REST command to `configuration.yaml`:

```yaml
rest_command:
  ring_water_leak:
    url: !secret lfg_water_leak
    method: POST
```

4. Restart Home Assistant (or reload YAML), then open **Developer tools** > **Actions**, run `rest_command.ring_water_leak`, and your phone rings.

## Use it in an automation

```yaml
automation:
  - alias: "Water under the sink: ring the house"
    triggers:
      - trigger: state
        entity_id: binary_sensor.kitchen_leak
        to: "on"
    actions:
      - action: rest_command.ring_water_leak
```

Good fits for a ring rather than a notification, because a ring is hard to sleep through:

- **Leaks, smoke and CO** from sensors you already have, ringing everyone in the house.
- **The alarm system arming or tripping** while you are away, ringing you and a neighbour who joined.
- **A freezer or a greenhouse** going out of range overnight.
- **Someone at the door** for a heavy sleeper upstairs, as an alarm instead of a chime.

After a ring, the alarm stays quiet for the time you chose when you made it (from 1 minute to 1 hour), so a sensor that flaps on and off rings once. LFG Alarm is not a monitored security or safety service; keep your real alarms and emergency numbers.

## And setting alarms from Home Assistant?

LFG Alarm's MCP server (https://mcp.lfg.gm) lets an AI agent set alarms with a personal key. Home Assistant's **Model Context Protocol** integration, the one that lets its voice assistant use outside tools, currently connects only over the older SSE transport and signs in with OAuth only, with no field for a key. LFG Alarm's server speaks Streamable HTTP, so the two do not connect today. When Home Assistant's client adds Streamable HTTP and headers, this page will cover it.

## Questions

### Does Home Assistant need my LFG Alarm sign-in?
No. The anything alarm's private link is all it needs. Keep it in `secrets.yaml`; anyone with the link can ring the alarm, and you can replace it from the alarm's page.

### Can one sensor ring several people?
Yes. Share the anything alarm with them as a friends alarm. Everyone on it is rung when Home Assistant calls the link.

### Will it ring on silent?
On Android an anything alarm rings full screen. On iPhone it arrives as a time-sensitive alert with the alarm's sound, so the ringer should be on.

## Learn more

- [How to make any app, script or feed ring your phone](https://lfg.gm/webhook-alarm)
- [The fastest way to get your whole family's attention](https://lfg.gm/family-alert)
- [Connect LFG Alarm to another AI app](https://lfg.gm/agents)

## Sources and further reading

- [Home Assistant: RESTful Command](https://www.home-assistant.io/integrations/rest_command/)
- [Home Assistant: Model Context Protocol (client)](https://www.home-assistant.io/integrations/mcp/)
- [Home Assistant: Storing secrets](https://www.home-assistant.io/docs/configuration/secrets/)

LFG Alarm is not affiliated with Home Assistant or the Open Home Foundation.

## Keep exploring

- [Connect LFG Alarm to your AI app](https://lfg.gm/agents.md): The LFG Alarm MCP server: set alarms from ChatGPT, Claude, Grok, Gemini, OpenClaw and more, and they ring on your phone.
- [Connect LFG Alarm to ChatGPT](https://lfg.gm/agents/chatgpt.md): Add LFG Alarm to ChatGPT with the address mcp.lfg.gm, sign in once, and ask ChatGPT to set alarms that ring on your phone.
- [Connect LFG Alarm to Claude](https://lfg.gm/agents/claude.md): Add LFG Alarm to Claude as a custom connector, sign in once, and ask Claude to set alarms that ring on your phone. Claude Code too.
- [Connect LFG Alarm to Grok](https://lfg.gm/agents/grok.md): Add LFG Alarm to Grok as a custom connector, sign in once, and ask Grok to set alarms that ring on your phone.
- [Connect LFG Alarm to Gemini](https://lfg.gm/agents/gemini.md): Add LFG Alarm to Gemini as a custom app, sign in once, and ask Gemini to set alarms that ring on your phone.
- [Connect LFG Alarm to Perplexity](https://lfg.gm/agents/perplexity.md): Add LFG Alarm to Perplexity as a custom remote connector, sign in once, and ask Perplexity to set alarms.

## About LFG Alarm

LFG Alarm is a social alarm clock for iPhone, iPad and Android. It rings for times and for moments (a post on X, a stream going live, a token price, a wallet buying, an event starting), and one shared link makes every phone that joined ring together. Rocco, the cat inside the app, keeps watch and wakes you up.

- Get it on Google Play: https://play.google.com/store/apps/details?id=gm.lfg.app
- Download on the App Store: https://apps.apple.com/app/id6821089085
- Use it from an AI agent: add the MCP server https://mcp.lfg.gm as a connector, then ask in plain words.
- Every page for agents: https://lfg.gm/llms.txt
