NEWS
Bosch eBike Live Datenschnittstelle – ESPHome Bridge
-
Habe gerade gesehen das über die Bosch eBike Live Data Interface (LDI) Schnittstelle die Daten des eBike ins Smarthome gebracht werden können.
Informationen dazu:
https://community.home-assistant.io/t/bosch-ebike-live-data-interface-bridge-as-an-esphome-external-component-ble/1010148https://github.com/Xunil99/ha-bosch-ebike/tree/main/esphome
habe einfach noch MQTT hinzugefügt und schon auch in IoBroker.
zb:# Example ESPHome configuration for the Bosch eBike Live Data Interface bridge. # Copy this file to your ESPHome config directory (e.g. /config/esphome/) and # adjust the device name / friendly name to your liking. Make sure the # `components/bosch_ebike_ldi/` folder lives next to this file. esphome: name: ebike-bridge friendly_name: eBike Bridge min_version: 2025.11.0 name_add_mac_suffix: false esp32: variant: esp32c3 # board: esp32dev is set explicitly so PlatformIO uses the standard # ESP32-DevKitC board defaults (40 MHz crystal, DIO flash mode, standard # partition table). Without it, some ESPHome + ESP-IDF combinations fall # back to defaults that cause subtle WiFi RF instability and the symptom # "API connection issues" after a successful flash. board: esp32-c3-devkitm-1 framework: type: esp-idf sdkconfig_options: # NimBLE host stack with peripheral + GATT-client roles. # Bluedroid is disabled because the two stacks are mutually exclusive. CONFIG_BT_ENABLED: y CONFIG_BT_NIMBLE_ENABLED: y CONFIG_BT_BLUEDROID_ENABLED: n CONFIG_BT_CONTROLLER_ENABLED: y CONFIG_BTDM_CTRL_MODE_BLE_ONLY: y CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY: n CONFIG_BTDM_CTRL_MODE_BTDM: n CONFIG_BT_NIMBLE_MAX_CONNECTIONS: "1" CONFIG_BT_NIMBLE_ROLE_PERIPHERAL: y CONFIG_BT_NIMBLE_ROLE_BROADCASTER: y # Central role enables the GATT client API (ble_gattc_*). # The eBike connects to us as Central, but on that connection we act as # GATT *client* against the eBike's GATT *server* on the Live Data Service. CONFIG_BT_NIMBLE_ROLE_CENTRAL: y CONFIG_BT_NIMBLE_ROLE_OBSERVER: y CONFIG_BT_NIMBLE_SM_LEGACY: n CONFIG_BT_NIMBLE_SM_SC: y CONFIG_BT_NIMBLE_NVS_PERSIST: y CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU: "247" logger: level: DEBUG logs: bosch_ebike_ldi: DEBUG mqtt: broker: "MQTT Server" username: "MQTT Username" password: "MQTT Paswort" api: ota: - platform: esphome wifi: ssid: !secret wifi_ssid password: !secret wifi_password web_server: port: 80 version: 3 # Pull the bridge component straight from GitHub on every compile. # This way you always get the latest fixes without copying files around. # Pin to a tag (e.g. @v1.10.0) instead of @main if you want reproducible builds. external_components: - source: github://Xunil99/ha-bosch-ebike@main components: [bosch_ebike_ldi] refresh: 1d # Alternative for offline / air-gapped setups: copy the # `esphome/components/bosch_ebike_ldi/` folder from the repo next to this YAML # and replace the block above with: # # external_components: # - source: # type: local # path: components bosch_ebike_ldi: id: ebike_bridge device_name: "HA eBike Bridge" sensor: - platform: bosch_ebike_ldi bosch_ebike_ldi_id: ebike_bridge speed: name: "eBike Speed" cadence: name: "eBike Cadence" rider_power: name: "eBike Rider Power" ambient_brightness: name: "eBike Ambient Brightness" battery_soc: name: "eBike Battery SoC (Live)" odometer: name: "eBike Odometer (Live)" binary_sensor: - platform: bosch_ebike_ldi bosch_ebike_ldi_id: ebike_bridge connected: name: "eBike Connected" light: name: "eBike Light" system_locked: name: "eBike System Locked" charger_connected: name: "eBike Charger Connected" light_reserve: name: "eBike Light Reserve" diagnosis_active: name: "eBike Diagnosis Active" in_motion: name: "eBike In Motion" # Optional: button to wipe the BLE bond from NVS. Useful if pairing breaks # (for example after removing the accessory in the Flow app). Re-pair afterwards. button: - platform: template name: "eBike Clear Bonding" on_press: then: - lambda: |- id(ebike_bridge).clear_bonding();Nur noch eure MQTT Einstellungen Ändern.
MFG
Matthias
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden