EvacNet
Decentralized Real-Time Fire Evacuation.
Created on 27th March 2026
•
EvacNet
Decentralized Real-Time Fire Evacuation.
The problem EvacNet solves
The Problem It Solves
Traditional fire alarm systems operate on a binary model — they only indicate that a fire exists, but not where it is or how to escape safely. This creates a critical gap during emergencies, especially in large buildings where:
Smoke reduces visibility, making static exit signs ineffective
People instinctively rush toward familiar exits, causing dangerous congestion
Occupants may unknowingly move toward the hazard instead of away from it
Our system, EvacNet, solves this by transforming passive alarms into an intelligent evacuation guidance system.
🚀 What it Enables:
Real-time hazard awareness across multiple zones
Dynamic evacuation routing that adapts as fire spreads
Directional guidance using LEDs and audio cues
Decentralized operation, ensuring functionality even if Wi-Fi or infrastructure fails
🧠How It Makes Things Better:
Converts panic-driven evacuation into guided movement
Reduces evacuation time and prevents bottlenecks
Works in offline scenarios, unlike cloud-dependent systems
Provides a low-cost, scalable solution suitable for schools, hostels, and public buildings
Challenges we ran into
- 🔌 ESP-NOW Communication Issues
Initially, multiple ESP32 nodes were not able to detect each other, even though the code was correct.
Problem:
Each ESP32 was operating on a different Wi-Fi channel, which prevented ESP-NOW communication.
Solution:
Forced all devices to operate on the same channel:
WiFi.softAP("Node_X", "12345678", 1);
This ensured reliable communication across all nodes.
- 🧠Distributed Network Synchronization
Each node only knew about its immediate neighbors, resulting in an incomplete dashboard.
Problem:
No global visibility in a decentralized system.
Solution:
Implemented a gossip-based synchronization protocol, where each node shares:
Its own state
Known states of other nodes
This allowed all nodes to gradually build a complete network view.
- 📊 Blank Dashboard Issue
The web dashboard initially showed no data even when nodes were active.
Problem:
Nodes were not adding their own status to the network table.
Solution:
Explicitly added self-state:
network[NODE_ID].id = NODE_ID;
This ensured at least one visible node and proper UI rendering.
- âš¡ Power vs Responsiveness Trade-off
The MQ-2 sensor consumes significant power due to its heating element.
Problem:
Turning it off saves power but delays detection.
Solution:
Used controlled duty cycling and optimized sampling intervals to balance:
Power consumption
Detection reliability
5. 🔄 Handling Real-Time Dynamic Changes
Fire conditions change rapidly, requiring constant updates.
Problem:
Ensuring real-time routing without central control.
Solution:
Designed a distributed decision model, where each node:
Updates its state
Recalculates decisions locally
This ensured instant adaptation without dependency on a central system.
Tracks Applied (1)
Safety
Technologies used