evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.56k stars 660 forks source link

Loadpoint is kept "enabled" after setting to off #9587

Closed panzerdev closed 1 year ago

panzerdev commented 1 year ago

Describe the bug

After charging is finished or is stopped the loadpoint remains enabled and "is waiting for vehicle" but not charging

Steps to reproduce

  1. Turn on charging in any mode
  2. Stop charging to off or let the charing stop due to reaching the target soc / temp
  3. Have the loadpoint waiting for the vehicle displayed ...
image

Configuration details

interval: 10s
plant: *****

site:
  title: Zuhause # display name for UI
  meters:
    grid: grid_sh
    pv: 
      - sungrow_sh
      - sungrow_sg
      - pv_gro_west
      - pv_gro_ost
      - pv_gro_sud
    battery:
      - my_battery
  residualPower: 100

meters:
  - name: sungrow_sg
    type: custom
    power:
      source: modbus
      uri: 192.168.2.6:502
      id: 1
      register:
        address: 5016 # Total apparent power
        type: input
        decode: uint32s
    energy:
      source: modbus
      uri: 192.168.2.6:502
      id: 1
      register:
        address: 5003 # Total power yields, 1 kWh
        type: input
        decode: uint32s
  - name: ac-thor-meter
    type: custom
    power: # Leistung (W)
      source: http
      uri: http://my-url.home/data.jsn
      method: GET # default HTTP method
      jq: .power_act # parse response json
      scale: 1 # floating point factor applied to result, e.g. for kW to W conversion
    currents: # Stromstärke (A) pro Phase
      - source: http
        uri: http://my-url.home/data.jsn
        method: GET # default HTTP method
        jq: .curr_mains # parse response json
        scale: 0.1 # floating point factor applied to result, e.g. for kW to W conversion
      - source: const
        value: 0 
      - source: const
        value: 0

  - name: sungrow_sh
    type: template
    template: sungrow-hybrid
    usage: pv
    modbus: tcpip
    id: 1
    host: 192.168.2.216
    port: 502

  - name: my_battery
    type: template
    template: sungrow-hybrid
    usage: battery
    modbus: tcpip
    id: 1
    host: 192.168.2.216
    port: 502
    capacity: 7.68
  - name: grid_sh
    type: template
    template: sungrow-hybrid
    usage: grid
    modbus: tcpip
    id: 1
    host: 192.168.2.216
    port: 502
  - name: pv_gro_west
    type: custom
    power:
      source: modbus
      uri: 192.168.2.22:502
      id: 1
      scale: 0.1
      register:
        address: 1000
        type: holding # holding or input
        decode: uint16
  - name: pv_gro_ost
    type: custom
    power:
      source: modbus
      uri: 192.168.2.22:502
      id: 1
      scale: 0.1
      register:
        address: 2000
        type: holding # holding or input
        decode: uint16
  - name: pv_gro_sud
    type: custom
    power:
      source: modbus
      uri: 192.168.2.22:502
      id: 1
      scale: 0.1
      register:
        address: 3000
        type: holding # holding or input
        decode: uint16

loadpoints:
  - title: "Carport oben"
    charger: wallbox_oben # Wallbox Referenz
    mode: pv # charge mode (off, now, minpv, pv)
    phases: 0
    minCurrent: 6
    maxCurrent: 16
    resetOnDisconnect: true
    vehicle: Ioniq
    soc:
      poll:
        mode: connected
        interval: 30m
      estimate: true
    enable:
      threshold: 0
      delay: 1m
    disable:
      threshold: 200 # maximum import power (W)
      delay: 10m
  - title: "Carport unten"
    charger: wallbox_unten # Wallbox Referenz
    mode: pv # charge mode (off, now, minpv, pv)
    phases: 0
    minCurrent: 6
    maxCurrent: 16
    resetOnDisconnect: true
    vehicle: Stromie
    soc:
      poll:
        mode: connected
        interval: 10m
      estimate: true
    enable:
      threshold: 0
      delay: 1m
    disable:
      threshold: 200 # maximum import power (W)
      delay: 5m
  - title: "Heizstab"
    charger: ac-thor # Wallbox Referenz
    mode: pv # charge mode (off, now, minpv, pv)
    phases: 1
    minCurrent: 0
    maxCurrent: 13
    meter: ac-thor-meter
    priority: 5

vehicles:
  - name: Stromie
    type: template
    template: id
    title: VW ID3
    capacity: 58 # kWh
    user: *****
    password: *****
    vin: *****
    mode: pv
    targetSoC: 80
  - name: Ioniq
    type: template
    template: hyundai
    title: Ioniq 5
    user: *****
    password: *****
    vin: *****
    capacity: 73 # Akku-Kapazität in kWh # Optional
    language: de # 'de' für Deutsch und 'en' für Englisch # Optional 
    mode: pv
    targetSoC: 80

chargers:
  - name: wallbox_unten
    type: template
    template: heidelberg      
    modbus: tcpip
    id: 1
    host: 192.168.2.254 # Hostname
    port: 502 # Port 
  - name: wallbox_oben
    type: template
    template: heidelberg      
    modbus: tcpip
    id: 2
    host: 192.168.2.254 # Hostname
    port: 502 # Port 
  - name: ac-thor
    icon: waterheater
    type: custom
    enable:
      source: http
      method: GET
      uri: https://my-url.home/heizstab/enable?enable=${enable}
    enabled:
      source: http
      method: GET
      uri: https://my-url.home/heizstab/status
      jq: .enabled
    status:
      source: http
      method: GET
      uri: https://my-url.home/heizstab/status
      jq: .status
    maxcurrent:
      source: http
      method: GET
      uri: https://my-url.home/heizstab/power?power=${maxcurrent}
    maxcurrentmillis:
      source: http
      method: GET
      uri: https://my-url.home/heizstab/power?power=${maxcurrentmillis}
    soc:
      source: http
      uri: https://my-url.home/heizstab
      jq: .temp1
      scale: 0.1
    features: [integrateddevice, heating]

log: debug

Log details

evcc_1  | [site  ] DEBUG 2023/08/29 10:41:54 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:41:54 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:41:54 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 charge power: 0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:41:55 pv power: 1330W
evcc_1  | [site  ] DEBUG 2023/08/29 10:41:55 battery soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:41:55 battery power: -868W
evcc_1  | [site  ] DEBUG 2023/08/29 10:41:55 grid power: -0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:41:55 giving priority to battery charging at soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:41:55 site power: 100W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 charge currents: [0 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 charger status: B
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 charger: guard elapse
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 guard timer inactive
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 charger enable
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:41:55 wake-up timer: start
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:00 set charge mode: now
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:00 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:00 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:00 charge power: 0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 pv power: 1327W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 battery soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 battery power: -878W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 grid power: 1W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 giving priority to battery charging at soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:00 site power: 101W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:00 charge currents: [0 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:00 charger status: B
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:01 charger: guard elapse
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:01 guard timer inactive
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:01 max charge current: 13A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:01 charger enable
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:01 wake-up timer: start
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:04 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:04 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:04 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:04 charge power: 2781W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:05 pv power: 1326W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:05 battery soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:05 battery power: -857W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:05 grid power: 636W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:05 giving priority to battery charging at soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:05 site power: 736W
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:05 charge currents: [0 0 0]A
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:05 charge total import: 2778.188kWh
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:05 charger status: A
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:14 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:14 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:14 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:14 charge power: 2817W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:15 pv power: 1340W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:15 battery soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:15 battery power: 552W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:15 grid power: 1640W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:15 site power: 2292W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 charge currents: [0 0 0]A
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 charge total import: 7722.084kWh
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 charger status: B
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 next soc poll remaining time: 6m30s
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 available power -2292W < 4140W min 3p threshold
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 phase scale1p in 1m47s
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:15 pv charge current: 0A = 0A + -3.32A (2292W @ 3p)
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:24 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:24 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:24 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:24 charge power: 2794W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:25 pv power: 1392W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:25 battery soc: 1%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:25 battery power: 2249W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:25 grid power: -309W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:25 site power: 2040W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:25 charge currents: [12.5 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:25 charger status: C
evcc_1  | [lp-3  ] INFO 2023/08/29 10:42:25 start charging ->
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:25 wake-up timer: stop
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:34 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:34 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:34 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:34 charge power: 2810W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:35 pv power: 1509W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:35 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:35 battery power: 1962W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:35 grid power: -82W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:35 site power: 1980W
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:35 charge currents: [0 0 0]A
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:35 charge total import: 2778.188kWh
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:35 charger status: A
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:44 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:44 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:44 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:44 charge power: 2791W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:45 pv power: 1589W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:45 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:45 battery power: 1805W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:45 grid power: 3W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:45 site power: 1908W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 charge currents: [0 0 0]A
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 charge total import: 7722.084kWh
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 charger status: B
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 next soc poll remaining time: 5m59s
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 available power -1908W < 4140W min 3p threshold
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 phase scale1p in 1m17s
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:45 pv charge current: 0A = 0A + -2.77A (1908W @ 3p)
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:48 set charge mode: off
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:48 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:48 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:48 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:49 charge power: 2792W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:49 pv power: 1602W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:49 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:49 battery power: 1767W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:49 grid power: 11W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:49 site power: 1878W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:49 charge currents: [12.5 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:49 detected active phases: 1p
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:49 charger status: C
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:50 max charge current: 0A
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:54 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:42:54 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:42:54 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charge power: 0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:55 pv power: 1658W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:55 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:55 battery power: 1361W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:55 grid power: -668W
evcc_1  | [site  ] DEBUG 2023/08/29 10:42:55 site power: 793W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charge currents: [0 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charger status: B
evcc_1  | [lp-3  ] INFO 2023/08/29 10:42:55 stop charging <-
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 wake-up timer: start
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charger: guard elapse
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 guard timer inactive
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charger enable
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 wake-up timer: start
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:04 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:43:04 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:04 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:04 charge power: 0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:05 pv power: 1687W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:05 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:05 battery power: -770W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:05 grid power: -594W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:05 giving priority to battery charging at soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:05 site power: -494W
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:43:05 charge currents: [0 0 0]A
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:43:05 charge total import: 2778.188kWh
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:43:05 charger status: A
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:14 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:43:14 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:14 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:14 charge power: 0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:15 pv power: 1737W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:15 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:15 battery power: -1473W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:15 grid power: 216W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:15 giving priority to battery charging at soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:15 site power: 316W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 charge currents: [0 0 0]A
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 charge total import: 7722.084kWh
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 charger status: B
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 next soc poll remaining time: 5m30s
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 available power -316W < 4140W min 3p threshold
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 phase scale1p in 47s
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:15 pv charge current: 0A = 0A + -0.458A (316W @ 3p)
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:24 ----
evcc_1  | [lp-1  ] DEBUG 2023/08/29 10:43:24 charge power: 0W
evcc_1  | [lp-2  ] DEBUG 2023/08/29 10:43:24 charge power: 0W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 charge power: 0W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:25 pv power: 1752W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:25 battery soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:25 battery power: -1326W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:25 grid power: 2W
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:25 giving priority to battery charging at soc: 0%
evcc_1  | [site  ] DEBUG 2023/08/29 10:43:25 site power: 102W
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 charge currents: [0 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 charger status: B
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 charger: guard elapse
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 guard timer inactive
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 charger enable
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:43:25 wake-up timer: start

What type of operating system are you running?

Docker container

Version

lastet master build

andig commented 1 year ago

@panzerdev solange PV Modus und genug Sonne vorhanden wäre das ja richtig. Im Modus "off" würde ich das aber auch anders erwarten.

/cc @naltatis hast Du eine Idee?

panzerdev commented 1 year ago
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:48 set charge mode: off <<---- off
....
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charge currents: [0 0 0]A
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charger status: B
evcc_1  | [lp-3  ] INFO 2023/08/29 10:42:55 stop charging <-
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 wake-up timer: start
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charger: guard elapse
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 guard timer inactive
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 charger enable <<---------------- charger enable ?? 
evcc_1  | [lp-3  ] DEBUG 2023/08/29 10:42:55 wake-up timer: start

Verstehe nicht ganz wieso der charger wieder enabled wird und der wake-up timer wieder gestartet wird usw.

andig commented 1 year ago

Könntest Du evtl. nachtesten welche Version der Fehler gebracht hat? War der von 119.0 schon drin?

panzerdev commented 1 year ago

Ich habe vor dem Issue noch schnell den neuesten master be mir gemerged und der letzte commit den ich habe ist

a5d893a28a4bccd6973d59d32d4c11498cfcdcca

Ob der Fehler neu ist weiß ich nicht da ich das ganze erst gestern bei mir zum laufen gebracht habe und da war mein stand schon neuer als 119.0

VolkerK62 commented 1 year ago

Hmm, Folgefehler von mincurrent: 0 ?? evcc_1 | [lp-3 ] DEBUG 2023/08/29 10:42:50 max charge current: 0A

panzerdev commented 1 year ago

Hmm, Folgefehler von mincurrent: 0 ?? evcc_1 | [lp-3 ] DEBUG 2023/08/29 10:42:50 max charge current: 0A

Das kommt beim aus machen als wert für "aus". Ist in dem Fall auch richtig.

VolkerK62 commented 1 year ago

ist aber auch gleichzeitig der Minimumwert zum einschalten. Versuch doch mal 1, ob der Fehler dann immer noch kommt.

panzerdev commented 1 year ago

@VolkerK62 https://github.com/evcc-io/evcc/issues/9595#issuecomment-1698561276

Ja Werte unter 1 bei minCurrent machen Probleme. Jetzt stellt sich halt die Frage ob entweder 0 ein valider Wert sein sollte, 1A Schritte reichen oder 0.1A Schritte besser wären. Habe da auch keine spontane Antwort parat.

Mit mincurrent: 1 funktioniert zumindest alles besser.

Mir hat auch ein wenig Doku gefehlt um zu wissen was bei einem Custom Charger so alles erwartet wird damit er richtig funktioniert. So ne art Ablaufdiagramm oder so.

andig commented 1 year ago

Ich mache hier mal zu. Wenn es ein Enhancement für mincurrent > 0 braucht bitte separate Diskussion. Die Freigabe einer Ladung mit 0A macht ja wenig Sinn ;) Der Custom Charger kann auch MaxCurrentMillis, damit lässt sich dann auch

MinCurrent: 0.1 

sinnvoll verwenden.

panzerdev commented 1 year ago

@andig mincurrent ist ein int von daher ist 1 das Minimum. Aber ja andere Diskussion.

andig commented 1 year ago

Und das machst Du woran fest?

https://github.com/evcc-io/evcc/blob/master/core/loadpoint.go#L126

panzerdev commented 1 year ago

https://github.com/evcc-io/evcc/blob/ae8c3cd02df6bff717446f58560534e023b7472f/cmd/configure/configure.go#L25

Mein Fehler. Ich probier es nochmal aus

andig commented 1 year ago

Ist an der Stelle sicher ok- das muss ja für den Einstieg einfach sein.