How thebluesurf3r/apextelemetry works
ApexTelemetry collects Gran Turismo 7 UDP packets, decrypts and parses valid telemetry, then logs it to a database. The sampled Python code shows PostgreSQL storage, despite the README describing SQLite; database configuration and actual dbt model dependencies were not sampled. The transform tree documents staging and analysis models, so they appear as a separate analytics branch without guessed wiring.
Main entry points: main.py Pipeline Runner · collector.py UDP Listener · storage.py Telemetry Storage · decoder.py Decrypt and Parse
Components 11
Packet Capture
- UDP Listener
src/collector.py
Telemetry Pipeline
- Pipeline Runner
src/main.py - Decrypt and Parse
src/decoder.py
Persistence
- Telemetry Storage
src/storage.py - PostgreSQL
Analytics Models
- Telemetry Staging
transform/models/stg_telemetry.sql - Session Summary
transform/models/marts/fct_session_summary.sql - Latest Lap
transform/models/marts/fct_latest_lap.sql - Gear Analysis
transform/models/marts/fct_gear_analysis.sql - Data Integrity
transform/models/marts/obs_data_integrity.sql
Other components
- Gran Turismo 7
Connections 6
- Gran Turismo 7 → UDP Listener: sends UDP
- Pipeline Runner → UDP Listener: receives packets
- Pipeline Runner → UDP Listener: sends heartbeat
- Pipeline Runner → Decrypt and Parse: decrypts and parses
- Pipeline Runner → Telemetry Storage: logs packet
- Telemetry Storage → PostgreSQL: creates table and inserts