Bosch eBike LDI Bridge
Live-Daten deines Bosch smart system eBikes per Bluetooth in Home Assistant Bosch smart system eBike live data in Home Assistant via Bluetooth
Voraussetzungen
- Ein ESP32-Devboard (z. B. ESP32-DevKitC, ESP32-WROOM-32). Andere Varianten (S3 / C3 / C6) sind noch nicht getestet.
- Ein USB-Kabel mit Daten-Adern.
- Chrome oder Edge auf Desktop / Laptop. Safari, Firefox und Mobil-Browser unterstützen Web Serial nicht.
- Ein Bosch eBike mit smart system Drive Unit v19 oder neuer. Software-Version in der Bosch Flow App unter Bike → Einstellungen → Systeminformation prüfen.
So funktioniert es
- ESP32 per USB anstecken.
- Oben auf "Bridge auf ESP32 flashen" klicken.
- Den seriellen Port des ESP32 im Browser-Dialog auswählen.
- Auf "Install" klicken und warten, bis die Firmware geschrieben ist (ca. 1 Min).
- Nach dem Reboot fragt der Browser nach deinem WLAN. Netzwerk und Passwort eingeben.
- Die Bridge erscheint automatisch in Home Assistant unter Einstellungen → Geräte & Dienste. Auf "Konfigurieren" klicken, um sie zu übernehmen.
- In der Bosch Flow App das eBike öffnen, oben rechts auf das Zahnrad ⚙ tippen → Komponenten → Neues Gerät hinzufügen. Das eBike sucht jetzt nach der Bridge.
- HA eBike Bridge in der Liste auswählen und Pairing am Bike-Display bestätigen.
Sobald gepairt, verbindet sich das eBike bei jedem Einschalten automatisch mit der Bridge. Die Live-Werte (Akku-SoC, Speed, Tachostand, Lichtstatus, Lock-Status, ...) tauchen in HA als Sensoren auf.
Mit der ha-bosch-ebike-Cloud-Integration koppeln
Wenn du bereits die ha-bosch-ebike Cloud-Integration nutzt: In den Integrations-Einstellungen kannst du den Live-Tachostand-Sensor und den Live-Akkustand-Sensor verlinken. Tour-Distanz und Akku-Verbrauch werden dann exakt aus diesen Live-Werten berechnet statt aus den Cloud-Snapshots.
Falls etwas nicht klappt
- Web-Installer findet den ESP32 nicht: anderes USB-Kabel (Datenkabel, nicht reines Ladekabel), Treiber installieren (CP210x / CH340 je nach Board).
- Bike findet die Bridge nicht: Bike-Firmware in der Flow App prüfen, mindestens v19. Reichweite zwischen Bike und ESP32 maximal ca. 10 m.
- Pairing schlägt fehl: In HA den Button "eBike Clear Bonding" drücken, im Bike alte Komponente entfernen, dann frisch koppeln.
- Weitere Probleme: Issue im Repo öffnen.
Requirements
- An ESP32 dev board (e.g. ESP32-DevKitC, ESP32-WROOM-32). Other variants (S3 / C3 / C6) are not yet tested.
- A USB cable with data lines (not just a charging cable).
- Chrome or Edge on a desktop / laptop. Safari, Firefox, and mobile browsers do not support Web Serial.
- A Bosch eBike with smart system drive unit v19 or newer. Verify in the Bosch Flow App under Bike → Settings → System information.
How it works
- Plug the ESP32 into your computer via USB.
- Click "Install bridge onto ESP32" above.
- Select the ESP32's serial port in the browser dialog.
- Click "Install" and wait until the firmware is written (about 1 min).
- After reboot the browser prompts for your WiFi. Pick your network and enter the password.
- The bridge shows up automatically in Home Assistant under Settings → Devices & services. Click "Configure" to adopt it.
- In the Bosch Flow App, open your bike, tap the gear icon ⚙ top right → Components → Add new device. The bike now scans for the bridge.
- Select HA eBike Bridge from the list and confirm pairing on the bike's display.
Once paired, the bike reconnects to the bridge automatically every time it powers on. Live values (battery SoC, speed, odometer, light state, lock state, ...) appear as HA sensors.
Pair with the ha-bosch-ebike cloud integration
If you already use the ha-bosch-ebike cloud integration: in the integration's options you can wire the live odometer sensor and the live SoC sensor. Tour distance and battery consumption are then computed exactly from these live values instead of the cloud snapshots.
Troubleshooting
- Web installer cannot find the ESP32: try a different USB cable (data, not charge-only), install drivers (CP210x / CH340 depending on the board).
- Bike does not find the bridge: check firmware in the Flow App, must be v19+. BLE range between bike and ESP32 is about 10 m max.
- Pairing fails: press the "eBike Clear Bonding" button in HA, remove the old component on the bike, then re-pair.
- Other problems: open an issue on GitHub.