A C11 library for communicating with the Mitsubishi Outlander PHEV via the car's remote WiFi interface (GH4+ models with the MMC remote WiFi option).
Supports device registration, connecting to the car, reading vehicle data, and controlling lights and manual air conditioning.
The device must be connected to the car's network on the 192.168.8.x subnet.
A command-line tool built on this library, tested on Raspberry Pi and other Linux systems:
https://github.com/phev-remote/phevctl
All dependencies are fetched automatically via CMake FetchContent:
- cJSON v1.7.18
- greatest v1.5.0 (tests only)
- msg-core sources are vendored directly in
src/andinclude/
Requires CMake >= 3.21 for preset support (>= 3.14 for manual configuration).
# Development (debug + tests)
cmake --preset dev
cmake --build --preset dev
# Release (optimized, no tests)
cmake --preset release
cmake --build --preset releasecmake -S . -B build -DBUILD_TESTS=ON
cmake --build build# Using presets
ctest --preset dev
# Manual
ctest --test-dir build --output-on-failurecmake --install build