Skip to content

Presence Engine Architecture

From presence-detection-engine/docs/ARCHITECTURE.md:

  • On-device processing on ESP32 (no cloud dependency).
  • Z-score normalization for still-energy readings.
  • 4-state machine with debouncing to reduce false positives.
  • Runtime tuning through Home Assistant entities.

docs/ARCHITECTURE.md and docs/presence-engine-spec.md describe:

  • Phase 1: Z-score detection + hysteresis
  • Phase 2: Debounced 4-state machine
  • Phase 3: Automated calibration + change-reason telemetry
  • presence-detection-engine/docs/ARCHITECTURE.md
  • presence-detection-engine/docs/presence-engine-spec.md