How do I send a notification to my phone from Home Assistant?
Add a rest_command that POSTs to Lert and call it from any automation. Download the app, copy your link, drop a few lines in configuration.yaml, and your phone buzzes when a sensor fires. No account, no API keys, no SDK.
Home Assistant already knows how to make outbound HTTP calls through its rest_command integration, so you don't need a companion-app push or a cloud relay to reach your own phone. Because your Lert link is the credential, there's no token to store in secrets and no integration to authorize — you define one command and call it like any service.
The entire setup — under 30 seconds
- Download the app. Open it once. There's no account to create, and your private link is waiting on screen.
- Copy your link. One tap copies something like
https://lert.dev/p/your-id. - Add a rest_command. Paste the YAML below, reload, then call
rest_command.lertfrom any automation.
Then your phone buzzes — instantly, even locked in your pocket.
The configuration
rest_command: lert: url: "https://lert.dev/p/your-id" method: POST content_type: "application/json" payload: '{"title":"{{ title }}","body":"{{ body }}","tag":"home"}' # then in an automation: action: - service: rest_command.lert data: title: "Front door" body: "Motion detected at {{ now().strftime('%H:%M') }}"
Call the service from any trigger — a door sensor, a temperature threshold, a leak detector — and pass in a title and body. If you'd rather shell out, a shell_command that runs curl against the same link works identically.
Why it's this simple: no companion app token, no webhook add-on, no cloud subscription. One rest_command reaches your phone directly, and it keeps working whether you're home or away.
Related things people automate
- Get notified when an API goes down
- Get notified when disk space is low
- The easiest way to notify from anywhere
- Server monitoring notifications
- Notify when a scheduled job runs
It's free for one channel and 50 notifications a day; Lert Pro is $2.99/month for unlimited. See the docs for the full API, or the answers index for more recipes.
Send your first one in 30 seconds.
Download Lert, copy your link, POST to it. Your phone buzzes.