{"id":31049239,"url":"https://github.com/timbroddin/stromer-api","last_synced_at":"2026-03-15T20:11:40.351Z","repository":{"id":57372892,"uuid":"152743159","full_name":"TimBroddin/stromer-api","owner":"TimBroddin","description":"A wrapper for the Stromer e-bike API","archived":false,"fork":false,"pushed_at":"2018-10-14T08:23:19.000Z","size":75,"stargazers_count":20,"open_issues_count":3,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-12T04:01:08.532Z","etag":null,"topics":["e-bike","nodejs","stromer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimBroddin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-12T11:51:34.000Z","updated_at":"2025-06-11T12:47:49.000Z","dependencies_parsed_at":"2022-08-29T11:01:56.208Z","dependency_job_id":null,"html_url":"https://github.com/TimBroddin/stromer-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TimBroddin/stromer-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fstromer-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fstromer-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fstromer-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fstromer-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimBroddin","download_url":"https://codeload.github.com/TimBroddin/stromer-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimBroddin%2Fstromer-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275174427,"owners_count":25418064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e-bike","nodejs","stromer"],"created_at":"2025-09-14T21:48:26.084Z","updated_at":"2026-03-15T20:11:40.278Z","avatar_url":"https://github.com/TimBroddin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stromer API for Node JS\n\nThis NPM package provides a wrapper for the [Stromer e-bike API](https://www.stromerbike.com/fr_BE.html). By using this package you can get your bike's status, position and much more.\n\n## Installation\n\n`yarn add stromer-api`\n\nor\n\n`npm install stromer-api --save`\n\n## Usage\n\n    const Stromer = require('stromer-api');\n\n    const api = new Stromer({\n    username: \"xxxxx\",\n    password: \"xxxxxx\",\n    client_id: \"xxxxxxx\",\n    client_secret: \"xxxxxxx\"\n    });\n\n    api.bike.state.get().then(state =\u003e console.log(state));\n\n### Client id \u0026 secret\n\nI can not share the Stromer client id \u0026 secret. However, it should be pretty easy to obtain them by using a tool like [mitmproxy](https://mitmproxy.org/) while using an official Stromer app.\n\n## Methods\n\nOnce you've initiated the API, it's pretty easy to get all the info you need. All methods are async, so you can either use `async await` or use promises.\n\nLet's say you've initiated the API like I did above:\n\n| Method                                | Returns                                                              |\n| ------------------------------------- | -------------------------------------------------------------------- |\n| api.bike.state.get(cached = false)    | The state of your bike (battery info, FW version, temperatures, ...) |\n| api.bike.position.get(cached = false)    | The position of your bike                                            |\n| api.bike.serviceInfo.get()            | Technical details of all your bike parts (not in official app)       |\n| api.bike.settings.get()               | Get all settings                                                     |\n| api.bike.settings.getMainSettings()   | Get main settings (auto lock, ...)                                   |\n| api.bike.settings.getSensorSettings() | Get torque and brake sensor settings                                 |\n| api.bike.settings.getTuningSettings() | Get tuning settings for preset 2                                     |\n| api.bike.settings.set(data)           | Change a setting, pass data as an object                             |\n| api.bike.light.set(mode = flash)      | Flash the front light                                                |\n| api.bike.lock()                       | Lock your bike                                                       |\n| api.bike.unlock()                     | Unlock your bike                                                     |\n\n## Thanks\n\nMany thanks to merstro on [StromerForum.nl](http://stromerforum.nl) for the initial Python code!\n\n## Disclaimer\n\nUse at your own risk!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimbroddin%2Fstromer-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimbroddin%2Fstromer-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimbroddin%2Fstromer-api/lists"}