--- type: source updated: 2026-07-09 ingested: 2026-07-09 raw: raw/FINDINGS_AND_REQUIREMENTS.md tags: [ocpp, hardware, requirements] --- # Findings & Requirements — Anfu Home Charger OCPP Integration **Raw source:** [FINDINGS_AND_REQUIREMENTS.md](../raw/FINDINGS_AND_REQUIREMENTS.md) (project findings doc, last updated 2026-07-09) ## TL;DR The goal is a private, self-hosted **OCPP 1.6J CSMS** for a home EV charger — no billing, no public charging. Authorization via existing RFID cards, possibly by vehicle (Autocharge, ⚠️ untested), and a web app reached over [[netbird|NetBird]]. Connectivity is **✅ solved**: the [[jc-6620|JC-6620]] controller inside the [[anfu-charger|charging pile]] successfully dials out to a CSMS both on the local LAN and across the NAT boundary on the WAN subnet, after several hard-won configuration fixes. ## Key facts - **Hardware topology** — three devices behind a Four-Faith router (LAN `192.168.2.0/24`, WAN on `10.0.10.0/24`): the JC-6620 OCPP controller (`.228`), the EV charging controller (`.118`), and a maintenance PC (`.114`). Details in [[network-topology]]. - **The JC-6620 is the OCPP client.** It opens the outbound WebSocket to the CSMS and talks to the EV controller locally on port 2403. - **CSMS software** is the scripts in `../discovering/` — see [[csms-toolkit]]. `station.py` is the real controller with allowlist auth + learn mode. - **Charger-side config** happens on the pile's touchscreen: CSMS URL, ChargerID, `Billing Mode = BackgroundBilling`, `Communication Method = Ethernet`, JC-6620 static IP with gateway `192.168.2.1`. - **Gotchas** (each cost real debugging time) are catalogued in [[troubleshooting]] — notably: no `BackgroundBilling` = zero TCP SYNs, and the JC-6620 shipped with its gateway pointing at itself. - **Verified working:** ✅ local CSMS at `192.168.2.114:9000`; ✅ WAN CSMS at `10.0.10.203:9000` after the gateway fix. - **Next build:** the three [[authorization]] methods, all funneling through `decide(id_tag)` in `station.py`. - **Open decisions** (host choice, web-app auth, Autocharge test, IP stability) tracked in [[overview]]. ## Wiki changes from this ingest First source — seeded the entire wiki: [[overview]], [[jc-6620]], [[anfu-charger]], [[csms-toolkit]], [[network-topology]], [[authorization]], [[troubleshooting]], [[ocpp]], [[netbird]].