Bosch Live Data Interface x Karoo

Comments

32 comments

  • Avatar
    Marcus Hahne

    Hi Julian, thanks for your effort to develop such a interface!

    0
    Comment actions Permalink
  • Avatar
    Julian Haas

    No Problem. I hope it will be ready later this week. I try to get in contact with some other devs on github.

    1
    Comment actions Permalink
  • Avatar
    Bernhard Czapp

    Hello Julian

    That's a awesome news!
    I'm really looking forward to get some data from the bosch system to the karoo.

    Please keep us updated!

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Julian Haas

    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 :)

    4
    Comment actions Permalink
  • Avatar
    Marcus Hahne

    Awesome! I´m really excited to test it! 

     

    0
    Comment actions Permalink
  • Avatar
    Michael Ziebell

    Me too would be really nice to have the bike data on the hammerhead, i registered to the forum just to thank you for your work

    0
    Comment actions Permalink
  • Avatar
    Sergio Oliveira Bar

    Top!!
    I m interested on it!! give us feedback!!

    0
    Comment actions Permalink
  • Avatar
    Julian Haas

    Hi. Status atm:
    - App is working
    - All Fields registered
    - Onboarding wizard working
    - German and English language

    Problems:
    - binding a eBike won't work - maybe some BLE problems, needs some more debugging

    4
    Comment actions Permalink
  • Avatar
    Marcus Hahne

    thanks for updating, Julian. crossing fingers, that debugging will succeed. :-)

     

    0
    Comment actions Permalink
  • Avatar
    Harry Gru

    Hi Julian
    There is a new Software Version they change something with the Bluetooth pairing maybe helps

    0
    Comment actions Permalink
  • Avatar
    Bernhard Czapp

    Hello Julian!

    Is there anything that can be done to support your work?
    Do you have a repository or a web site for your project?

     

    0
    Comment actions Permalink
  • Avatar
    Julian Haas

    Hi there :)

    I had not much time in the last weeks. I already done some fixes for Bluetooth but had no time for testing.
    Yes, i got a repository - Everything is on GitHub but not at public access ATM.

    If you give me your GitHub Infos, I will get you access.

    Best regards

    1
    Comment actions Permalink
  • Avatar
    Holger Beck

    Hello Julian,

    I can also offer myself for betatesting! 😁My github account name is "hobili"

    Best regards!
    Holger

    0
    Comment actions Permalink
  • Avatar
    Julian Haas

    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.

    0
    Comment actions Permalink
  • Avatar
    Sergio Oliveira Bar

    Not working in k2

    -1
    Comment actions Permalink
  • Avatar
    Alexander Berger

    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.

    0
    Comment actions Permalink
  • Avatar
    Holger Beck

    Hi Julian,

    I opened an issue on the Github page, maybe you could see, thank you!

    0
    Comment actions Permalink
  • Avatar
    Marcus Hahne

    I just tried it, but as soon as I started the installed extension, it freezes with inside the white screen where "Bosch LiveDataInterface" is written.

     

    0
    Comment actions Permalink
  • Avatar
    Julian Haas

    Hi. What Karoo are you using? The App is dedicated for Karoo 3.

    0
    Comment actions Permalink
  • Avatar
    Alexander Berger

    Seems like he is using a Karoo 3 in the image shown above. There was a new push to the GitHub repo recently. I can test the start of the app again but it still won't work from the BLE Side. So the app being broken isn't a big problem atm

    0
    Comment actions Permalink
  • Avatar
    Marcus Hahne

    HI Julian. Yes, it is a Karoo3 with the actual firmware 1.638.2460.20.

    0
    Comment actions Permalink
  • Avatar
    Harry Gru

    Same here 1.638.2460.20 and 1.2.20

    if you need some logs or anything else please let me know 

    yes I read below so this is the prob 

    "Karoo firmware currently blocks the necessary BLE advertising for third-party apps."

    0
    Comment actions Permalink
  • Avatar
    Niclas

    Hi Julian,
    what's the status? On my Karoo 3, it's also showing white with the "Bosch Live Data Interface" lettering.

    0
    Comment actions Permalink
  • Avatar
    Alexander Berger

    @Niclas the status is the same. If the Hammerhead team doesn't unlock a specific feature set the app won't work functionally. We have already pointed that out to support and are waiting for the Hammerhead team to implement it.

    1
    Comment actions Permalink
  • Avatar
    Daniel Trixl

    Hello,

    How can i install this App ?

    MFG Daniel

     

    0
    Comment actions Permalink
  • Avatar
    Alexander Berger

    @Daniel the App is currently not functional. We will update it as soon as it is in working status again

    0
    Comment actions Permalink
  • Avatar
    Bernhard Czapp

    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/new

    Support 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." [...]

     

    1
    Comment actions Permalink
  • Avatar
    Holger Beck

    Any news about the bosch live data?

    0
    Comment actions Permalink
  • Avatar
    Andrea

    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/

    2
    Comment actions Permalink
  • Avatar
    Andrea

    Finally https://www.reddit.com/r/Karoo/s/hkAJ4FrN4j it

    0
    Comment actions Permalink

Please sign in to leave a comment.