evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Heidelberg Wallbox Timeout issues

Open KalkiDE opened this issue 2 years ago • 8 comments

Describe the bug

After update of EVCC from v0.122.1 to v0.129.0 (required due to update of SEAT/CUPRA API), I have regular timeout issues with my Heidelberg Wallbox, connected via TCP/IP gateway. Readout of power meter works w/o issues with same TCP/IP gateway.

Steps to reproduce

  1. Multiple restarts of EVCC
  2. Multiple restarts of TCP/IP gateway
  3. Multiple restarts of Heiderberg Wallbox

Configuration details

- name: meter_wallbe
    type: template
    template: eastron
    usage: charge
    # RS485 via TCP/IP (Modbus RTU)
    modbus: rs485tcpip
    id: 1
    host: 10.1.12.20 # Hostname
    port: 502 # Port

  - name: meter_heidelberg
    type: template
    template: eastron
    usage: charge
    # RS485 via TCP/IP (Modbus RTU)
    modbus: rs485tcpip
    id: 2
    host: 10.1.12.20 # Hostname
    port: 502 # Port 


chargers:
  - name: charger_heidelberg
    type: template
    template: heidelberg 
    # RS485 via TCP/IP (Modbus RTU)
    modbus: rs485tcpip
    id: 3
    host: 10.1.12.20 # Hostname
    port: 502 # Port 

vehicles:
  - name: vehicle_leon
    title: SEAT Leon Sportstourer
    type: seat
    user: xxx
    password: xxx
    capacity: 10.4
    onIdentify:
      mode: pv

loadpoints:
  - title: Heidelberg
    charger: charger_heidelberg
    mode: "off"
    meter: meter_heidelberg
    vehicle: vehicle_leon
    enable:
      delay: 2m
      threshold: -1600 # es wird eingeschaltet, wenn 2 Minuten lang 200 W Einspeisung vorhanden sind
    disable:
      delay: 5m
      threshold: 300 # es wird ausgeschaltet, wenn 5 Minuten lang mehr als 300 W aus dem Netz bezogen werden

Log details

network:
  port: 7070

log: debug

interval: 30s

#mqtt:
#  broker 10.1.20.31:1883
#  topic: evcc

mqtt:
  broker: 10.1.20.31:1883
  

influx:
  url: http://10.1.20.31:8086
  database: EVCC # InfluxDB v2.x uses term `bucket` but for compatibility still named `database` here
  token: xxx
  org: xxx


meters:
  - name: grid
    type: template
    template: tasmota
    usage: grid
    host: 10.1.12.100

#    type: custom
#    power:
#      source: mqtt
#      topic: tele/tasmota_Grid/SENSOR
#      jq: .SML.Power_curr
#      timeout: 60s 
   
      
      
#    type: custom
#    power:
#      source: js
#      vm: shared
#      script: |
#        state.pvpower = 8000+500*Math.random();
#        state.batterypower = state.gridpower > 0 ? 1000 * Math.random() : 0;
#        state.gridpower = state.loadpoints[0].chargepower + state.loadpoints[1].chargepower + state.residualpower - state.batterypower - state.pvpower;
#        state.gridpower;
  - name: pv
#    type: template
#    template: tasmota
#    usage: pv
#    host: 10.1.12.101
  
    type: custom
    power:
      source: http
      uri: http://10.1.12.101/cm?cmnd=Status+8
      jq: .StatusSNS.SML.Power_curr
      scale: -1     
      timeout: 30s
#      source: mqtt
#      topic: tele/tasmota_PV/SENSOR
#      jq: .SML.Power_curr
#      scale: -1
#      timeout: 60s
#      vm: shared
#      script: state.pvpower;

#  - name: battery
#    type: custom
#    power:
#      source: js
#      vm: shared
#      script: state.batterypower;
#    soc:
#      source: js
#      vm: shared
#      script: |
#        if (state.batterypower < 0) state.batterySoc++; else state.batterySoc--;
#        if (state.batterySoc < 10) state.batterySoc = 90;
#        if (state.batterySoc > 90) state.batterySoc = 10;
#        state.batterySoc;
Logs
[main ] INFO 2024/08/16 18:57:33 evcc 0.129.0
[main ] INFO 2024/08/16 18:57:33 using config file: /etc/evcc.yaml
[db ] INFO 2024/08/16 18:57:33 using sqlite database: /root/.evcc/evcc.db
[mqtt ] INFO 2024/08/16 18:57:33 connecting evcc-1452585753 at tcp://10.1.20.31:1883
[mqtt ] DEBUG 2024/08/16 18:57:33 tcp://10.1.20.31:1883 connected
[main ] INFO 2024/08/16 18:57:33 listening at :7070
[lp-1 ] DEBUG 2024/08/16 18:57:36 charge total import: 1151.609kWh
[site ] INFO 2024/08/16 18:57:37 site config:
[site ] INFO 2024/08/16 18:57:37 meters: grid ✓ pv ✓ battery ✗
[site ] INFO 2024/08/16 18:57:37 grid: power ✓ energy ✓ currents ✗
[site ] INFO 2024/08/16 18:57:37 pv 1: power ✓ energy ✗ currents ✗
[site ] INFO 2024/08/16 18:57:37 vehicles:
[site ] INFO 2024/08/16 18:57:37 vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✗
[lp-1 ] INFO 2024/08/16 18:57:37 loadpoint 1:
[lp-1 ] INFO 2024/08/16 18:57:37 mode: off
[lp-1 ] INFO 2024/08/16 18:57:37 charger: power ✓ energy ✓ currents ✓ phases ✗ wakeup ✓
[lp-1 ] INFO 2024/08/16 18:57:37 meters: charge ✓
[lp-1 ] INFO 2024/08/16 18:57:37 charge: power ✓ energy ✓ currents ✓
[lp-1 ] DEBUG 2024/08/16 18:57:37 phase timer inactive
[lp-1 ] DEBUG 2024/08/16 18:57:37 pv timer inactive
[lp-1 ] INFO 2024/08/16 18:57:37 vehicle updated: unknown -> SEAT Leon Sportstourer
[lp-1 ] DEBUG 2024/08/16 18:57:37 set charge mode: pv
[site ] DEBUG 2024/08/16 18:57:37 ----
[lp-1 ] DEBUG 2024/08/16 18:57:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 18:57:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 18:57:37 pv power: 221W
[site ] DEBUG 2024/08/16 18:57:37 grid meter: 182W
[site ] DEBUG 2024/08/16 18:57:37 site power: 282W
[lp-1 ] DEBUG 2024/08/16 18:57:37 vehicle odometer: xxx km
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge voltages: [230 232 231]V
[lp-1 ] DEBUG 2024/08/16 18:57:38 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 18:57:38 charger status: B
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge start energy: 1.15e+03kWh
[lp-1 ] INFO 2024/08/16 18:57:38 car connected
[lp-1 ] DEBUG 2024/08/16 18:57:38 pv timer elapse
[lp-1 ] DEBUG 2024/08/16 18:57:38 pv timer inactive
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 18:57:38 vehicle status: B
[lp-1 ] DEBUG 2024/08/16 18:57:38 vehicle soc: 92%
[lp-1 ] DEBUG 2024/08/16 18:57:38 vehicle range: 50km
[lp-1 ] DEBUG 2024/08/16 18:57:38 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 18:57:38 ----
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 18:57:38 pv power: 220W
[site ] DEBUG 2024/08/16 18:57:38 grid meter: 200W
[site ] DEBUG 2024/08/16 18:57:38 site power: 300W
[lp-1 ] DEBUG 2024/08/16 18:57:38 vehicle odometer: xxx km
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge voltages: [230 232 230]V
[lp-1 ] DEBUG 2024/08/16 18:57:38 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 18:57:38 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 18:57:48 charger status: read tcp 172.18.0.3:55878->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 18:58:07 ----
[lp-1 ] DEBUG 2024/08/16 18:58:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 18:58:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 18:58:07 pv power: 213W
[site ] DEBUG 2024/08/16 18:58:07 grid meter: 191W
[site ] DEBUG 2024/08/16 18:58:07 site power: 291W
[lp-1 ] DEBUG 2024/08/16 18:58:07 charge voltages: [228 230 231]V
[lp-1 ] DEBUG 2024/08/16 18:58:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 18:58:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 18:58:17 charger status: read tcp 172.18.0.3:47674->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 18:58:37 ----
[lp-1 ] DEBUG 2024/08/16 18:58:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 18:58:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 18:58:37 pv power: 204W
[site ] DEBUG 2024/08/16 18:58:37 grid meter: 200W
[site ] DEBUG 2024/08/16 18:58:37 site power: 300W
[lp-1 ] DEBUG 2024/08/16 18:58:37 charge voltages: [230 230 231]V
[lp-1 ] DEBUG 2024/08/16 18:58:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 18:58:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 18:58:47 charger status: read tcp 172.18.0.3:45202->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 18:59:07 ----
[lp-1 ] DEBUG 2024/08/16 18:59:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 18:59:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 18:59:07 pv power: 193W
[site ] DEBUG 2024/08/16 18:59:07 grid meter: 216W
[site ] DEBUG 2024/08/16 18:59:07 site power: 316W
[lp-1 ] DEBUG 2024/08/16 18:59:07 charge voltages: [231 231 232]V
[lp-1 ] DEBUG 2024/08/16 18:59:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 18:59:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 18:59:17 charger status: read tcp 172.18.0.3:58174->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 18:59:37 ----
[lp-1 ] DEBUG 2024/08/16 18:59:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 18:59:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 18:59:37 pv power: 184W
[site ] DEBUG 2024/08/16 18:59:37 grid meter: 214W
[site ] DEBUG 2024/08/16 18:59:37 site power: 314W
[lp-1 ] DEBUG 2024/08/16 18:59:37 charge voltages: [231 231 230]V
[lp-1 ] DEBUG 2024/08/16 18:59:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 18:59:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 18:59:47 charger status: read tcp 172.18.0.3:46342->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:00:07 ----
[lp-1 ] DEBUG 2024/08/16 19:00:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:00:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:00:07 pv power: 173W
[site ] DEBUG 2024/08/16 19:00:07 grid meter: 232W
[site ] DEBUG 2024/08/16 19:00:07 site power: 332W
[lp-1 ] DEBUG 2024/08/16 19:00:07 charge voltages: [230 233 230]V
[lp-1 ] DEBUG 2024/08/16 19:00:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:00:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:00:17 charger status: read tcp 172.18.0.3:38636->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:00:37 ----
[lp-1 ] DEBUG 2024/08/16 19:00:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:00:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:00:37 pv power: 163W
[site ] DEBUG 2024/08/16 19:00:37 grid meter: 237W
[site ] DEBUG 2024/08/16 19:00:37 site power: 337W
[lp-1 ] DEBUG 2024/08/16 19:00:37 charge voltages: [232 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:00:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:00:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:00:47 charger status: read tcp 172.18.0.3:34504->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:01:07 ----
[lp-1 ] DEBUG 2024/08/16 19:01:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:01:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:01:07 pv power: 152W
[site ] DEBUG 2024/08/16 19:01:07 grid meter: 246W
[site ] DEBUG 2024/08/16 19:01:07 site power: 346W
[lp-1 ] DEBUG 2024/08/16 19:01:07 charge voltages: [230 231 230]V
[lp-1 ] DEBUG 2024/08/16 19:01:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:01:07 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:01:07 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:01:07 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:01:37 ----
[lp-1 ] DEBUG 2024/08/16 19:01:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:01:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:01:37 pv power: 141W
[site ] DEBUG 2024/08/16 19:01:37 grid meter: 257W
[site ] DEBUG 2024/08/16 19:01:37 site power: 357W
[lp-1 ] DEBUG 2024/08/16 19:01:37 charge voltages: [231 232 229]V
[lp-1 ] DEBUG 2024/08/16 19:01:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:01:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:01:47 charger status: read tcp 172.18.0.3:60974->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:02:07 ----
[lp-1 ] DEBUG 2024/08/16 19:02:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:02:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:02:07 pv power: 129W
[site ] DEBUG 2024/08/16 19:02:07 grid meter: 272W
[site ] DEBUG 2024/08/16 19:02:07 site power: 372W
[lp-1 ] DEBUG 2024/08/16 19:02:07 charge voltages: [231 231 230]V
[lp-1 ] DEBUG 2024/08/16 19:02:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:02:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:02:17 charger status: read tcp 172.18.0.3:54378->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:02:37 ----
[lp-1 ] DEBUG 2024/08/16 19:02:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:02:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:02:37 pv power: 121W
[site ] DEBUG 2024/08/16 19:02:37 grid meter: 286W
[site ] DEBUG 2024/08/16 19:02:37 site power: 386W
[lp-1 ] DEBUG 2024/08/16 19:02:37 charge voltages: [232 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:02:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:02:37 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:02:37 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:02:37 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:03:07 ----
[lp-1 ] DEBUG 2024/08/16 19:03:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:03:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:03:07 pv power: 114W
[site ] DEBUG 2024/08/16 19:03:07 grid meter: 295W
[site ] DEBUG 2024/08/16 19:03:07 site power: 395W
[lp-1 ] DEBUG 2024/08/16 19:03:07 charge voltages: [231 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:03:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:03:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:03:17 charger status: read tcp 172.18.0.3:34888->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:03:37 ----
[lp-1 ] DEBUG 2024/08/16 19:03:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:03:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:03:37 pv power: 109W
[site ] DEBUG 2024/08/16 19:03:37 grid meter: 298W
[site ] DEBUG 2024/08/16 19:03:37 site power: 398W
[lp-1 ] DEBUG 2024/08/16 19:03:37 charge voltages: [230 231 230]V
[lp-1 ] DEBUG 2024/08/16 19:03:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:03:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:03:47 charger status: read tcp 172.18.0.3:57302->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:04:07 ----
[lp-1 ] DEBUG 2024/08/16 19:04:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:04:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:04:07 pv power: 102W
[site ] DEBUG 2024/08/16 19:04:07 grid meter: 305W
[site ] DEBUG 2024/08/16 19:04:07 site power: 405W
[lp-1 ] DEBUG 2024/08/16 19:04:07 charge voltages: [231 231 231]V
[lp-1 ] DEBUG 2024/08/16 19:04:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:04:07 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:04:07 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:04:07 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:04:37 ----
[lp-1 ] DEBUG 2024/08/16 19:04:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:04:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:04:37 pv power: 95W
[site ] DEBUG 2024/08/16 19:04:37 grid meter: 314W
[site ] DEBUG 2024/08/16 19:04:37 site power: 414W
[lp-1 ] DEBUG 2024/08/16 19:04:37 charge voltages: [230 231 230]V
[lp-1 ] DEBUG 2024/08/16 19:04:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:04:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:04:47 charger status: read tcp 172.18.0.3:41390->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:05:07 ----
[lp-1 ] DEBUG 2024/08/16 19:05:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:05:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:05:07 pv power: 85W
[site ] DEBUG 2024/08/16 19:05:07 grid meter: 330W
[site ] DEBUG 2024/08/16 19:05:07 site power: 430W
[lp-1 ] DEBUG 2024/08/16 19:05:07 charge voltages: [232 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:05:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:05:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:05:17 charger status: read tcp 172.18.0.3:40494->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:05:37 ----
[lp-1 ] DEBUG 2024/08/16 19:05:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:05:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:05:37 pv power: 76W
[site ] DEBUG 2024/08/16 19:05:37 grid meter: 341W
[site ] DEBUG 2024/08/16 19:05:37 site power: 441W
[lp-1 ] DEBUG 2024/08/16 19:05:37 charge voltages: [231 233 231]V
[lp-1 ] DEBUG 2024/08/16 19:05:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:05:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:05:47 charger status: read tcp 172.18.0.3:34086->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:06:07 ----
[lp-1 ] DEBUG 2024/08/16 19:06:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:06:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:06:07 pv power: 69W
[site ] DEBUG 2024/08/16 19:06:07 grid meter: 367W
[site ] DEBUG 2024/08/16 19:06:07 site power: 467W
[lp-1 ] DEBUG 2024/08/16 19:06:07 charge voltages: [232 233 231]V
[lp-1 ] DEBUG 2024/08/16 19:06:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:06:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:06:17 charger status: read tcp 172.18.0.3:34942->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:06:37 ----
[lp-1 ] DEBUG 2024/08/16 19:06:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:06:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:06:37 pv power: 64W
[site ] DEBUG 2024/08/16 19:06:37 grid meter: 342W
[site ] DEBUG 2024/08/16 19:06:37 site power: 442W
[lp-1 ] DEBUG 2024/08/16 19:06:37 charge voltages: [231 231 231]V
[lp-1 ] DEBUG 2024/08/16 19:06:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:06:37 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:06:37 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:06:37 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:07:07 ----
[lp-1 ] DEBUG 2024/08/16 19:07:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:07:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:07:07 pv power: 63W
[site ] DEBUG 2024/08/16 19:07:07 grid meter: 335W
[site ] DEBUG 2024/08/16 19:07:07 site power: 435W
[lp-1 ] DEBUG 2024/08/16 19:07:07 charge voltages: [231 231 231]V
[lp-1 ] DEBUG 2024/08/16 19:07:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:07:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:07:17 charger status: read tcp 172.18.0.3:57144->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:07:37 ----
[lp-1 ] DEBUG 2024/08/16 19:07:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:07:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:07:37 pv power: 63W
[site ] DEBUG 2024/08/16 19:07:37 grid meter: 346W
[site ] DEBUG 2024/08/16 19:07:37 site power: 446W
[lp-1 ] DEBUG 2024/08/16 19:07:37 charge voltages: [231 231 231]V
[lp-1 ] DEBUG 2024/08/16 19:07:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:07:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:07:47 charger status: read tcp 172.18.0.3:57328->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:08:07 ----
[lp-1 ] DEBUG 2024/08/16 19:08:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:08:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:08:07 pv power: 64W
[site ] DEBUG 2024/08/16 19:08:07 grid meter: 349W
[site ] DEBUG 2024/08/16 19:08:07 site power: 449W
[lp-1 ] DEBUG 2024/08/16 19:08:07 charge voltages: [231 232 232]V
[lp-1 ] DEBUG 2024/08/16 19:08:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:08:07 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:08:07 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:08:07 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:08:37 ----
[lp-1 ] DEBUG 2024/08/16 19:08:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:08:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:08:37 pv power: 66W
[site ] DEBUG 2024/08/16 19:08:37 grid meter: 331W
[site ] DEBUG 2024/08/16 19:08:37 site power: 431W
[lp-1 ] DEBUG 2024/08/16 19:08:37 charge voltages: [231 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:08:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:08:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:08:47 charger status: read tcp 172.18.0.3:43064->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:09:07 ----
[lp-1 ] DEBUG 2024/08/16 19:09:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:09:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:09:07 pv power: 70W
[site ] DEBUG 2024/08/16 19:09:07 grid meter: 301W
[site ] DEBUG 2024/08/16 19:09:07 site power: 401W
[lp-1 ] DEBUG 2024/08/16 19:09:07 charge voltages: [231 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:09:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:09:07 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:09:07 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:09:07 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:09:37 ----
[lp-1 ] DEBUG 2024/08/16 19:09:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:09:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:09:37 pv power: 74W
[site ] DEBUG 2024/08/16 19:09:37 grid meter: 295W
[site ] DEBUG 2024/08/16 19:09:37 site power: 395W
[lp-1 ] DEBUG 2024/08/16 19:09:37 charge voltages: [231 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:09:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:09:37 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:09:47 charger status: read tcp 172.18.0.3:42990->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:10:07 ----
[lp-1 ] DEBUG 2024/08/16 19:10:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:10:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:10:07 pv power: 80W
[site ] DEBUG 2024/08/16 19:10:07 grid meter: 282W
[site ] DEBUG 2024/08/16 19:10:07 site power: 382W
[lp-1 ] DEBUG 2024/08/16 19:10:07 charge voltages: [231 233 232]V
[lp-1 ] DEBUG 2024/08/16 19:10:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:10:07 charge total import: 1151.609kWh
[lp-1 ] ERROR 2024/08/16 19:10:17 charger status: read tcp 172.18.0.3:42886->10.1.12.20:502: i/o timeout
[site ] DEBUG 2024/08/16 19:10:37 ----
[lp-1 ] DEBUG 2024/08/16 19:10:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:10:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:10:37 pv power: 86W
[site ] DEBUG 2024/08/16 19:10:37 grid meter: 275W
[site ] DEBUG 2024/08/16 19:10:37 site power: 375W
[lp-1 ] DEBUG 2024/08/16 19:10:37 charge voltages: [230 232 231]V
[lp-1 ] DEBUG 2024/08/16 19:10:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:10:37 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:10:37 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:10:37 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:11:07 ----
[lp-1 ] DEBUG 2024/08/16 19:11:07 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:11:07 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:11:07 pv power: 95W
[site ] DEBUG 2024/08/16 19:11:07 grid meter: 320W
[site ] DEBUG 2024/08/16 19:11:07 site power: 420W
[lp-1 ] DEBUG 2024/08/16 19:11:07 charge voltages: [231 233 232]V
[lp-1 ] DEBUG 2024/08/16 19:11:07 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:11:07 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:11:07 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:11:07 limitSoc reached: 92.0% > 80%
[site ] DEBUG 2024/08/16 19:11:37 ----
[lp-1 ] DEBUG 2024/08/16 19:11:37 charge power: 0W
[lp-1 ] DEBUG 2024/08/16 19:11:37 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/16 19:11:37 pv power: 106W
[site ] DEBUG 2024/08/16 19:11:37 grid meter: 317W
[site ] DEBUG 2024/08/16 19:11:37 site power: 417W
[lp-1 ] DEBUG 2024/08/16 19:11:37 charge voltages: [232 233 232]V
[lp-1 ] DEBUG 2024/08/16 19:11:37 detected connected phases: 3p
[lp-1 ] DEBUG 2024/08/16 19:11:37 charge total import: 1151.609kWh
[lp-1 ] DEBUG 2024/08/16 19:11:37 charger status: B
[lp-1 ] DEBUG 2024/08/16 19:11:37 limitSoc reached: 92.0% > 80%

What type of operating system are you running?

Linux

Version

0.129.0

KalkiDE avatar Aug 16 '24 17:08 KalkiDE

Please try the latest nightly build.

premultiply avatar Aug 16 '24 17:08 premultiply

Thanks - and I have to correct my statement of the used version (I'm yet not so familiar with github). I notified that I falsly downloaded the latest commit (therefore more or less what you mentioned with nightly build) and not the tagged release 0.129.0.

I just "updated" now to the released version and communication is running stable. It looks like the latest change (Modbus: add UDP and allow concurrent access (https://github.com/evcc-io/evcc/pull/13676)), is causing issues. Please let me know if I can support here with testing before next release.

KalkiDE avatar Aug 17 '24 06:08 KalkiDE

@KalkiDE kannst du selbst compilieren? Oder: deine beiden Geräte über socat/ssh exportieren so dass ich das lokal verifizieren kann? Dann bitte Mail an [email protected].

/cc @n0cturne

andig avatar Aug 17 '24 19:08 andig

@KalkiDE kannst du selbst compilieren? Oder: deine beiden Geräte über socat/ssh exportieren so dass ich das lokal verifizieren kann? Dann bitte Mail an [email protected].

Kompilieren ist kein Problem - läuft bei mir in einem Docker-Container.

KalkiDE avatar Aug 18 '24 08:08 KalkiDE

Probier mal bitte den aktuellen Master- da sind 100ms Delay drin die es im alten Code- eigentlich unnötigerweise- auch gab. Nightly baut auch gerade.

andig avatar Aug 18 '24 08:08 andig

So, erstes Feedback (Auto ist aktuell zu voll, um die Ladung selber auszuprobieren): Es scheint mit dem Delay zu funktionieren ... mir ist aber generell schon häufiger aufgefallen, dass die Heidelberg WB auch etwas zickig ist, was die Kommunikation angeht. Die Daten vom Powermeter (gleicher Modbus, Abfrage erfolgt aber, soweit ich das im Trace sehe, vor der Kommunikation mit der Wallbox) kommen bislang ohne Probleme an.

Danke erstmal!

KalkiDE avatar Aug 18 '24 09:08 KalkiDE

Closed in https://github.com/evcc-io/evcc/commit/9ad7399b1d738605964cbb8d483ed83c356f6f4b

andig avatar Aug 18 '24 10:08 andig

@KalkiDE könntest Du mal probieren ob es auch ohne das Delay geht wenn Du stattdessen noch zusätzlich https://github.com/grid-x/modbus/pull/93 mit ein baust?

andig avatar Sep 25 '24 07:09 andig