Header Ads

IOT ARCGIS Project ESRI : Fire Detection Alert with Incident Location Routing & Fire Cause Analysis

Whole Project Schematic Diagram
Fires are one of the most widespread disaster which causes loss of life and property. Instant alerting of fire breakage to incident location owner and also alerting fire department about incident is necessary to ensure immediate action. Using a well-equipped with latest technologies can't avert the situation but can mitigate it's impact. Every minute can save many lives in such situations. So here we propose an Arc-GIS and IOT based automatic system for fire and gas leakage. The system includes IOT based fire detecting device which uses Sensors along with ESRII ArcGIS map to efficiently detect emergency hazard location, firstly send a push notification to location owner (eg: house owner)
and if fire breakage is very high it can send a notification to fire-brigade app along with Incident Address, Owner  Contact no, Fire Type, and exact LATITUDE/LONGITUDE. Lat/Long of Incident location can help Fire-brigade driver find a shortest route from his current location to incident location.

Project Demo : 

If you like videos like this consider donating $1, or simply turn off AdBlocker. Either helps me to continue making tutorials.

Hardware Requirements :

  • Arduino Node MCU ESP8266
  • GPS SENSOR (Optional)
  • LED
Circuit Diagram
Once, connections are done it's time to burn code in our Arduino Node MCU, directly copy paste the code given below and for getting more info about connecting Arduino nodemcu with firebase check out our previous post .

#include <FirebaseArduino.h>
#include <ESP8266WiFi.h>
// Set these to run example.
#define FIREBASE_HOST "esri.firebaseio.com"
#define FIREBASE_AUTH "qULRQbnuzJ3q-------------tpXic1UQ1FxHvM"
#define WIFI_SSID "kavin"
#define WIFI_PASSWORD "12345678"
void setup() {
// connect to wifi.
while (WiFi.status() != WL_CONNECTED) {
Serial.print("connected: ");
void loop() {
// set value
int n=0;
// append a new value to /logs
String name = Firebase.pushInt("logs", n++);
// handle error
if (Firebase.failed()) {
Serial.print("pushing /logs failed:");
Serial.print("pushed: /logs/");

Once the code is uploaded successfully, we are done with Hardware part now we are just left with two steps i.e. Fire brigade Android App & Python Script for sending automated push notification, let's check out features of android app.

Features of Android App :

  • Real Time Push Notification on App in case of fire disaster.
  • Get Exact Lat/Long with Incident Address, Owner Contact no.
  • A shortest path route from fire brigade driver current location to incident location.
  • Automatic sensor reset after stopping fire breakage.
  • Fire Incidents Cause Analysis for further Heat Map creation.    

Get Android App Source Code Here .

Setting Up Push Notification :

For setting up the push notification here we need to create a python script which will help in sending automated push notification. Let's have a look on back-end part -

Once sensor in our fire detecting device detects fire it just produce a local alert by turning on the LED as well Buzzer if any, on the same time it also changes the value of variable "Fire_sensor_status" in fire-base database. As, firebase is cross platfrom database and our android app as well as our python script will connect to firebase database.

Python script uses Pyrebase Library streaming function for  listening to live changes to our data " Fire_sensor_status "with the stream() method. If "Fire_sensor_status" value changes from "0" to "1" it will send push notification to our android app. 

check out previous post for setting up automated push notification as sensor alert to android app .

Python script code here .

Wrapping Up :

That's end up IOT ArcGIS Project, this project can be extended up to a level currently it's just a prototype, if you guys facing any issues please comment out,  i really like to help you out. :) 


  1. Can this function done with Other Arduino Micro-controllers like Arduino Mega?

  2. empowered meandering (in the event of an alternate nation) and no PIN code relationship with SIM.phone tracker app

  3. How do I install the app?

  4. On account of the normal degree of value wanted by the Fire Wellbeing Request the work of an advisor is exceptionally suggested.ציוד כיבוי אש כרמיאל

  5. The article was up to the point and described the information very effectively. Thanks to blog author for wonderful and informative post.
    Fire Alarm Security System

  6. This is such a great resource that you are providing and you give it away for free. Fire alarm systems

  7. This is a good post. This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works יועץ בטיחות בניין

  8. To be honest, it’s such a powerful language that almost everything can be created with Python! That’s why it is used by YouTube, Instagram, Netflix and even Quora! This programming language surprises and amazes me almost everyday. Thanks for sharing~ Charlotte W. from iot software development

  9. I love the way you write and share your niche! Very interesting and different! Keep it coming! buy instagram likes fast delivery cheap

  10. You produced some decent points there. I looked over the internet for that issue and discovered most people is going along with together with your website. https://royalcbd.com/product/cbd-roll-on-gel/


Powered by Blogger.