🚀 Getting Started • ✨ Features • 🖼️ Screenshots • 🛠️ Technical Stack • 🗺️ Integration Roadmap • 🔒 Privacy • 📞 Contact • 🌐 Website
BYD Trip Stats is a feature-complete Android analytics dashboard for BYD DiLink vehicles — built by a BYD Seal owner and running on production hardware. It now uses the BYD SDK and operates as a standalone in-car analytics app without relying on an external companion bridge.
A BYD with one of these head units, BEV or PHEV:
No Electro setup, MQTT broker, or topic configuration is required for normal operation.
On a DiLink 5.0 car (e.g. Sealion 7)? Grab the dilink5 APK from the same Releases page — see docs/DILINK5.md. Atto 3 EVO owners: use the dilink3 APK instead, even though your screen says DiLink 5.0 UI — your head unit is DiLink 100.
Adaptive layouts for both landscape and portrait orientations on the rotating infotainment screen, including full split-screen multi-app support. The UI palette mirrors the DiLink Ocean Series dark and light themes.
A proprietary consumption-modelling algorithm computes realistic remaining range in real time — the energy left in the battery divided by your actual consumption over your last 10, 100 or 500 km of driving (100 km by default), measured from the BMS total-discharge counter rather than taken from the BMS's static range estimate. That stretch runs back across your earlier trips, so the projection is your own from the moment you switch on. A fresh install starts from the car's catalogue figure until it has about 3 km to go on, and the projection is capped at WLTP.
Trips are captured automatically — they start when you drive off and end once the car has been switched off for a few minutes — no driver input required. The history view supports multi-field filtering, six sort criteria, and per-trip export as CSV, JSON, or a self-contained HTML viewer (saved locally or sent to a Telegram bot).
Per-trip breakdown of every recorded metric: route path on OpenStreetMap, speed and power profiles, regen events, altitude, battery state, and cell-level data — rendered across dedicated analysis tabs.
Every technical metric the vehicle exposes is charted — front and rear motor RPM, torque distribution, battery cell voltages, thermal delta, SoH, and charging curves. All charts are custom-rendered on Canvas with no third-party charting libraries.
14 heatmap dimensions correlating any two telemetry axes — speed vs. power, SoC vs. regen, tyre pressure vs. consumption, cell voltage spread vs. SoC, altitude vs. consumption, and more. Crosshair interaction shows exact bin ranges on tap. AWD cars gain an additional front vs. rear RPM torque-split heatmap.
Settings are split into App, Connections, Preferences, Pro and About & FAQ; App, Connections and Preferences each open on an overview of cards that show the current state at a glance, with every topic on a page of its own. Backups go to the car, an SD card (Pro) or your own Telegram bot, with your settings alongside, and About & FAQ carries an in-app FAQ covering common DiLink behaviour, autostart survival, and charging-session caveats. (The screenshots below predate the card layout.)
Tap the Battery Health card on the dashboard to open a dedicated SoH-over-time view. A least-squares trend line projects future health and estimates the year the pack will reach 80% — the typical EV warranty threshold.
Seasonal Analysis (☀️ in Trip History toolbar) groups all trips by meteorological season and visualises average consumption per season with a reference line from your car's WLTP figures. Automatically generates a winter-penalty insight when both winter and summer data are present.
Trip Goals & Personal Bests (Settings → Preferences → Goals & personal bests) tracks lowest ever efficiency, longest single trip, and longest consecutive daily driving streak. Set a consumption target and/or monthly distance goal — animated progress bars update in real time.
Set your electricity tariff under Settings → Preferences → Costs. Trip cost appears inline in the energy consumed field (4.40 kWh (€0.62)) and in a collapsible monthly summary card showing up to 12 months of history.
Two complementary mechanisms cover all charging scenarios with no user interaction required:
The app remains standalone for normal use, but can optionally talk to the outside world. Each connection has its own page under Settings → Connections:
ABRP — upload live car telemetry to ABRP via Link Generic token
MQTT — publish Electro-compatible JSON to an external broker and topic, with drive/regen modes exported as readable names. Supports plain TCP, TLS (mqtts), and MQTT-over-WebSocket (ws/wss) so the broker can sit behind an HTTP reverse proxy. A summary of every finished trip and charging session is also published, as retained JSON on its own topic (…/trip, …/charge_session), always in metric units. (WebSocket requires a WebSocket listener enabled on the broker itself — e.g. Mosquitto needs a listener with protocol websockets; the reverse proxy forwards to that listener, it does not create one.)
Web companion — trips, charging history, notifications, the 12V / HV chart and a PIN-protected Files tab (backups, exports, the diagnostics log), in any browser on your Wi-Fi. On by default; it only answers on your own network
Tailscale — puts the car on your own private network, so the web companion and ADB work from anywhere, including over mobile data. Setup is a QR code you scan with your phone
Telegram — your own bot, for backups, notifications and trip exports
All except the web companion are opt-in, and any of them can be disabled without affecting local trip recording, charts, backups, or dashboard telemetry.
The project now runs as a standalone in-car telemetry application. Remaining work is focused on improving persistence and polishing a few edge cases.
Phase 1 — Legacy (External bridge) Electro app → MQTT broker → BYD Trip Stats Phase 2 — Current (Standalone in-car operation) BYD Trip Stats running independently on supported vehicles Phase 3 — Full OEM integration Logic absorbed into DiLink firmware; UI surfaced as a native DiLink panel What changes between phases: the runtime moved away from the legacy bridge setup and into a self-contained in-car architecture. The ViewModel, Room persistence, charts, range projection engine, charging-session model, and UI remained largely intact, which is exactly why the migration was feasible without rewriting the product.
The competitive case for Phase 2/3 is straightforward:
All of these are disabled by default and require explicit configuration. You control the destination — the app sends nothing unless you set it up.
Two things run without setup: the web companion, which is on by default but only answers browsers on your own network (or your tailnet) with its PIN — it never sends data anywhere — and a read-only update check against GitHub Releases.
This architecture requires no modification to comply with EU data regulations.
This project is licensed under the Business Source Licence 1.1 (BUSL-1.1).
You are free to view, fork, and use the source for personal and non-commercial purposes. Commercial use — including integration into vehicle firmware, commercial products, or redistribution as part of a paid service — requires a separate written licence agreement.
I am an independent software engineer and BYD Seal owner based in Greece. I built this application because the gap between the Seal's hardware capability and its software experience was significant enough to solve myself. The application is feature-complete and running on production hardware today.
If you represent BYD's Smart Device or Product Strategy team, I am open to discussing:
1. Native System Integration — Porting the application as a DiLink system-signed APK and turning the current standalone solution into a first-class OEM experience. This would deliver the full feature set to all DiLink-equipped BYD vehicles via OTA.
2. Analytics Algorithm Licensing — The range projection engine, trip intelligence logic, and consumption modelling are available for licensing into official BYD firmware or companion applications.
3. Technical Collaboration — A scoped engagement to evaluate, extend, or adapt this work for official roadmap integration.
For all other enquiries — bug reports, feature requests, community discussion — please open a GitHub Issue.
Contributions are welcome! Whether it's bug reporting or new feature requests.
Alternatively, drop a message at Discord at #help channel
Have an idea? Open an issue with the "enhancement" label — well-reasoned requests are regularly considered for future releases.
If you are running BYD Trip Stats on a Dolphin, Atto 3, Atto 3 EVO, or any other BYD model, reports about what works and what doesn't are especially valuable.
A: Yes. Any DiLink 3 car works with the dilink3 build, DiLink 5 cars (Sealion 7, Shark 6) with the dilink5 build, and the Atto 3 EVO (DiLink 100) with the dilink3 build. A few readings aren't available on DiLink 5 and DiLink 100; see Requirements.
A: It uses your 12V which is always being charged via your high-voltage EV battery. Very minimal battery impact.
A: No. The ultimate goal is for BYD to implement it natively as part of the infotainment system, without the need to side-load.
A: Yes. All telemetry stays on your device by default. No analytics, no crash reporting, no advertising. The only optional outbound traffic is: Telegram (backups — compressed, not encrypted — and notifications, to your own private bot), MQTT publish (live telemetry to a broker you configure), ABRP upload (live snapshot to ABRP via your own user token), Tailscale (your own private network) and Email via QR code (a report you choose to send). All are opt-in and disabled unless you configure them. The web companion is on by default but only answers browsers on your own network, with a PIN. See the Data Privacy section for details.
A: Export as CSV, then open in Excel, Google Sheets, etc.
Every contribution helps make this app better for everyone!
This software is provided "as is" without warranty of any kind. Use at your own risk.
Angelos Oikonomou Software Engineer · BYD Seal Owner
Independent project. Not affiliated with BYD Auto Co., Ltd. or any other BYD division. All trademarks belong to their respective owners.




