{"id":23882061,"url":"https://github.com/diptadeepray/iot-fire-response-system","last_synced_at":"2026-06-23T05:31:16.767Z","repository":{"id":269543764,"uuid":"907740925","full_name":"diptadeepray/IoT-Fire-Response-System","owner":"diptadeepray","description":"It uses NodeMCU, DHT11, and gas sensors to detect fire risks. It employs MQTT for communication, publishing location-based alerts to a shared topic. Receiver NodeMCUs trigger alarms upon matching locations, ensuring real-time responses even without human intervention.","archived":false,"fork":false,"pushed_at":"2024-12-24T09:32:10.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T01:13:14.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diptadeepray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-24T09:22:04.000Z","updated_at":"2024-12-24T09:32:13.000Z","dependencies_parsed_at":"2024-12-24T11:03:55.861Z","dependency_job_id":"8b99d19f-3c03-4278-a400-09c3ec450a49","html_url":"https://github.com/diptadeepray/IoT-Fire-Response-System","commit_stats":null,"previous_names":["diptadeepray/iot-fire-response-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diptadeepray/IoT-Fire-Response-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptadeepray%2FIoT-Fire-Response-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptadeepray%2FIoT-Fire-Response-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptadeepray%2FIoT-Fire-Response-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptadeepray%2FIoT-Fire-Response-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diptadeepray","download_url":"https://codeload.github.com/diptadeepray/IoT-Fire-Response-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptadeepray%2FIoT-Fire-Response-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34677382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-04T02:37:33.676Z","updated_at":"2026-06-23T05:31:16.745Z","avatar_url":"https://github.com/diptadeepray.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IoT-Based Automated Fire Detection and Alert System  \n\n## Overview  \nThis project automates fire detection and alert systems using IoT technology. It replaces traditional methods of fire reporting, ensuring quick and reliable emergency responses even in the absence of human intervention. The system leverages NodeMCU microcontrollers, environmental sensors, and the MQTT protocol to monitor conditions and trigger alarms in case of abnormalities.  \n\n## Features  \n- **Automated Fire Detection**: Monitors temperature and gas levels using DHT11 and gas sensors.  \n- **Real-Time Alerts**: Sends location-based notifications to receivers for immediate action.  \n- **Scalable MQTT Communication**: Efficient communication using a single MQTT topic for all nodes.  \n- **Localized Alarm System**: Receiver nodes trigger buzzers for the corresponding locations.  \n\n## System Architecture  \n1. **Source Nodes**:  \n   - NodeMCUs (`Source_Beleghata`, `Source_London`) equipped with:  \n     - **DHT11 Sensor** for temperature monitoring.  \n     - **Gas Sensor** for detecting smoke or hazardous gases.  \n   - Publishes location-based messages upon detecting abnormal conditions.  \n\n2. **Receiver Nodes**:  \n   - NodeMCUs (`Receiver_Beleghata`, `Receiver_London`) equipped with buzzers.  \n   - Subscribes to a shared MQTT topic and triggers the buzzer if the location matches incoming data.  \n\n## Communication Protocol  \n- **MQTT Protocol**:  \n  - All nodes are connected to the internet for real-time communication.  \n  - A shared MQTT topic ensures scalability and simplicity.  \n\n## Demonstration Setup  \n1. Nodes:  \n   - `Source_Beleghata` (with sensors)  \n   - `Receiver_Beleghata` (with buzzer)  \n   - `Source_London` (with sensors)  \n   - `Receiver_London` (with buzzer)  \n\n2. Workflow:  \n   - Source nodes detect abnormal conditions and publish the affected location (`\"Beleghata\"` or `\"London\"`) to the MQTT topic.  \n   - Receiver nodes subscribe to the topic and trigger an alarm if the message matches their location.  \n\n## Requirements  \n- **Hardware**:  \n  - 4 NodeMCU boards  \n  - DHT11 sensors (2 units)  \n  - Gas sensors (2 units)  \n  - Buzzers (2 units)  \n\n- **Software**:  \n  - Arduino IDE  \n  - MQTT broker (e.g., Mosquitto)  \n  - Internet connection for NodeMCU devices  \n\n## Installation and Usage  \n1. **Hardware Setup**:  \n   - Connect sensors to the Source NodeMCUs.  \n   - Connect buzzers to the Receiver NodeMCUs.  \n\n2. **Software Configuration**:  \n   - Flash the provided code onto the NodeMCU devices using the Arduino IDE.  \n   - Set up an MQTT broker and configure the nodes to publish/subscribe to the shared topic.  \n\n3. **Testing**:  \n   - Simulate abnormal conditions to test the system.  \n   - Verify that alarms are triggered at the appropriate receiver nodes.  \n\n## Future Enhancements  \n- Integration with mobile applications for remote monitoring and alerts.  \n- Expansion to support additional locations and sensors.  \n- Advanced machine learning algorithms for anomaly detection.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiptadeepray%2Fiot-fire-response-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiptadeepray%2Fiot-fire-response-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiptadeepray%2Fiot-fire-response-system/lists"}