Home Assistant critical alerts that ring your phone
Home Assistant knows there's water on the basement floor. Getting that to you at four in the morning, from a house with no open ports, is the hard part. Tissue Mast takes an ordinary outgoing HTTPS request from Home Assistant and rings your phone every two minutes until somebody acknowledges it.
Make an alert source in the Mast Pager app, put its URL in secrets.yaml, and add a rest_command that posts to it. No custom integration, no Tissue Mast account and nothing reaching into your house. A heartbeat on a second URL pages you when Home Assistant itself goes quiet.
Send a page from Home Assistant
Install Mast Pager on your iPhone or Android phone, tap New alert source and call it house. The app gives you a send URL. Anyone who has it can ring your phone, so it goes in secrets.yaml:
# secrets.yaml mast_url: "https://mast.tissue.dev/mk_8e2ab3c4d5e6f708192a3b4c5d6e7f8091a2b3c4"
Then two commands in configuration.yaml, one to page and one to close the page when things are fine again:
# configuration.yaml
rest_command:
# Rings until somebody acknowledges it on the phone, or it expires.
mast_page:
url: !secret mast_url
method: post
content_type: "application/json"
payload: >-
{{ {"title": title,
"body": body | default(""),
"priority": "page",
"key": key,
"expire": expire | default(1800)} | to_json }}
# Closes the page with this key and turns the card green.
mast_resolve:
url: !secret mast_url
method: post
content_type: "application/json"
payload: >-
{{ {"title": title | default("Resolved"),
"body": body | default(""),
"resolve": "1",
"key": key} | to_json }}
Restart Home Assistant, or reload REST commands from Developer tools → YAML. Run rest_command.mast_page once from Developer tools → Actions with a title and a key, and the phone starts ringing. to_json does the quoting, so a body with an apostrophe or a temperature in it can't break the request.
A leak automation that pages
automation:
- alias: Water in the basement
mode: single
triggers:
- trigger: state
entity_id: binary_sensor.basement_leak
to: "on"
for: "00:00:30"
actions:
- action: rest_command.mast_page
data:
title: Water in the basement
body: "Leak sensor by the water heater. Main valve closing in 60 seconds."
key: leak-basement
- delay: "00:01:00"
- action: switch.turn_off
target:
entity_id: switch.main_water_valve
- alias: Basement dry again
triggers:
- trigger: state
entity_id: binary_sensor.basement_leak
to: "off"
for: "00:05:00"
actions:
- action: rest_command.mast_resolve
data:
key: leak-basement
title: Basement dry
body: Sensor has been clear for five minutes.
rest_command.mast_page with three fields.for: "00:00:30"- The sensor has to stay wet for thirty seconds, so a loose lead that flickers doesn't fire anything.
key: leak-basement- Names the situation. Sends with the same key inside five minutes merge into the card already on the phone instead of ringing again. Mast never groups pages on its own, so on a page the key is what stands between a flapping sensor and a very long night.
mast_resolve- Stops the ringing and the escalation, and the card says how long it was open. If nothing was open, the resolve lands as a silent note.
These use the triggers: and actions: spelling from Home Assistant 2024.10. On older versions write trigger:, action: and service:.
Make it ring through silent mode
A page arrives as a time-sensitive notification, which gets through Focus and Sleep. To ring through the silent switch as well, turn on Critical Alerts for Mast on the iPhone, from the app's Settings. On Android, give it Do Not Disturb access. The app shows whether a page could go unheard and links the settings that decide it.
Each alert source also has a highest level, set on the phone. A send asking for page on an alert source capped at loud arrives as loud, and the answer to the send says "capped": true. If a page comes in quietly, check that first, then send yourself a test from the app with the phone face down and the ringer off. The full checklist is in making a page wake you.
Get paged when Home Assistant goes down
An automation can't tell you that the Pi died or the power went out, because nothing is left to run it. A Mast heartbeat turns that around: Home Assistant beats it on a schedule, and Mast pages you when the beats stop.
In the app, tap New alert source and pick Heartbeat. A new heartbeat expects a beat every hour with ten minutes of grace. It gets its own URL:
# secrets.yaml
mast_heartbeat_url: "https://mast.tissue.dev/mk_1c9f…"
# configuration.yaml
rest_command:
mast_heartbeat:
url: !secret mast_heartbeat_url
method: post
automation:
- alias: Tell Mast Home Assistant is alive
triggers:
- trigger: time_pattern
minutes: "/15"
actions:
- action: rest_command.mast_heartbeat
With those defaults you hear about a real outage within about seventy minutes and nothing about a routine restart. To hear sooner, shorten the period on the heartbeat, but keep the grace at three or four beats, because an update night takes Home Assistant away for a few minutes. When it comes back, the next beat closes the page and the card shows how long the silence lasted. Cron job monitoring covers heartbeats for everything else on the network.
The companion app and Mast side by side
Keep the Home Assistant companion app. It does rich notifications with images and buttons, and its critical notifications ring through silent mode too. Mast is a second path for the alerts that need a person to answer:
| Companion app | Mast | |
|---|---|---|
| After it's sent | One notification | Rings every two minutes until acknowledged or expired |
| Acknowledging from outside the house | A button tap goes back to your Home Assistant, so it needs remote access | The phone talks to Mast, so it works from any network |
| Home Assistant is down | Nothing is left to send | A heartbeat pages you |
| Limits | 500 pushes per device per day, reset at midnight UTC; critical ones don't count | 60 requests a minute per send key |
| Somebody else on call | No | Rotations and escalation on Team, and phone calls on Team and Company |
A good split: the washing machine and the doorbell go to the companion app, and the leak, the freezer and the UPS on battery go to Mast. A script can send to both at once.
Act on the acknowledgement
Mast records who acknowledged a page and when, and Home Assistant can read that back. The leak automation can wait ten minutes for a person and close the valve only if nobody answers.
In plain YAML that's a polling loop on the message's status; the reference page has the full automation. The Mast integration for Home Assistant does it for you. It installs from HACS as a custom repository on Home Assistant 2025.8 or later, and its mast.page action returns the acknowledgement straight into the automation.
An alert source needs only the app, with no Tissue Mast account. A free account adds ten heartbeats and up to five people. Team is $29 a month for 250 heartbeats, rotations, escalation and phone calls.