Skip to content

[UI Config] Cannot add OCPP Charger: connector already registered: 1 #19761

Open
@aguilaair

Description

@aguilaair

Describe the bug

When adding a Wallbox Commander 2 (FW 6.x), the charger connects to EVCC's OCPP correctly, but then I cannot add it to my dashboard. I get the following error: create failed: cannot create charger type 'template': cannot create charger type 'ocpp': connector already registered: 1

Steps to reproduce

  1. Add Charger
  2. Select Wallbox FW 6.x
  3. Enter station id
  4. Click Save, box populates with correct info, popup with error
Image

Configuration details

[main  ] INFO 2025/03/13 20:40:42 evcc 0.200.9
[main  ] INFO 2025/03/13 20:40:42 using config file: /etc/evcc.yaml
[db    ] INFO 2025/03/13 20:40:42 using sqlite database: /root/.evcc/evcc.db
[mqtt  ] INFO 2025/03/13 20:40:43 connecting evcc-514717598 at tcp://hass.smart:1883

Konfiguration (/etc/evcc.yaml):

network:
  host: evcc.edm.sh
  port: 7070

interval: 30s

# trial token, valid until 2025-03-24
sponsortoken: *****

mqtt:
  broker: hass.smart:1883
  topic: evcc
  user: *****
  password: *****

circuits:
  - name: main
    title: Main Circuit
    maxPower: 7

vehicles:
  - name: XC60
    type: template
    template: volvo2mqtt
    title: XC60
    capacity: 18.8
    icon: car
    timeout: 720h
    vin: *****
  - name: XC40
    type: template
    template: volvo2mqtt
    title: XC40
    capacity: 78
    icon: car
    timeout: 720h
    vin: *****

meters:
  - name: grid
    type: template
    template: tesla-powerwall
    usage: grid
    host: battery.power
    password: *****
  - name: pv
    type: template
    template: tesla-powerwall
    usage: pv
    host: battery.power
    password: *****
  - name: battery
    type: template
    template: tesla-powerwall
    usage: battery
    host: battery.power
    password: *****
  - name: solar
    type: template
    template: fronius-solarapi-v1
    usage: pv
    host: inverter.power
    user: *****


Version: `0.200.9`

Log details

[ocpp  ] INFO 2025/03/13 20:42:46 charge point connected, registering: garaje1
[garaje-1] WARN 2025/03/13 20:43:12 failed triggering StatusNotification: cannot send request 3658716379, no client garaje exists
[garaje2-1] WARN 2025/03/13 20:56:49 failed triggering StatusNotification: cannot send request 3313779249, no client garaje2 exists
[ocpp  ] INFO 2025/03/13 21:02:39 charge point connected, registering: cambrils

What type of operating system or environment does evcc run on?

Docker container

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.200.9 (c2f31f1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions