New Integration: Bosch eBike Smart System (Data Act API) – Track your rides in Home Assistant

Unfortunately not :-(. I’d love to implement that, because that’s one of the things I’d used most.

I’ve added an estimate of battery consumption. While the Bosch API doesn’t provide any data on battery level or consumption, it does report the total Wh delivered by the battery — so if you know the battery’s capacity, you can use a simple rule of three to calculate the percentage of battery used. That said, it’s still only an estimate, since the total capacity of the battery naturally degrades over the years. But better than nothing…

Thank you for the great integration! Awesome work especially with the great card as extension compared to other available integrations!

One remark. I had issues with Dashboard with that link:
/bosch_ebike/bosch-ebike-map-card.js

I checked the custom components folder and in my case the integration is stored in ha_bosch_ebike instead just bosch_ebike.

I correct the path under resources and then it worked
/ha_bosch_ebike/bosch-ebike-map-card.js

@Xunil99 From what does it depend if the battery value is shown or not? I dont get the status yet.

The battery value is being calculated - Bosch does not provide the battery value. So you have to make at least two rides for the battery value to be calculated and shown.

1 Like

My wife and I both have ebikes with the Bosch system and ive just found this post - so mow I have to try this integration.
Before I play with this can anyone confirm if the integration supports multiple bikes on different accounts? I’m presuming you can create more than one “device” in the integration?

Thanks,
Richie

Hi Richie,

yes, fully supported since v1.4.0. Both setups work out of the box and can even be combined:

Two separate Bosch accounts (your case)

Just add the integration twice. For each account:

  1. Create your own app registration at Unauthorized | eBike Systems to get a separate Client-ID per account
  2. In Home Assistant: Settings → Devices & Services → + Add Integration → “Bosch eBike (Smart System)”
  3. Paste the Client-ID, run through the OAuth flow with that account’s SingleKey ID
  4. Repeat for your wife’s account with her Client-ID

Each integration instance is fully isolated, own tokens, sensors, activities, battery-consumption tracking. You’ll see two devices per bike in the Devices panel and two sets of last_ride_* / total_* sensors.

One Bosch account with two bikes (also supported)

If you ever consolidate to a single account with both bikes attached, the integration creates per-bike hardware sensors automatically and uses an odometer-matching heuristic (1.5 km tolerance) to attribute rides to the correct bike, so no manual setup needed.

Lovelace card

The optional bosch-ebike-map-card auto-shows two filter dropdowns above the activity list when more than one account or bike is present. You can also pin a card to one specific account/bike via its visual editor (or account_id / bike_id in YAML) and place two cards side-by-side in a horizontal-stack for direct comparison views, handy if you want to compare a ride that you and your wife did together on the same day.

Have fun with the integration!

Best,
Volker

2 Likes

Great, thanks for the quick reply.
I will try this out in the next couple of days.

Richie