Bosch Live Data Interface x Karoo
At the moment I'm developing a App for the new Live Data Interface and will share it trough Git if anyone is interested. Will include a complete Onboarding Wizard for pairing etc.
Best regards
-
Hi there :)
The app is almost ready.I sucessfully installed it on my Karoo and registered all available Datafields from the Bosch LDI. I think some will be useless like a Field for diagnosic port, charger connected, eBike locked ...
Interesting Fields are SPEED, CADENCE, RIDER POWER, BATTERY, LIGHT STATUS, ODOMETER.
My last step ist now the configuration menu with onboarding wizard for bike connection. You can connect 4 different bikes to one computer (for those who got more than one bike ;) )
Another problem at the moment ist installation of the app. It's no longer possible to just send the link to the hammerhead companion app. I will try to list the app at hammerheads directory for easy installation.
I will keep you up to date with screenshots as soon as it works :) -
I simply switched the repo to public. Think it's easier. https://github.com/julianhaas386-oss/Bosch-LiveDataInterface-for-Karoo
Best regards. I will get on testing when I have more time.
-
Well this will probably not work for the foreseeable future in general.
BLE Advertising is not allowed on Karoo Devices for 3rd party Extensions. This is the key factor tho for it to work.
We can only wait and hope that Hammerhead will consider making a first party integration for this since opening BLE Advertising for 3rd party apps is a bit risky from a security standpoint and shouldn't be allowed.
The feature will only work on Karoo 3 devices tho since BLE Advertising is only possible in Android 12 and above.
The Karoo 2 is still based on Android 8.1 so this feature cannot be implemented for it.
-
Everyone who is interested in support for the Bosch Live Data Interface in Karoo you should contact support and ask for this. This won't make an immediate change but hopefully helps to let hammerhead know how many users are asking for this feature.
File your request here:
https://support.hammerhead.io/hc/en-us/requests/newSupport told me
[...] "Please know that we track these requests closely. The volume of similar requests we receive from the community plays a significant role in bumping a feature up the priority list, so your feedback is very helpful." [...] -
Hi all,
spent the last two days on exactly this, with a Karoo 3 and a Smart System bike, and wanted to share what I found, because two things said in this thread are not quite right.

1. BLE advertising is NOT blocked on the Karoo 3. The Karoo simply does not grant the Bluetooth runtime permissions (BLUETOOTH_CONNECT / BLUETOOTH_ADVERTISE) at install time, so an extension has to request them with the normal Android permission dialog. Once granted, advertising with the LDI service solicitation works, Flow finds the Karoo as an accessory, the bike pairs with it and streams battery, rider power, speed, cadence, odometer and light state once a second. My extension (not published) shows them as ride-page fields.
2. The real blocker is Android's Bluetooth privacy, not Hammerhead. An app on Android advertises with a resolvable private address that the system rotates every ~15 minutes (and replaces on every advertising restart). The bike reconnects to its accessories by the address it saw at pairing time, and does not use the identity key it exchanged. Packet log: pairing at 10:01, bike switched off at 10:03, then two hours of the Karoo advertising with nine different addresses and not a single connection attempt from the bike. The API to advertise with the fixed public address is system-only on every Android version. Bosch's spec says smartphone support is "not in scope"; a Karoo is, for this purpose, a smartphone.
So the direct link works for exactly one session per pairing. What would fix it: a system-level way for extensions to advertise with a stable address (Hammerhead), or the bike resolving private addresses with the key it already has (Bosch). Until then I am going the hardware route: a small open-source nRF52840 board (BEStie) that pairs with the bike permanently and exposes it as a standard Bluetooth power/speed/cadence sensor, plus a firmware addition for the battery %. Full write-up with the log details here: https://www.reddit.com/r/Karoo/comments/1xken6l/i_connected_the_karoo_directly_to_my_bosch_ebike/
-
Please sign in to leave a comment.

Comments
32 comments