Check-in automation builder
The daily-rhythm check-in from our aging-in-place series is one automation: at the check time, if the kitchen sensor has seen nobody since early morning, send an alert the resident can answer. Fill in your sensor and your family’s notification target and this builder writes both halves — the check-in automation and the acknowledgement handler — as paste-ready Home Assistant YAML. It is awareness tooling, not a medical alert system; the guide explains the difference and the design rules (consent, a pause switch, a curated family dashboard) that should ship with it.
Private by design. Everything on this page runs locally in your browser. Nothing you type — including entity names — is uploaded or sent anywhere.
Your check-in
A mmWave presence sensor is the right witness — it sees someone sitting still. Find the entity ID in Home Assistant under Settings → Devices. A motion sensor works, with more false alarms.
A notification group fans one alert out to several phones. Individual phones look like notify.mobile_app_<device>. The acknowledgement button works with the Home Assistant Companion apps.
1 — The check-in automation
2 — The acknowledgement handler
Paste both into automations.yaml (or create them via Settings → Automations → Edit in YAML). Test with the automation’s “Run” action on a quiet morning before the routine goes live — and build the privacy-mode pause from the guide alongside them.
How it works
The first automation triggers on the clock, then checks the sensor’s last_changed timestamp: if the presence sensor has been off — and unchanged — since the early-morning cutoff, the ordinary morning has not happened, and the alert goes out with an “I’m up” action button attached. The second automation listens for that button’s event (mobile_app_notification_action) and tells the family the check-in was answered, so the alert closes instead of escalating in everyone’s heads. Two design notes from the guide belong with the code: the alert’s meaning is “make the call,” not an emergency declaration — sensors miss, routines change, people sleep in — and the system should include the resident’s pause switch from day one. The pattern, the sensors, and the family-access caveats are the check-in guide’s subject; the framing for the whole cluster is the overview.
- Lighting and simple controls — the other half of the resident’s day.
- Stove and utility safety — protection that acts on-device.
- Aging in place hub — the whole cluster.
Frequently asked questions
Why check last_changed instead of just the sensor’s state?
Because “off right now” is true at 3 a.m. too. The check-in’s question is whether the morning routine happened at all, which is a question about the sensor’s history: no presence registered since the early cutoff. last_changed is exactly that timestamp.
What if the resident is simply out early?
Then the alert fires and the acknowledgement — or the family’s phone call — resolves it in a minute. Design the routine so a false alarm is a small, kind event: that is what keeps everyone trusting the real ones. A person-presence condition (nobody home) can suppress the alert on known-away days.
Does the acknowledgement require the resident to have a phone?
The button rides the Home Assistant Companion app, so yes for that path. The voice path needs no phone: an Assist satellite can take “I’m up” spoken aloud and fire the same event — the guide covers the local voice pipeline.
Is this a medical alert system?
No. It notifies family that a routine did not register; it does not detect falls, reach a monitoring center, or dispatch help. If that service is what the situation calls for, it is a subscription product that lives alongside this system, and the overview guide says so in its first box.
Related guides & tools
- Daily-rhythm check-ins
- ESPHome YAML generator — for the presence sensor itself.
- The family command center

