How dhruvhex/lorawan_gps_tracking works
Vajr Signals is a Django-based LoRaWAN GPS monitoring application. The documented workflow is that TeraTerm telemetry is parsed into device records, which users can explore on an interactive map, filter by device and time, and use to monitor SOS alerts. Device visibility and marker colors are configurable; email/password login gates the map. The sampled views and models support ingestion, query, configuration, and alert responsibilities. README-described UI/API wiring is not fully shown in the excerpts, so those links are marked unverified rather than asserted as direct calls.
Main entry points: map.html Map Dashboard · urls.py App Routes · models.py GPS Records · login.py Email Login
Components 17
Access and Routing
- App Routes
GPS_App/urls.py - Email Login
GPS_App/login.py - User Context
GPS_App/context_processors.py
Telemetry and Storage
- Log Ingestion
GPS_App/views.py - GPS Records
GPS_App/models.py - Device Settings
GPS_App/models.py - User Accounts
GPS_App/models.py
Monitoring Features
- Location Queries
GPS_App/views.py - Device Configuration API
GPS_App/views.py - SOS Alerts API
GPS_App/views.py
Map Presentation
- Map Dashboard
templates/map.html - Leaflet Mapping
static/js/leaflet.js - Path Decoration
static/js/leaflet.polylineDecorator.js - SOS Audio
static/audio/emergency-alarm-69780.mp3
Other components
- Field Operator
- TeraTerm Logs
- MySQL Database
Connections 22
- Field Operator → App Routes: uses
- App Routes → Email Login: routes login
GPS_App/urls.py - App Routes → Location Queries: routes queries
GPS_App/urls.py - App Routes → Device Configuration API: routes settings
GPS_App/urls.py - App Routes → SOS Alerts API: routes alerts
GPS_App/urls.py - Email Login → User Accounts: checks credentials
GPS_App/login.py - Email Login → Map Dashboard: redirects after login
GPS_App/login.py - Map Dashboard → User Context: receives context
- TeraTerm Logs → Log Ingestion: provides telemetry
README.md - Log Ingestion → GPS Records: stores packets
README.md - Location Queries → GPS Records: queries locations
GPS_App/views.py - Device Configuration API → Device Settings: reads and updates
GPS_App/views.py - SOS Alerts API → GPS Records: queries SOS records
GPS_App/views.py - GPS Records → MySQL Database: persists records
- Device Settings → MySQL Database: persists settings
- User Accounts → MySQL Database: persists accounts
- Map Dashboard → Location Queries: requests locations
README.md - Map Dashboard → Device Configuration API: configures devices
README.md - Map Dashboard → SOS Alerts API: shows SOS alerts
README.md - Map Dashboard → Leaflet Mapping: renders map
README.md - Map Dashboard → Path Decoration: decorates paths
- Map Dashboard → SOS Audio: plays alert
README.md