Skip to content
Aaryan Patwardhan
← All work
PrototypeSystems · Backend · Full-Stack

Aura — attendance from campus Wi-Fi

Turns Wi-Fi accounting events into attendance records — no student app. A working prototype driven by a simulator.

Pipeline
  • AI model
  • Deterministic rule
  • A person reviews
  • Not working yet
  1. inputWi-Fi events (simulator)
  2. serviceFastAPI ingestion
  3. storageRedis Streams
  4. AI modelAttendance rule + Isolation Forest
  5. outputPostgreSQL + dashboard

The problem

Manual registers are signed by friends and QR codes are shared in seconds. Campus Wi-Fi already knows which authenticated users are connected to which room's access point.

Approach

Use RADIUS accounting events (Start / Interim-Update / Stop) from the Wi-Fi controller as the signal, keyed on the 802.1X-authenticated user name rather than the device's MAC address.

Architecture

A simulator generates RADIUS accounting events from scenario files. FastAPI ingests them, keeps live sessions in Redis, and a worker consumes a Redis Stream to finalise sessions: minutes present, a 75% attendance rule, and an Isolation Forest anomaly score, written to PostgreSQL. React dashboard; everything runs with Docker Compose.

Results and limits

Runs end to end with the simulator. Honest limits: the anomaly model is trained on synthetic data, the integrity flag in the demo comes from the simulator, there is no login or role-based view yet, and no real Wi-Fi controller has been connected. Performance has not been benchmarked.

RADIUS events → FastAPI → Redis Streams → PostgreSQL
RADIUS events → FastAPI → Redis Streams → PostgreSQL