What needed solving?
A known-fault 40 A Autel MaxiCharger Home AC (W10-N14) would charge a Volkswagen e-Golf at only ~14–15 A. I wanted to isolate the limiting layer while preserving local energy-management control alongside OCPP.
How I approached it
- Used local Modbus TCP at port 502 to find and change charger and connector current limits, establishing that lower-current commands affected charging.
- Connected the EVSE to Home Assistant through a local OCPP 1.6J central system and added GetCompositeSchedule as an upstream contribution (PR #2153) to distinguish requested from effective limits.
- Captured diagnostic uploads via OCPP GetDiagnostics, including a Python multipart HTTP receiver and a firmware-specific malformed-URL workaround.
- Correlated diagnostic pwm=166 with a 10 A profile and pwm=255 with unrestricted ~14.6 A draw: the latter suggests a 25.5% J1772 duty cycle and ~15.3 A advertised current.
- Investigated separate ECC and ECP firmware, Android APKs, encrypted Xlog, logcat, local EMS and cloud endpoints, without treating a plausible firmware mismatch as a proven root cause.
The interesting part
A precisely repeated boundary can reveal far more than a vague symptom. Here the data supports an exact 0xFF saturation signature in or before the pilot-generation path; it does not identify the responsible controller or prove an 8-bit field.
READ THE ORIGINAL AUTEL EVSE ARTICLE ↗
The evidence behind the 0xFF ceiling
Controlled test
A known-faulty 40 A Autel MaxiCharger W10-N14 was charging at approximately 14–15 A. A 2020 Canadian e-Golf charged above 20 A on a different EVSE, narrowing the fault domain.
Modbus and OCPP
The charger exposed Modbus TCP on port 502 and a newer register map with charger and connector power/current limits. A local OCPP 1.6J server allowed Smart Charging tests; a GetCompositeSchedule service was contributed to the Home Assistant OCPP integration (upstream PR #2153).
Measured pilot behavior
With a 10 A OCPP request, diagnostic pwm=166 implied 16.6% duty and 9.96 A advertised; observed vehicle draw was about 9.35 A. Without that profile, pwm=255 implied 25.5% duty and 15.3 A advertised; observed draw was about 14.63 A.
What is and is not established
The exact 255 boundary is consistent with saturation or clamping somewhere in the pilot command path. It does not establish a uint8_t overflow, prove a firmware mismatch, or identify which of the Charge Control and Power Control modules imposes the limit.
Firmware and logs
The observed modules were ECC 1.38.00 and ECP 1.22.00. Diagnostic collection used OCPP GetDiagnostics and an HTTP multipart receiver; app investigation used APK inspection, logcat and encrypted Mars Xlog analysis. The original full article preserves commands, captures and caveats.
Next investigation
Verify the firmware pairing, identify the ECC-to-ECP boundary and inspect the Power Control firmware and inter-controller communications. Do not treat a proposed repair as an already confirmed fix.
Observations and working hypotheses are distinguished explicitly; published data is static and sanitized.