🆔 Get Your BMW IDs¶
Before you can use the bridge, you must retrieve your personal BMW CarData identifiers.
The script scripts/bmw_flow.sh
automatically creates
~/.local/state/bmw-mqtt-bridge/.env
and guides you to fill in the IDs which
you get with the following procedure:
- Go to the MyBMW website
(You should already have an account and your car must be registered.) - Navigate to Personal Data → My Vehicles → CarData
- Click on "Create Client ID"
⚠️ Do not click on "Authenticate Vehicle"! - Copy the Client ID and insert it into the
.env
file - Scroll down to CARDATA STREAM → Show Connection Details
- Copy the USERNAME and insert it into
.env
file as GCID - The other options in the
.env
file are for advanced setups – you can safely ignore them in most cases
After this setup, your bridge will be able to authenticate against the official BMW CarData MQTT interface.
At CARDATA STREAM don't forget to click Change data selection
and activate the topics you want to receive.