docs(wiki): discovery results, architecture, auth model, backend + relay pages

Ingests the 2026-07-09 live session (source page + raw GetConfiguration
dump): charger identified as SimpleCharge MultiSocketCharger, 60 kW DC
dual-standard (gun 1 EU/CCS, gun 2 GB/T); RFID and remote start/stop
verified; by-vehicle auth closed as not supported (three escalating tests
incl. MacEnabled=true after power-cycle); touchscreen-shows-VIN observation
with the DataTransferVendorId long-shot lead.

Adds/updates: architecture plan (FastAPI + PWA, phases 1-3 done), backend
entity, wifi-relays entity (Tuya local-control path + key extraction steps),
authorization concept (API user/scope model, per-gun cards), overview,
runbook, index, log.
This commit is contained in:
2026-07-11 18:58:20 +02:00
parent d7b17d9cb2
commit 3326c8d16c
12 changed files with 713 additions and 31 deletions
+38
View File
@@ -0,0 +1,38 @@
---
type: note
updated: 2026-07-09
tags: [runbook, discovery, hardware-test]
---
# Discovery Test Runbook — Autocharge + RFID Session
> [!note] Executed 2026-07-09 — all tests done, results in [[authorization]] and [[overview]]
> Test A (Autocharge): ❌ negative through all variants incl. `MacEnabled=true` + power-cycle. Test B (RFID): ✅ cards A+B captured & enrolled. Test C (remote start/stop): ✅ both verified. Kept as the template for any future retest (e.g. after a firmware update).
The physical test session to settle the open [[authorization]] questions. Prereq: `station.py` running (`venv\Scripts\python station.py` in `../discovering/`), learn mode ON, charger `eu092025` connected. Watch at `http://10.0.10.203:9000/status`, `/tags`, or `/docs`.
## Order matters
Do the Autocharge test **before** ever tapping a card in this session — the first plug-in is the clean observation.
## Test A — Autocharge (plug in, no card)
Connect a gun to a car. Do not tap anything.
| Observation | Conclusion | Next step |
|---|---|---|
| New idTag in console / `/tags` | ✅ Autocharge works | Let it charge ~2 min (captures first MeterValues/SoC), stop, whitelist the id as `kind:"car"` |
| Connector "Preparing", no idTag | No Autocharge by default | Retry after `POST /setconfig?key=MacEnabled&value=true` (lead from [[2026-07-09-discovery-eu092025]]) |
| Nothing | "By vehicle" not supported | Close the open decision in [[overview]] as ❌ |
## Test B — RFID cards
Tap each owned card once. Each should log `[LEARN] NEW idTag=...` and appear in `/tags`. **Write down the physical tap order** so the ids can be named in the allowlist.
## Test C (optional) — remote start
With a car plugged in: `curl -X POST "http://10.0.10.203:9000/start?connector=1"` — this is exactly what the future web panel will do. Expect `{"remote_start":"Accepted"}` then a `StartTransaction` (note: `AuthorizeRemoteTxRequests=false`, so no separate Authorize).
## Afterwards
Feed results back into the wiki (ingest `seen_tags.json` observations), name cards in `station_config.json` → `authorized`, and once all household ids are enrolled: set `learn_mode: false` and restart — the charger is then enforcing.