Pattern
Device health
Separate uptime, service health, data freshness and physical conditions so one green signal cannot hide another failure.
Decision flow
context→evidence→state→action→auditRules
- Device online and camera streaming are separate states.
- Show the last observed heartbeat as an absolute or relative time.
- Label delayed, stale and offline transport states independently of health severity.