Inspiration

Shared indoor spaces like classrooms, offices, libraries, and auditoriums often keep lights, fans, and cooling equipment running in empty areas because switching is manual or room-wide rather than zone-aware. SmartZone (initially explored under the concept name Smart Off) was inspired by the goal to power only where people are—reducing avoidable electricity waste while keeping comfort high for people who are actually present.

What We Built

We built a software prototype and deployment pipeline for SmartZone, an AI-powered IoT concept for occupancy-based, zone-level energy management:

  • Interactive Room Simulation & Dashboard: A live web dashboard featuring a simulated four-zone Room 101 with light rows, fans, and AC, along with zone occupancy states and estimated energy savings compared to a standard room-switch approach.
  • Backend & Storage: A FastAPI backend with SQLite storage, tested and running live.
  • Firmware & CI/CD: ESP32 / embedded C++ firmware and zone-control logic compiled and tested via GitHub Actions, with automated testing, deployment, and health checks triggered on pushes to main.
  • Architecture & Roadmap: Designed around LD2410 mmWave presence sensors (to detect even seated or still occupants), ESP32 edge controllers, relay modules, and a planned LLM assistant (using the Claude API) to explain consumption changes, flag anomalies, and recommend schedules in plain language.

Challenges We Faced

  • Accurate Presence & Zone Calibration: Designing reliable zone-wise presence detection and tuning off-delay logic (proposed at 5–10 minutes) across different room layouts without nuisance switching.
  • Hardware & Safety Considerations: Coordinating sensor, ESP32, and relay integration while keeping safety and low-voltage testing front of mind ahead of any physical room pilot.
  • Bridging Simulation and Real-World Validation: Separating the completed interactive web simulation and backend/CI pipeline from pending physical hardware assembly, a one-week real-room baseline-vs.-SmartZone energy audit, and the planned LLM insights layer.

What We Learned

  • Breaking a large space into occupancy zones and pairing presence sensing with smart switching logic makes energy savings much more targeted than whole-room controls.
  • Automating builds, tests, and health checks with GitHub Actions helps keep the web simulation, API, and firmware workflow organized as the hardware pilot progresses.

Built With

Share this project:

Updates

Submission history