Files
charging_station/wiki/overview.md
T
julian 2e5960fae3 feat: bootstrap wiki for Anfu home EV charger OCPP integration project
- Created initial wiki structure with CLAUDE.md schema, index.md, and log.md.
- Ingested findings and requirements document into the wiki.
- Added concepts for authorization methods, network topology, OCPP protocol, and troubleshooting.
- Documented entities including the Anfu charger, JC-6620 controller, and CSMS toolkit.
- Established configuration files for Obsidian app settings and workspace layout.
- Implemented core plugins and appearance settings for the wiki.
2026-07-09 15:29:26 +02:00

2.3 KiB

type, updated, tags
type updated tags
meta 2026-07-09
synthesis

Overview — Anfu Home Charger OCPP Project

Goal: a private, self-hosted ocpp backend (CSMS) for a home EV charger. No billing, no public charging. Three ways to authorize a charge: existing RFID cards, by vehicle (if the hardware allows — ⚠️ untested), and a mobile-friendly web app reached over netbird.

Current state (2026-07-09)

Connectivity: ✅ solved. The jc-6620 controller inside the anfu-charger reliably dials out to the CSMS — verified both on the charger's own LAN (192.168.2.114:9000) and across the NAT boundary on the WAN subnet (10.0.10.203:9000). Getting here required the fixes catalogued in troubleshooting; the network layout is in network-topology.

Software: discovery-grade. The csms-toolkit (../discovering/) can accept connections, log frames, and enforce an allowlist with learn mode. It is a tester/foundation, not yet the always-on production service.

Authorization: designed, partially built. All three methods funnel through one gate — decide(id_tag) in station.py. See authorization for the plan per method.

What's next

  1. RFID enrollment — tap each card in learn mode, harvest idTags from seen_tags.json, add to the allowlist, then flip learn_mode=false. (Mechanism already implemented.)
  2. Autocharge test — ⚠️ plug the car in without tapping a card; if a stable idTag appears, "by vehicle" works. If not, it's off the table for this hardware. See authorization.
  3. Web control panel — Start/Stop via OCPP RemoteStartTransaction/RemoteStopTransaction, live status, allowlist management. Served behind NetBird.

Open decisions ❓

Decision Options Status
Always-on host for CSMS + app LAN PC · the 10.0.10.203 machine · dedicated box (e.g. Pi on charger LAN, joined to NetBird) open
Web app auth NetBird isolation only · also PIN/token open
Autocharge run the plug-in test or skip "by chassis" open — needs physical test
Host IP stability static IP · DHCP reservation open (required either way — touchscreen URL is hardcoded)

Sources