Home automation field notes All concepts

notifications

Alerts you will still trust in a year

The rules that keep a notification worth reading a year later: cooldowns, evidence, and the discipline to say nothing when nothing has changed.

The failure mode of a mature automation system is not silence. It is a stream of notifications you have trained yourself to swipe away from the lock screen without reading, and one of them, eventually, was the one that mattered.

A notification is a small tax on someone's attention. Charge it too often and they stop paying; the phone goes on silent and the one alert that mattered joins the pile. Everything on this page is about keeping the tax low enough that people keep paying it a year later.

Pick thresholds from your own data

A threshold chosen by feeling is either too tight (you mute it) or too loose (it never fires). Both are useless, and you cannot tell which you have without measuring.

Before setting a limit, pull the actual distribution out of your history. How long do the gaps between events really run? What is the tail? Then choose a value past the tail you are willing to be woken for, and write the measurement into the comment so the next person, probably you, knows it was derived rather than guessed.

A worked example. A pollen alert fired on every upward crossing of a threshold. The underlying forecast oscillated across that boundary hourly, so a real sequence produced three notifications in eight hours, two of them in the middle of the night. Nothing was wrong with the sensor. The rule simply had no concept of persistence.

Three cheap controls that fix most noise

Applied to the pollen example, those three turned three notifications, two nocturnal, into one, in the morning, on the same underlying data.

Advice needs to know where you are

This system watches two dwellings in two countries. The ventilation advisor compared indoor and outdoor dew points, decided a cross-breeze would help, and told me to open the windows. The physics was right. The windows were five hundred kilometres away.

A notification that informs can travel anywhere. A notification that instructs a physical action is only useful if the hands it addresses are in the same building as the handle, so it must be gated on presence, in this case on which city's zone the phone is in. The quiet-hours question above generalises: not just "what can the recipient do at 3 a.m." but "what can the recipient do from here".

Let the repair outrun the page

If something self-heals, alerting before the repair has had a chance to run is pure noise. Work out the worst-case recovery time and set the alert threshold beyond it. Then the only things that reach you are faults the automatic recovery could not fix, which is exactly the set you can do something about.

Escalate by consequence, not by loudness

Not every alert deserves the same channel. A useful hierarchy:

KindRoute
Informational, you would like to know eventuallyNormal push, quiet hours apply
Actionable, do something todayNormal push, no quiet hours
Safety or property, minutes matterPush plus a second, independent channel
Beware "success" from a broken channel. Grouped notification targets in some platforms fan out to members without re-raising failures, a dead member returns success to the caller. A watchdog whose only delivery path is a group like that can go silent without any error appearing anywhere. Give anything safety-critical a second, independent route.

Make silence legible

The final and least obvious piece. When an alert does not arrive, you cannot tell whether nothing happened or the alerting broke. Two habits fix that:

The best alert in this house is the one that has never fired. The second best is the one that fired once, was right, and then had the decency to stop.

The measure of a good alerting setup is not how much it catches. It is whether you still read the messages after a year.