evcc: Nach Update auf 0.122.0 kommt "cannot create charger 'Vestel-EVC04"

Describe the bug

Nach Update auf 0.122.0 kommt “cannot create charger 'Vestel-EVC04”

grafik

Steps to reproduce

  1. Start EVCC

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: info
levels:
  cache: error

interval: 18s

sponsortoken:xxxxxxxxxxxxxx

meters:
- type: template
  template: fronius-gen24 
  usage: grid  
  host: xxx.xxx.xxx.xxx  
  port: 502  
  name: Fronius-SmartMeter
- type: template
  template: fronius-gen24 
  usage: pv  
  host: xxx.xxx.xxx.xxx  
  port: 502  
  name: FroniusGen24
- type: template
  template: fronius-gen24 
  usage: battery  
  host: xxx.xxx.xxx.xxx  
  port: 502  
  name: BYD HVS 10.2  
  capacity: 10.2 # in kWh

chargers:
- type: template
  template: vestel 
  id: 255  
  host: xxx.xxx.xxx.xxx  
  port: 502  
  modbus: tcpip
  name: Vestel-EVC04
  
  vehicles:
- type: template
  template: mini 
  title: MINI SE  
  user: xxxxxx@.xxx   
  password: xxxxxxxxx   
  vin: xxx.xxx.xxx.xxx   
  cache: 15m
  capacity: 28.9  
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  name: MINI SE
  icon: car
  
 - title: Vestel EVC04
  charger: Vestel-EVC04
  vehicle: MINI SE
  mode: minpv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  priority: 5
  soc:
    poll:
      mode: charging
      interval: 60m
    estimate: true 
  resetOnDisconnect: true

site:
  title: Home
  meters:
    grid: Fronius-SmartMeter
    pv: FroniusGen24
    battery: BYD HVS 10.2
  residualPower: 100

Log details

evcc --log debug
[main  ] INFO 2023/11/04 20:47:06 evcc 0.122.0
[main  ] INFO 2023/11/04 20:47:06 using config file: /etc/evcc.yaml
[main  ] INFO 2023/11/04 20:47:06 starting ui and api at :7070
[db    ] INFO 2023/11/04 20:47:06 using sqlite database: /root/.evcc/evcc.db
[vestel] TRACE 2023/11/04 20:47:06 modbus: send 00 01 00 00 00 06 ff 04 07 d2 00 01
[vestel] TRACE 2023/11/04 20:47:06 modbus: recv 00 01 00 00 00 03 ff 84 02
[main  ] FATAL 2023/11/04 20:47:06 cannot create charger 'Vestel-EVC04': cannot create charger 'template': cannot create charger 'vestel': failsafe timeout: modbus: exception '2' (illegal data address), function '4'
[main  ] FATAL 2023/11/04 20:47:06 will attempt restart in: 5m0s

What type of operating system are you running?

Linux

Version

0.122.0

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

@TMoersch es ist doch schon an Bug markiert. Warum noch ein “ich auch” Posting ohne zusätzliche Informationen?

Das Problem wurde mit https://github.com/evcc-io/evcc/pull/10573 eingebaut:

modbus: send 00 01 00 00 00 06 ff 04 07 d2 00 01

Ursache ist immer die gleiche: wir beheben Fehler, können das mangels Hardware aber nicht testen. Tests von Anwendern im Nightly bleiben aus. Damit landen auch die neuen Fehler dann im Release.

Fixed in https://github.com/evcc-io/evcc/commit/b8fcdbf1e29a83e43d05e14594f27dec174a3356