bosch_sync
Fetch and cache Bosch eBike data (bikes, batteries, components, service, updates) into SQLite. Run before using other tools to populate or refresh cached data.
Instructions
Sync Bosch eBike data to the local cache.
Fetches data from Bosch and stores it in SQLite. The source depends on your sign-in: a standard Bosch eBike Flow account uses the mobile app API; an EU Data Act (euda) client uses the Data Act API. Run this to populate the cache before using other bosch_get_* tools, or to refresh after a ride or charge cycle.
Bikes are identified automatically from your Bosch Flow account. Battery snapshots build a time series for health trend analysis.
Service records, software-update history and capacity-tester data are only available with a euda (EU Data Act) client; with a standard sign-in they report status "unavailable" rather than an empty result.
Args: data_types: What to sync. Options: "all", "bikes", "batteries", "components", "service", "software_updates", "capacity". Comma-separated for multiple, e.g. "bikes,batteries". Default: "all".
Returns a per-type summary: status (ok/empty/unavailable/error), record count, and a message explaining any non-ok result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_types | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |