BMW Motorrad connected

I think it’s essential to have your phone rooted

Hi @Careliyim , Do you mind to share as info as possible about that token? I would like to start coding a python lib to get the info and allow an addon to be made…

TY

I can’t help you with programming, but I can definitely help you with testing and debugging. I would love to have an easy way to get the data for Home Assistant

That would be awesome, please contact me if you want to work on this together
we can use whatsapp to initiate a chat first and may meet in discord/teams after

For now:
When a account is created through the BMW app on android a xml file is locally being generated which is actually redirecting to cpp.bmw-motorad.com once loggein into the webpage using get on endpoint /v2/service/county-county/bmc-user-bikes will get you all the data you need.

Hello,
@dtorner
@Careliyim

I’m wondering if anyone has made any progress or if the project is on hold?

Unfortunately, I’ve been away for quite some time. Please let me know if there’s anything I can contribute.

Hi,
I encountered some problems replicating the information shared by @Careliyim .
On my Android device, data is not stored in

/data/data/com.bmw.ConnectedRide/databases/appsyncstore

but in a SQLITE database “ConnectedRide.sqlite” located in the databases folder.
I was however able to access bike and track data within that DB.
(this was actually the reason I tried to access the data, since I had to “correct” some tracks that would not be merged successfully within the APP)
However, I found no information about the API endpoint, and was not able to access

cpp.bmw-motorrad.com and endpoint /v2/service/county-county/bmc-user-bikes

Maybe that endpoint was changed as well…

Hi everyone, I’ve just discovered this discussion. Can you send me the API? I want to try adding my BMW too. All I need to know is the mileage and fuel percentage.

Good morning everyone, I'm trying to extract data from my bmw s1000 xr to use in my home assistant. I can't get my clinet ID. I need to register on this site."https://bmw-cardata.bmwgroup.com/"? What's the correct procedure to have all the connected data in my Home Assistant? Thank you for your support

Same.
I use a script locally to pull from the db and send it to mqtt.
Since I couldn’t find tank level in the SQLite, I set up a node to check when tank has been filled (based on trip1 reset or increase of km range).
Those json are sent to home assistant to have an overview while the whole SQLite is converted for influx
{
“timestamp”: 1786000111000,
“track_id”: 13,
“trip_distance”: 25.0,
“trip_duration”: 1494,
“rpm_avg”: 3729.0,
“rpm_max”: 6415,
“throttle_avg”: 13.7,
“throttle_max”: 56.5,
“lean_angle_right”: 24.1,
“lean_angle_left”: -28.6,
“engine_temp_avg”: 84.1,
“engine_temp_max”: 97.3,
“speed_avg”: 65.1,
“speed_max”: 153.0,
“abs_interventions”: 2,
“asc_interventions”: 0
}

{
“timestamp”: 1785999606962,
“mileage”: 546.0,
“trip1”: 545.6,
“range”: 156.0,
“pressure_front”: 2.5,
“pressure_rear”: 3.0,
“service_due_date”: 1816207200000,
“service_due_km”: 400.0,
“latitude”: xxx,
“longitude”: xxx
}
{“tank_id”:1,“distance_km”:177,“detected_by”:“range_jump”,“closed_at”:1785875538636}