evcc icon indicating copy to clipboard operation
evcc copied to clipboard

v0.203.1 Does not start: cannot create charger type 'ocpp': timeout

Open thomkal opened this issue 1 year ago • 1 comments

Describe the bug

Since upgrade the Addon does not start in Home Assistant. Downgrade to earlier version 0.202.1 does not fix the new issue.

Nightly build does jot startup with Info: Using config file: /config/evcc.yaml Config not found. Please create a config under /config/evcc.yaml. For details see evcc documentation at https://github.com/evcc-io/evcc#readme.

Steps to reproduce

  1. Upgrade to evcc 0.203.1
  2. Start Addon

Configuration details

## Log
# log settings
log: info
levels:
  site: debug
  lp-1: debug
  lp-2: debug
  cache: error
  db: error

## minimal configuration example

site:
  title: Home # display name for UI
  meters:
    grid: my_grid
    pv:
      - my_pv
    battery:
      - my_battery

# define your loadpoints according your needs
# see https://docs.evcc.io/en/docs/reference/configuration/loadpoints
loadpoints:
  - title: Garage # display name for UI
    charger: garage # charger
    meter: my_shelly #shelly 3em pro
    vehicle: my_car # default vehicle

# trial token, valid endless 15000 days
sponsortoken: xxxx
# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  # replace with your real grid meter
  - name: my_grid
    type: template
    template: fronius-gen24
    usage: grid
    host: xxx # IP-Adresse oder Hostname
  #  port: 502 # Port (optional)
  # replace with your real pv system
  - name: my_pv
    type: template
    template: fronius-gen24
    usage: pv
    host: xxx # IP-Adresse oder Hostname
  #  port: 502 # Port (optional)
  # replace with your real battery
  - name: my_battery
    type: template
    template: fronius-gen24
    usage: battery
    host: xxx # IP-Adresse oder Hostname
  #  port: 502 # Port (optional)
  - name: my_shelly
    type: template
    template: shelly-pro-3em
    usage: charge
    host: xxx # IP-Adresse oder Hostname
    #user: # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.) (optional)
    #password: # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) (optional)

# replace with your real charger
# see https://docs.evcc.io/docs/devices/chargers
chargers:
  - name: garage
    type: template
    template: elvi
    stationid: EVB-xxx
    connector: 1
  #  connecttimeout: 5m
  #  timeout: 2m
  #  meter: false # optional

  #- name: my_charger
  #  type: template
  #  template: demo-charger
  #  status: C # charging
  #  power: 1 # 2 kW charging power
  #  enabled: true # optional

# replace with your real vehicle (optional)
# see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: my_car
    type: custom
    title: Jaguar I-Pace
    capacity: 90 # in kWh

# enter your real grid tariff and feed-in price
# see https://docs.evcc.io/docs/tariffs
tariffs:
  currency: CHF
  grid:
    type: fixed
    price: 0.29 # CHF/kWh
  feedin:
    type: fixed
    price: 0.10 # CHF/kWh

Log details

[main  ] INFO 2025/04/14 12:30:00 new version available: 0.203.1
Using config file: /config/evcc.yaml
starting evcc: 'EVCC_DATABASE_DSN=/data/evcc.db evcc --config /config/evcc.yaml'
[main  ] INFO 2025/04/14 12:32:36 evcc 0.203.1
[main  ] INFO 2025/04/14 12:32:36 using config file: /config/evcc.yaml
[main  ] INFO 2025/04/14 12:32:36 listening at :7070
[main  ] FATAL 2025/04/14 12:37:36 charger [garage] cannot create charger 'garage': cannot create charger type 'template': cannot create charger type 'ocpp': timeout
[main  ] FATAL 2025/04/14 12:37:36 will attempt restart in: 15m0s

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

HomeAssistant Add-on

External automation

  • [x] 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

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

Version

No response

thomkal avatar Apr 14 '25 10:04 thomkal

Same here. But not using Plugin - I am using debian on synology docker. First, I thought, it might be a Problem after my Pulsar Plus was Updated to Firmware: 6.7.24.

Now same as descibed above - downgrade to 0.202.1 is not solving the issue anymore .It seems that it is not a Problem with the Firmware.

[main ] INFO 2025/04/14 11:18:50 evcc 0.203.1 [main ] INFO 2025/04/14 11:18:50 using config file: /etc/evcc.yaml [db ] INFO 2025/04/14 11:18:50 using sqlite database: /root/.evcc/evcc.db [main ] INFO 2025/04/14 11:18:51 listening at :7070 [ocpp-1] DEBUG 2025/04/14 11:18:51 waiting for chargepoint: 5m0s [ocpp ] INFO 2025/04/14 11:18:56 charge point connected, registering: PulsarPlus [ocpp-1] DEBUG 2025/04/14 11:19:26 failed configuring availability: timeout [ocpp ] DEBUG 2025/04/14 11:19:43 charge point disconnected: PulsarPlus [main ] FATAL 2025/04/14 11:19:43 charger [my_charger] cannot create charger 'my_charger': cannot create charger type 'ocpp': timeout [main ] FATAL 2025/04/14 11:19:43 will attempt restart in: 15m0s [ocpp ] DEBUG 2025/04/14 11:19:44 charge point connected: PulsarPlus

jrollenmueller avatar Apr 14 '25 11:04 jrollenmueller