PyroSense
A smart fire detection system: an ESP32 sensor, cloud alerts and a mobile app with a full-screen alarm and push notifications.

An illustrative 3D model made for this portfolio. See the screenshots for the real thing.
Screenshots
Overview
PyroSense combines custom ESP32 firmware with a cloud backend and an app to detect smoke, gas and rapid heat rise, then alert the owner in real time, including a full-screen alarm on Android.
Problem
A basic smoke alarm can only warn people who are close enough to hear it, and false alarms from cooking teach people to ignore it.
Solution
Sensor readings are filtered and confirmed on the device before an alert goes out, then pushed to the owner's phone. Cooking mode and hush controls reduce false alarms.
Architecture
ESP32 firmware reports to Firebase Realtime Database. Cloud Functions send push notifications and watch for devices going offline. The app is built with React, Three.js and Capacitor, with an earlier Flutter version kept as legacy.
Stack
Key features
- MQ-2 smoke and gas sensing with BME280 temperature and humidity
- Dual-core firmware, so network problems can't stall the siren
- Alerts sent only after a 3-second confirmation
- Rate-of-rise heat alarm, cooking mode and hush
- Virtual device for testing real alerts without hardware
Security notes
- Each device has its own account and is paired using a claim code
- Database rules are tested in the Firebase emulator
- Firmware builds are signed
- Push alerts go only to the device owner
