MettleSense™ Beacon · Personal Location Intelligence
An independently developed, zero-telemetry location intelligence engine running continuously 24x7 on a private Amazon Lightsail instance. Beacon turns raw, intermittent GPS updates from mobile devices into structured family safety insights — unlimited geofences, one-touch SOS, a pattern learner that flags unfamiliar routes, and real-time alerts on both WhatsApp and Telegram.
A demonstration of MettleSense™ Beacon's live travel engine in operation, showcasing geofencing crossings, active cron watcher dispatches, and automated Telegram bot messages.
An iPhone can watch at most 20 regions per phone. Beacon keeps that layer for the few places that must wake the phone — home, office, college — and adds a second, server-side layer with no limit at all. Every ping during a journey is matched against any number of landmarks, malls, junctions and stations, and announced as approaching, at or passed.
An SOS can be raised from the dashboard (hold for two seconds) or straight from the iPhone — the Action Button, Back Tap or Siri — without opening anything.
| Rule | What happens |
|---|---|
| Repeats | The alert goes out every minute, with one-tap "I am safe" and "Mark safe" buttons |
| Who ends it | The person can say they are safe, but only a family member marking them safe ends the SOS |
| Tracking | The phone switches to high-frequency tracking for the duration, with battery safeguards so it never drains a low phone |
| Return to normal | Confirmed from the phone's own next ping, never assumed from a command being sent; if it does not return, the family is told |
| History | Every SOS is kept: who, when, where, how it was raised, and who closed it |
Beacon builds a travel memory for each person from their own history: the roads they use, the places they stop and the times they usually leave. A stretch of road counts as known once it has been travelled on two different days. During a journey every ping is compared with that memory using deterministic rules — no LLM, nothing invented — and every alert ends with what to do and by when.
Flags a journey that leaves known roads, including one that surfaces somewhere new after a stretch with no GPS.
A halt somewhere that is not a known stop or a saved place, with how long it has lasted.
Silence mid-journey, with the last place it was seen — and a longer allowance when the evidence says metro.
Metro rides are identified from 283 Delhi NCR stations, never guessed from speed alone.
Rather than cluttering the screen with static dots, Beacon clusters GPS coordinates into discrete transits (legs) split at 25-minute gaps. Paths leading toward Home are dashed, while outbound paths remain solid. High-uncertainty metro coordinates are filtered to terminate cleanly at subway entrances, resuming at surfacing.
Beacon avoids constant animations or radar sweeps. It tracks transit state using a minimalist holding position interface ("Hold Short"), prioritizing active alerts over battery-draining visual loops. Opening the panel automatically focuses on the active traveler by selecting the device with the most recent open journey.
Beacon queries localized ambient conditions server-side. It reports the Indian CPCB Air Quality Index, PM2.5/PM10, temperature, and Route congestion indices directly on the target's marker card. All integrations are cached server-side to protect API quotas.
Beacon operates entirely without a public app portal or accessible APIs. Alerts reach the family on both WhatsApp and Telegram. Telegram goes to `@Mbeaconbot`, secured for allowed chat IDs. To prevent name leakages or configuration anomalies, device ID to human name translation happens exclusively inside the notify.send() chokepoint.
Left home, reached college or office, left college or office, reached home — sent to the rest of the family through Meta-approved message templates, each at most once a day. A departure is only announced once it is certified as a real one, not a stray movement.
The Telegram bot automatically dispatches warnings for device silences, battery drain thresholds, fence departures, and transitions. Allowed chat IDs can query historic intervals and name roads on the fly.
Quick actions let family members request immediate logs or updates without executing complex dashboard lookups. The entire interface runs on low-cost messaging callbacks.
| Layer | Technology | Implementation Detail |
|---|---|---|
| Host Server | AWS Lightsail | Ubuntu 24.04 virtual private server hosted in ap-south-1a |
| Routing & Proxy | Nginx + Gunicorn | Strict route proxying with TLS encryption via Let's Encrypt |
| Application Layer | Flask Web Engine | Fails-safe localized sessions with 10-minute idle activity logout |
| Client Integration | OwnTracks iOS | HTTP telemetry reporting utilizing regional geofences |
| Alert Channels | WhatsApp Business Cloud API + Telegram | Meta-approved utility templates on WhatsApp alongside the Telegram bot |
| Geofences | Phone layer + server layer | Up to 20 phone regions per device, plus unlimited server-side fences |
| Datastore | Excel Sheet Data Model | Raw coordinate storage utilizing file locking for data safety |
Remote configuration updates operate within the HTTP response body of incoming device check-in blips. The lack of a direct push channel requires active report check-ins before settings take effect.