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

**URL:** https://community.homey.app/t/app-pro-stromer-connect-your-stromer-e-bike-to-homey/145791
**Category:** Apps
**Tags:** app, homey-pro
**Created:** [November 23, 2025, 3:57pm UTC](https://community.homey.app/t/app-pro-stromer-connect-your-stromer-e-bike-to-homey/145791 "2025-11-23T15:57:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)
#### Post date: [November 23, 2025, 3:58pm UTC](https://community.homey.app/t/app-pro-stromer-connect-your-stromer-e-bike-to-homey/145791/2 "2025-11-23T15:58:16Z")

</div>

### 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/](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](mailto: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](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  
 ![CleanShot 2025-11-23 at 22.40-Safari@2x](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd19dfd70888d66ffc3bb8dec65908429d7cc0ad.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a38fb42d59a7b481b33ab3575f904536d4637107.png)

---

_[View the full topic](https://community.homey.app/t/app-pro-stromer-connect-your-stromer-e-bike-to-homey/145791)._
