Skip to content

Connecting the Fox ESS Model A wallbox to a HEMS #31648

Description

@steinigermanuel-oss

Description

I switch the wallbox to UPC mode and enter the HEMS address. The wallbox reports that it is connected. The wallbox is detected in the HEMS under OPPC; it displays "Wallbox detected – please add charging station." When I attempt to add the charging station, it recognizes the wallbox and automatically adopts its ID. However, the app gets stuck in an infinite loop when saving, and the wallbox cannot be saved successfully.

Steps to Reproduce

  1. Configure OCPP in the wallbox.
  2. Click "Add charging station" in the evcc app.
  3. Select "OCPP 1.6" charging station.
  4. The wallbox ID is detected automatically. 5. Save... Infinite loop error: wallbox cannot be saved.

Configuration (YAML)

network:
  schema: https
  host: hemspro.local
hems:
  type: relay
  maxPower: 4200       # 1 SteuVE × 4200 W — adjust to grid operator agreement
  limit:
    source: script
    cmd: /usr/local/bin/controlbox-status.sh
    timeout: 5s

Configuration (UI)

{
  "experimental": false,
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "interval": 30,
  "meter": [
    {"id":41,"name":"db:41","config":{"baudrate":9600,"comset":"8N1","host":"192.168.178.20","id":71,"modbus":"tcpip","port":1502,"template":"kostal-ksem-inverter","usage":"grid"},"deviceProduct":"Kostal Smart Energy Meter (über den Wechselrichter)","type":"template"},
    {"id":5,"name":"db:5","config":{"baudrate":9600,"capacity":7.2,"comset":"8N1","endianness":"little","host":"192.168.178.20","id":71,"maxacpower":"0","maxsoc":100,"minsoc":5,"modbus":"tcpip","port":1502,"template":"kostal-plenticore-gen2","usage":"battery","watchdog":"60s"},"deviceProduct":"Kostal Plenticore Hybrid, inkl. Netzladung der Hausbatterie","deviceTitle":"Byd","type":"template"},
    {"id":4,"name":"db:4","config":{"baudrate":9600,"comset":"8N1","endianness":"little","host":"192.168.178.20","id":71,"maxacpower":8500,"modbus":"tcpip","port":1502,"template":"kostal-plenticore-gen2","usage":"pv","watchdog":"60s"},"deviceProduct":"Kostal Plenticore Hybrid, inkl. Netzladung der Hausbatterie","deviceTitle":"Wechselrichter","type":"template"}
  ],
  "mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
  "shm": {"vendorId":"","deviceId":"","deviceSerial":""},
  "site": {"title":"","grid":"db:41","pv":["db:4"],"battery":["db:5"],"aux":null,"ext":null},
  "tariff": [
    {"id":9,"name":"db:9","config":{"price":0.26,"template":"fixed"},"deviceProduct":"Fester Preis","type":"template"},
    {"id":8,"name":"db:8","config":{"price":0.11109999999999999,"template":"fixed"},"deviceProduct":"Fester Preis","type":"template"}
  ],
  "tariffRefs": {"grid":"db:9","feedIn":"db:8","co2":"","planner":"","solar":[]}
}

Logs

[site  ] DEBUG 2026/07/10 10:42:30 pv 1 power: 5324W
[site  ] DEBUG 2026/07/10 10:42:30 !! solar production: accumulate set db:4 78790.542kWh meter total (was: Accumulated: 0.147kWh updated: 2026-07-10 10:41:59 +0200 CEST meter: 78790.542kWh)
[site  ] DEBUG 2026/07/10 10:42:30 !! solar production: accumulate moved db:4 from 0.147 to 0.147
[site  ] DEBUG 2026/07/10 10:42:30 site power: -4290W
[script] DEBUG 2026/07/10 10:42:38 /usr/local/bin/controlbox-status.sh: false
[ocpp  ] DEBUG 2026/07/10 10:42:43 charge point disconnected: 60AHD32063BK100
[ocpp  ] DEBUG 2026/07/10 10:42:45 charge point connected: 60AHD32063BK100
[script] DEBUG 2026/07/10 10:42:48 /usr/local/bin/controlbox-status.sh: false
[script] DEBUG 2026/07/10 10:42:58 /usr/local/bin/controlbox-status.sh: false
[site  ] DEBUG 2026/07/10 10:42:59 ----
[gridcontrol] DEBUG 2026/07/10 10:42:59 power: 0W
[gridcontrol] DEBUG 2026/07/10 10:42:59 current: 0A
[site  ] DEBUG 2026/07/10 10:42:59 grid power: -3755W
[site  ] DEBUG 2026/07/10 10:42:59 battery 1 power: -645W
[site  ] DEBUG 2026/07/10 10:42:59 battery 1 soc: 95%
[site  ] DEBUG 2026/07/10 10:42:59 pv 1 power: 5325W
[site  ] DEBUG 2026/07/10 10:43:00 !! solar production: accumulate set db:4 78790.542kWh meter total (was: Accumulated: 0.147kWh updated: 2026-07-10 10:42:30 +0200 CEST meter: 78790.542kWh)
[site  ] DEBUG 2026/07/10 10:43:00 !! solar production: accumulate moved db:4 from 0.147 to 0.147
[site  ] DEBUG 2026/07/10 10:43:00 site power: -4300W
[ocpp  ] DEBUG 2026/07/10 10:43:00 charge point disconnected: 60AHD32063BK100
[ocpp  ] DEBUG 2026/07/10 10:43:02 charge point connected: 60AHD32063BK100
[script] DEBUG 2026/07/10 10:43:08 /usr/local/bin/controlbox-status.sh: false
[ocpp  ] DEBUG 2026/07/10 10:43:17 charge point disconnected: 60AHD32063BK100
[script] DEBUG 2026/07/10 10:43:18 /usr/local/bin/controlbox-status.sh: false
[ocpp  ] DEBUG 2026/07/10 10:43:19 charge point connected: 60AHD32063BK100

Version

v0.304.3

System

linux/arm64, CEST +02:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions