Warning
This project is under active construction. Do not use it on a real vehicle. It is experimental, largely untested on real cars, and may behave unpredictably. The app talks to a controller that can interfere with a vehicle's CAN bus, which can cause malfunctions, disable safety systems, void warranties, or put people at risk. There is no warranty (see LICENSE); you use this entirely at your own risk.
This is an independent project. It is not affiliated with, endorsed by, or sponsored by any vehicle manufacturer. Brand and model names are used only to describe compatibility.
Flutter mobile app for interacting with an ESP32-based car controller over BLE (local) and MQTT (remote). Supports the Kia/Hyundai E-GMP platform and a virtual car for UI testing without hardware.
-
Open the repo in the provided dev container (Flutter, Android SDK,
protocandprotoc-gen-dartare pre-installed). For a native Windows setup, see Development setup. -
Fetch the shared contracts submodule:
git submodule update --init. -
Create your local config:
cp config.toml.example config.tomland fill in the MQTT broker settings (gitignored). For a broker on the internet, use TLS with a certificate for this phone: see MQTT over TLS. -
Connect a phone over wireless debugging (steps in Development setup) and run:
flutter pub get flutter run
Dart code is generated from the contracts/ submodule and config.toml. Generated files are gitignored, so run it after cloning and again when the contracts or config change:
dart run build_runner buildSee Code generation for what gets generated.
flutter analyze --fatal-infos
flutter testThe app and the controller share a protobuf envelope (AppToDevice / DeviceToApp) carrying vehicle-specific bytes, decoded by platform_id; the same wire format runs over BLE and MQTT. Each supported vehicle is a VehicleDefinition under lib/cars/<vehicle>/.
- Architecture — vehicles, transports, providers, UI
- UI design — the shared dashboard and tile system; other screens, theming and skins, 3D hero, mockups
- BLE & pairing
- MQTT over TLS — certificates for the phone and the broker
- Code generation
- Development setup
- CI & releases
.
├── contracts/ # git submodule: protobuf + TOML metadata shared with the firmware
├── lib/
│ ├── cars/ # one folder per supported vehicle
│ ├── config/ # app + generated MQTT config, device identity
│ ├── generated/ # generated protobuf classes (gitignored)
│ ├── models/ # VehicleDefinition
│ ├── providers/ # Riverpod providers
│ ├── screens/ # pairing wizard
│ └── transport/ # BLE, MQTT, HTTP (debug) transports
├── tool/builders/ # build_runner codegen package
├── assets_src/ # source 3D models (compressed into assets/ by tool/compress_model.sh)
├── docs/ # project documentation
└── AGENTS.md # rules for AI agents (CLAUDE.md imports it)
Contributions are welcome; please read CONTRIBUTING.md first and open an issue before starting anything large. Report security problems privately as described in SECURITY.md.
This project is licensed under the terms of the LICENSE file.