Admin

Alert rules engine

Fire each rule against the current session to verify the outbound family email. Three successful POSTs produce three emails — recipients are routed by the proxy, deduped at the layer above. Air-quality within bounds produces no email.

Test scenarios
Each POST hits /api/alerts/evaluate with the right envelope; an in-range air reading returns within-bounds without firing an email.
Loading sensor registry…
Pick a scenario above; the response JSON will appear here.