Home Care Agent

Local-first elder care safety net for Home Assistant — panic button, door watch, environment alerts, night path, and an optional local AI family digest. No cloud, no cameras, no subscription.

View the Project on GitHub eclexdex/home-care-agent

The Care Net Model — event, meaning, response

Every rule in this repo is a transition: something happens (event), a guard decides whether it matters (guard), the house responds (response), and the response means something to a human (meaning). The meaning column is the contract. A rule that cannot state its meaning in one honest sentence is not a rule for this repo.

Household arming states

The whole system lives in two states, plus one override that is reachable from both at any time. Transitions belong to the care recipient alone — there is no remote arming, no scheduled arming, and the agent never calls any service, so nothing outside a physical button can change state.

                                   HOME
                          (default; calm; door_watch is
                           deaf by design; night_path and
                           env alerts live)
                                │        ▲
              press button ─────┘        └───── press button
              (door-side)                  (door-side)
                                ▼        │
                                   AWAY
                          (armed; door_watch LIVE;
                           everything else unchanged)

        panic button ──▶ PANIC  (reachable from HOME and AWAY alike;
                                 no guard, no arming required)

        ┌─────────────────────────────────────────────────┐
        │ PANIC: siren + lights + immediate family relay  │
        │        — then the system returns to whatever    │
        │          state it was in. Panic arms nothing.   │
        └─────────────────────────────────────────────────┘

State helpers the automations expect: input_boolean.home_away (off = HOME, on = AWAY) and input_boolean.battery_low_sent (housekeeping latch).

The five automations as transitions

1. health_panic — the repo’s reason for existing

2. home_away — the resident owns the mode

3. env_alerts — the house watches the house

4. night_path — light, not logs

5. door_watch — deaf unless you armed it

The agent’s cadence

The optional agent reads; it never acts (read-only token, no service calls — see agent/README.md). Its output has exactly three rhythms:

Anything the agent would want to say outside these three rhythms is, by design, something it does not get to say.

Silence is not data

State it plainly, because this is where care systems go wrong:

This section is a covenant clause, not a style preference. A pull request that turns silence into a signal — presence “scores,” activity “baselines,” sleep “trends” — violates the model regardless of how useful it looks, and the T-test in CONTRIBUTING.md exists to catch exactly that.