Connection lost — attempting to reconnect…
--:--:--
-- --- ----
WiFi — Firebase —
--

Dashboard Overview

Live snapshot of every sensor in your smart home. Last updated .

Recent Alerts

View all

System Health

Live Monitoring

Every raw sensor reading, streaming directly from Firebase Realtime Database.

Analytics

Trend of the last 20 readings for each core sensor.

Temperature (°C)

Humidity (%)

Gas Level (Area)

WiFi Signal (RSSI)

Current Readings (Bar)

Sensor Status Mix (Doughnut)

Alert Types (Pie)

Temperature vs Humidity (Line)

Alert History

Every alert ever recorded, newest first.

Alert IDTypeSeverityStatusCreated ResolvedEmailTempHumidityGas %Flame

Lightning Detection

AS3935 lightning sensor — strike distance, energy, and disturber/noise filtering, streaming live from Firebase.

Lightning Event Log

0 events
EventTypeDistanceEnergyInterrupt SourceDevice Uptime

Settings

Configure notification recipients and alert triggers.

Email Recipients

Notification Triggers

Email Notifications
Master switch for all alert emails
🔥 Fire Alerts
⛽ Gas Alerts
🌍 Earthquake Alerts
🌡 High Temperature Alerts
💧 High Humidity Alerts

Device Information

ESP32 node status and connectivity health.

System Health

About

S.E.N.T.I.N.E.L

Sensor-based Environmental Network for Telemetric Intelligence, Notification and Emergency Logging

S.E.N.T.I.N.E.L is an ESP32-based, FreeRTOS-driven real-time home monitoring and early-warning platform. It continuously watches for fire, gas leaks, seismic activity (earthquakes), lightning strikes, abnormal temperature/humidity, and soil moisture — giving on-the-spot RGB and buzzer warnings at the device itself, streaming every reading live to this dashboard over Firebase, and automatically emailing the people you configure the moment a real threat is detected.

ESP32 + FreeRTOS Firebase Realtime Database Cloud Functions (Email) AS3935 Lightning Sensor RGB Status LED Passive Buzzer Chart.js

Core Features

🔥 Fire Detection
Flame sensor with debounced sensing, instant alarm on detection.
⛽ Gas Leak Detection
MQ2 gas sensor with moving-average filtering and consecutive-reading confirmation to avoid false alarms.
🌍 Earthquake / Vibration Detection
SW420 vibration sensor with windowed event counting to distinguish real seismic activity from a single bump.
⚡ Lightning Detection
AS3935 sensor reports strike distance, energy, and filters out disturbers/electrical noise.
🌡 Temperature & Humidity
DHT11 sensor with invalid-reading rejection; alerts on abnormally high values.
🌱 Soil Moisture & Auto Irrigation
Hysteresis-based pump control keeps soil moisture in range automatically, with a safety lockout during gas/fire alarms.
🌙 Day/Night Automation
LDR-driven night light with hysteresis to avoid flicker at dusk/dawn.
📊 Live Cloud Sync
All sensor data streams to Firebase Realtime Database and updates this dashboard instantly.

RGB Status LED — What Each Color Means

Color / PatternMeaning
🟢 Solid GreenEverything normal — all sensors healthy, WiFi and Firebase connected.
🔵 Solid CyanIrrigation pump is currently running (soil was dry).
🟣 Solid PurpleFirebase upload error — device is online but cloud sync is failing.
🔴 Solid RedWiFi disconnected — device is offline and reconnecting automatically.
🟠 Blinking OrangeFire alarm active — flame detected.
🟡 Blinking YellowGas leak alarm active.
🔴 Fast Blinking RedEarthquake alarm active — sustained vibration pattern detected.
⚪ Fast Blinking WhiteLightning strike just detected nearby.
⚪ Solid WhiteDevice is booting up.

Buzzer Tone Guide — What Each Sound Means

Sound PatternAlarmMeaning
Fast repeating beep (~2200 Hz)🔥 FireHighest priority — flame detected, evacuate and check immediately.
Two-tone rising/falling siren (800↔1200 Hz)⛽ Gas LeakGas concentration has crossed the safe threshold — ventilate and shut off the gas source.
Triple short beep burst, then pause (~1500 Hz)🌍 EarthquakeSustained vibration pattern detected — treat as possible seismic activity.
Single sharp beep (~2500 Hz)⚡ LightningA nearby lightning strike was just registered by the sensor.
Silent✅ NormalNo active alarms — everything is operating normally.

Only the highest-priority active alarm plays at a time (Fire > Gas > Earthquake > Lightning), so the sound you hear always tells you the most urgent thing happening right now.

How to Use This Dashboard

Dashboard
One-glance overview of every sensor, recent alerts, and overall system health score.
Live Monitoring
Every raw sensor value streaming directly from Firebase in real time.
Analytics
Trend charts for temperature, humidity, gas, WiFi signal, and alert distribution over the last 20 readings.
Alert History
Search, filter, export (CSV), or print every alert ever recorded, with full sensor snapshots.
Lightning Detection
Dedicated view for the AS3935 sensor: strike distance, energy, and a full event log.
Settings
Set your email recipients and toggle which alarm types should trigger an email.
Device Information
ESP32 node health — WiFi/Firebase status, signal strength, memory, uptime, and IP address.
Notification Bell
The bell icon in the top bar lights up and toasts pop up the instant a new alert arrives.

How Email Alerts Work

Whenever the device detects a new fire, gas, earthquake, high-temperature, or high-humidity condition, it writes an alert record to Firebase with a full snapshot of every sensor reading at that moment. A Firebase Cloud Function watches for these new records and automatically sends a formatted HTML email — including the alert type, severity, and the sensor snapshot — to the addresses configured on the Settings page.

1. Configure Recipients
Add up to three email addresses (primary, secondary, security) under Settings.
2. Choose Triggers
Turn individual alarm types on or off, or use the master switch to disable all emails at once.
3. Automatic Delivery
The Cloud Function sends the email the moment a new alert is written — no manual action needed.