Lynk&Co Binding for openHAB
Integrates Lynk&Co vehicles into openHAB with both status monitoring and remote control.
Supported models
- Lynk&Co 01 (pre-2025) — via the legacy connectedcar.cloud platform
- Lynk&Co 01 (2025), 02 and 08 — via the modern signed mobile-app gateway
The platform is auto-detected per vehicle. Tested on a Lynk&Co 08.
Features
Monitoring: doors & windows, locks, charge-port & tank flap, fuel level & range, battery / state of charge, charging state, time-to-full, charging power, average consumption, stored battery energy, charge schedule & start/stop status, charge limit, interior temperature, target / min / max climate temperature, windshield defrost, GPS position & nearest address, odometer, engine status, driving state, and (model dependent) seat & steering-wheel heater status.
Vehicle info: model, model year, propulsion, battery capacity, charger type, fuel-tank capacity, curb weight and towing capacities.
Control: lock/unlock, start/stop charging, pre-climatization with settable target temperature (16–28 °C), ventilation, seat & steering-wheel heaters (incl. rear-center on the 08), charge limit, sunroof (where available), glovebox unlock and lock (PIN), flash lights, honk, honk + flash.
Pre-conditioning vs. ventilation: pre-conditioning runs the heating/AC to reach your chosen target temperature; ventilation only runs the fans to exchange cabin air (no heating/cooling, no temperature).
Smart behaviour: automatic vehicle discovery (no manual VIN entry), model-aware channels (only what the car actually has), and dynamic polling — every 60 s while driving (live position) or while pre-conditioning is active, reverting to the configured interval otherwise, plus quick re-polls after a command so the UI reflects the result. Before each poll the binding also asks the car to push a fresh GPS position (see below).
Note on live position: since v0.8 the binding sends a
request_locationcommand to the car before each poll (config optionforceLocationRefresh, default on), so the position updates on every poll — including mid-drive. The car typically delivers the fresh position within 1–5 minutes, so it lands on the next poll. Each request wakes the vehicle telematics; if you are concerned about 12V battery drain you can turn the option off, in which case the car only reports its position when parked (the old LynkOS 1.4.0+ behaviour).
Installation (new install)
- Install the binding (Add-on Store → Community Marketplace, or drop the
.jarinaddons/). - Add the Lynk&Co API bridge with your account e-mail and password.
- Follow the login URL shown in the logs, sign in (incl. MFA), and paste the
msauth://…redirect URL into the bridge’s Redirect URL field. - Your vehicle(s) are discovered automatically — add them from the Inbox.
Note: Lynk&Co only allows one logged-in device at a time, so authenticating here logs the mobile app out (and vice versa).
Upgrading from a previous version
- Replace the old
.jarinaddons/with the new one (or update via the Marketplace). - That’s it — your existing vehicle Thing keeps its configuration and links, and the new channels are added automatically (the Thing is migrated on update; no re-pairing or re-discovery needed).
- To use the new channels, just link items to them (e.g. via Add Equipment/Points to Model on the Thing).
Download
- JAR (v0.8, openHAB 5.1.x): https://github.com/jannegpriv/openhab-addons/releases/download/lynkco-v0.8/org.openhab.binding.lynkco-5.1.0-SNAPSHOT.jar
- Release page: Release LynkCo Binding v0.8 for openHAB 5.1.x — live position on every poll · jannegpriv/openhab-addons · GitHub
- Source & README (full channel list): openhab-addons/bundles/org.openhab.binding.lynkco at lynkco-binding-v2-gateway · jannegpriv/openhab-addons · GitHub
Version history
- v0.8 — Fresh position on every poll: the binding sends the newly discovered
request_locationcommand before each poll so the GPS position updates continuously, even mid-drive (new advanced configforceLocationRefresh, default on; turn off if concerned about 12V battery drain). The average power consumption channel now shows its kWh/100km unit, matching the app. Thanks to b12e/ha_lynkco_2025 for discovering the endpoint. - v0.7 — Smarter polling: after a command the binding re-polls at 3s/8s/18s so the UI reflects the result even if the car acts with a delay; flash/honk no longer trigger a refresh; and the 60-second fast poll now also runs while pre-conditioning is active (not only while driving).
- v0.6 — Start/stop charging (new
charging-control#chargingswitch +startCharging/stopChargingactions) and lock the glovebox with a PIN (lockGlovebox(pin)action). Completes full command parity with the reference integration. - v0.5 — Settable pre-conditioning temperature (16–28 °C) via the new
climate-control#target-tempchannel; pre-conditioning now heats/cools to your chosen temperature instead of a fixed 22 °C, and changing it while running re-applies live. (Ventilation has no temperature — it only airs out the cabin.) - v0.4 — Maps all metrics the gateway provides (01 2025 / 02 / 08): charging power, average consumption, stored battery energy, charge schedule & start/stop, target/min/max climate temp, windshield defrost, charge-lid, driving state, rear-center seat heater, nearest address, and a new Vehicle-info group (model, year, propulsion, battery capacity, charger type, tank capacity, weight, towing). Existing Things migrate automatically. Charging power reports 0 kW when idle; a single bad value can no longer block other channels; correct units and trimmed GPS precision.
- v0.3 — Added Lynk&Co 01 (2025), 02 and 08 via the new gateway (legacy 01 kept). Auto-discovery, model-aware channels, seat/steering heater status + control, charge limit, ventilation, sunroof, glovebox, dynamic polling while driving, proper TLS and no secrets in logs.
- v0.2 — Updated to the new login flow.
- v0.1 — Initial release.