[APP][Pro] Stromer - Connect your Stromer e-bike to Homey

:rocket: New App Release: Stromer Bikes for Homey

Stromer | Homey

Hi all,

Excited to share a new app built for Stromer riders who want deeper insight and smarter automation around their speed peddler bike.

What’s inside:

  • OAuth2 login with full support for both v3 and v4 Stromer APIs
  • Multi-bike support for those with more than one Stromer in their account
  • 20+ capabilities including battery, temperature, trip data, GPS location, range and more
  • Adaptive polling: 10 minutes by default, automatically switching to 30 seconds when the bike is active
  • Flow cards: 6 triggers, 6 conditions, 5 actions for flexible automation
  • Homey Insights: all key data logged over time for trend analysis and performance tracking

This app is built for riders who want real-time awareness, smart rules, and tighter integration between their Stromer and their home ecosystem.

Feedback, feature ideas, and edge-case reports are more than welcome.

Enjoy the ride! :man_biking::high_voltage:

2 Likes

Retrieving API Credentials (MITM Method)

To use this app, you need to retrieve your Stromer API credentials. This requires intercepting the login request from the official Stromer app. Here’s how:

Method 1: Using Charles Proxy (Mac/Windows/Linux)

Step 1: Install Charles Proxy

  1. Download Charles Proxy from https://www.charlesproxy.com/
  2. Install and launch Charles
  3. Accept the trial or enter license key

Step 2: Configure SSL Proxying

  1. In Charles, go to Proxy → SSL Proxying Settings
  2. Click “Add” under SSL Proxying
  3. Enter:
  • Host: api3.stromer-portal.ch
  • Port: 443
  1. Click OK

Step 3: Install Charles Certificate on iPhone

  1. In Charles, go to Help → SSL Proxying → Install Charles Root Certificate on a Mobile Device
  2. Follow the instructions to configure your iPhone to use Charles proxy
  3. On iPhone, go to Settings → General → About → Certificate Trust Settings
  4. Enable full trust for Charles Proxy certificate

Step 4: Configure iPhone Proxy

  1. On iPhone, go to Settings → Wi-Fi
  2. Tap the (i) icon next to your connected network
  3. Scroll to HTTP Proxy → Configure Proxy → Manual
  4. Enter your Mac’s IP address (shown in Charles)
  5. Port: 8888
  6. Save

Step 5: Intercept Login Request

  1. Open Stromer OMNI app on iPhone
  2. Log out if already logged in
  3. In Charles, clear the session (Ctrl+K / Cmd+K)
  4. Log in with your Stromer credentials
  5. In Charles, find the request to api3.stromer-portal.ch/mobile/v4/o/token/ or /o/token/
  6. Click on the request → Request tab
  7. Look for the JSON body containing:

{ “grant_type”: “password”, “username”: “your@email.com”, “password”: “yourpassword”, “client_id”: “YOUR_CLIENT_ID_HERE”, “client_secret”: “YOUR_CLIENT_SECRET_HERE” // Only for v3 API }

  1. Copy the client_id (and client_secret if present)

Step 6: Clean Up

  1. On iPhone, go back to Wi-Fi settings → HTTP Proxy → Off
  2. Remove Charles certificate from iPhone (Settings → General → VPN & Device Management)

Method 2: Using mitmproxy (Mac/Linux - Advanced Users)

Step 1: Install mitmproxy

brew install mitmproxy # Mac # OR pip install mitmproxy # Linux/Mac

Step 2: Start mitmproxy

mitmproxy --listen-port 8080

Step 3: Configure iPhone Proxy

  1. Settings → Wi-Fi → (i) → HTTP Proxy → Manual
  2. Server: Your computer’s IP address
  3. Port: 8080

Step 4: Install Certificate

  1. On iPhone, browse to http://mitm.it
  2. Install the certificate for iOS
  3. Settings → General → About → Certificate Trust Settings → Enable

Step 5: Capture Credentials

  1. Open Stromer app on iPhone
  2. Log in with credentials
  3. In mitmproxy terminal, press / to search
  4. Search for token
  5. Press Enter to view request
  6. Look for client_id and client_secret in request body

Is the Stromer ST2 supported?

yes should, however I used to ride on a ST2, but not able to test this bike since I am a happy ST3 Stromer rider by now… If you would be able to test, then if something happens send me a note… Just updated for another person to version 1.03 Stromer | Homey

Thank‘s, i‘ll try it :+1:

1 Like

Did it work for you?