SmokeTrace is an Internet of Things (IoT) solution to protecting the home against fire accidents. The project was conceptualized in line with achieving the UN Sustainable Development Goal 11: Make cities and human settlements inclusive, safe, resilient and sustainable.
The system comprises an MQ-2 Gas Sensor connected to an ESP-32 microcontroller that interacts seamlessly with the SmokeTrace API on the cloud. The system incorporates various actuation components, including a persistent buzzer alarm and SMS alerts sent to a user's phone number, which are triggered in response to a consistently high presence of smoke in the area. Furthermore, smoke readings and sensor status reports are collected in a database and presented through the SmokeTrace web app's dashboard.
The SmokeTrace dashboard provides an interface for users to view a graph of smoke readings in real-time, as they are collected by the sensors. In addition to this, significant events such as severe smoke readings, device disconnection and SMS alerts are collected in an incident log.
Below is a sample of the dashboard during the project's active period:
The SmokeTrace API and the web app are both hosted through Deno Deploy. The smoke reading, device status and phone number databases are hosted on Google's Firebase platform. The web app is written in TypeScript with the SvelteKit framework. The SMS alert functionality is powered by the Semaphore SMS API.
SmokeTrace was completed in June 2023 as a capstone project for the CS 145 (Computer Networks) course of the Department of Computer Science, University of the Philippines, Diliman, and presented at the annual IoT Cup held by the department.
This project was a month-long collaborative endeavor undertaken by the dedicated SmokeTrace team:
- Ellis Caluag (@Dox-Dev)
- Angelica Raborar (@Anjellyrika)
- Hans Salazar (@Hascion)
- Erick Sarenas (@Clawber)
- Aaron Jude Tanael (@eyronjuude)