Files
charging_station/wiki/sources/2026-07-09-findings-and-requirements.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, ingested, raw, tags
type updated ingested raw tags
source 2026-07-09 2026-07-09 raw/FINDINGS_AND_REQUIREMENTS.md
ocpp
hardware
requirements

Findings & Requirements — Anfu Home Charger OCPP Integration

Raw source: 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. Connectivity is ✅ solved: the jc-6620 controller inside the anfu-charger 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.