Use this guide to collect redacted JSON samples so we can map session cost fields, charger load-balancing keys, and tariff shapes across firmware versions.
| Endpoint (examples) | Why |
|---|---|
GET /dev/v3/chargingstations/{serial}/sessions |
Session cost, currency, userName, cardLabel, etc. |
GET /dev/v3/servicelocation/{id}/chargingstations |
Load balancing, max current, connector details |
GET /dev/v2/servicelocation/{id}/tariffs |
TOU / multiple tariffs |
- mitmproxy (recommended): proxy phone or HA host, install Smappee app cert, browse the app.
- Charles / HTTP Toolkit: same idea.
- Home Assistant debug logging: enable
custom_components.ha_smappee_overview.api.client: debugand inspect error bodies (limited).
Remove or replace:
- Email, name, street, full serials if you prefer (short prefixes OK).
- OAuth tokens, passwords.
- Exact GPS if present.
Keep:
- JSON keys and value types (numbers/strings/booleans).
- Example numeric magnitudes (e.g.
cost: 3.42→ OK).
Open a GitHub issue with:
- Product (EV Wall, Ultra, etc.) and rough firmware.
- Paste redacted JSON or attach
tests/fixtures/smappee_redacted_samples.json-style snippets.
Fixture examples live in tests/fixtures/smappee_redacted_samples.json.