evcc icon indicating copy to clipboard operation
evcc copied to clipboard

unterschiedliches Verhalten von "evcc -c evcc.yaml" und "systemctl start evcc"

Open walburgf opened this issue 2 years ago • 25 comments

Describe the bug

Im evcc.yaml ist als Loadpoint 3 eine My-PV Thor 9s Heizstab implementiert. Wenn evcc als Systemdienst gestartet wird, wird der Heizstab nicht aktiviert, obwohl PV Überschuss vorhanden ist. Beim Start von evcc mit "evcc -c evcc.yaml" wird der Heizstab jedoch aktiviert. Im Logfile sieht man den Unterschied: beim Start mit "evcc -c" sind die folgenden Einträge enthalten, die beim Systemstart fehlen: [lp-3 ] DEBUG 2024/07/30 09:32:26 max charge current: 1A [lp-3 ] DEBUG 2024/07/30 09:32:26 charger enable

Dies bedeutet, dass der Charger beim Starten als Systemdienst nie auf "enable" gesetzt wird, bzw. der "max charge current" nicht gesetzt wird.

Hier die jeweiligen Logfiles des Loadpoints: log mit evcc -c evcc.yaml.txt log mit evcc-service.txt

Steps to reproduce

1. 2. 3. ...

Configuration details

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

log: debug
levels:
  lp-3: trace
  script: trace
  cache: error

# unique installation id
plant: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
telemetry: true
sponsortoken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
interval: 20s # control cycle interval, default is 30s


meters:
- name: grid1
  type: template
  template: sma-home-manager
  usage: grid
  host: 192.168.1.246

- name: BYD_battery
  type: template
  template: sma-hybrid
  usage: battery
  modbus: tcpip
  id: 3
  host: 192.168.1.247
  port: 502

- name: SMA_Hybrid_WR
  type: template
  template: sma-hybrid
  usage: pv
  # Modbus TCP
  modbus: tcpip
  id: 3
  host: 192.168.1.247 # Hostname
  port: 502 # Port 

- name: AC_Thor_9s_Meter
  type: custom
  power:
    source: modbus
    id: 1
    uri: 192.168.1.231:5021  # IP-Adresse oder Hostname 
    timeout: 2s
    register:
      address: 1000
      type: holding # Holding Register lesen
      decode: uint16
  soc:
    source: http
    uri: http://192.168.1.248/data.jsn
    method: GET # default HTTP method
    headers:
      - content-type: application/json
    insecure: false # set to true to trust self-signed certificates
#    jq: "[.temp1, .temp2, .temp3] | map(. | select (. != null)) | min" # parse response json, get the lowest temperature
    jq: "[.temp1, .temp2, .temp3] | map(. | select (. != null)) | add / length" # parse response json, get the median temperature
    scale: 0.1 # floating point factor applied to result, e.g. for kW to W conversion
    timeout: 10s # timeout in golang duration format, see https://golang.org/pkg/time/#ParseDuration

vehicles:
- name: vw.id.4
  title: VW ID.4
  type: template
  template: vw
  user: 
  password: 
  capacity: 77
  timeout: 10s


- name: Warmwasser
  title: Warmwasser
  type: custom
  icon: waterheater
  phases: 3
  soc:
    source: http
    uri: http://192.168.1.248/data.jsn
    method: GET # default HTTP method
    headers:
      - content-type: application/json
    insecure: false # set to true to trust self-signed certificates
#    jq: "[.temp1, .temp2, .temp3] | map(. | select (. != null)) | min" # parse response json, get the lowest temperature
    jq: "[.temp1, .temp2, .temp3] | map(. | select (. != null)) | add / length" # parse response json, get the median temperature
    scale: 0.1 # floating point factor applied to result, e.g. for kW to W conversion
    timeout: 10s # timeout in golang duration format, see https://golang.org/pkg/time/#ParseDuration

site:

- title: Salierstr
  meters:
    grid: grid1
    pv:
    - SMA_Hybrid_WR
    battery:
    - BYD_battery
#    aux:
#    - AC_Thor_9s_Meter
  residualPower: 100


chargers:

- name: Charger_rechts
  type: template
  template: easee
  user: # Emailadresse
  password:  # wie Login für Easee App oder Web Portal (https://easee.cloud)
  charger: EHJZ7EM3
  timeout: 20s # optional

- name: Charger_links
  type: template
  template: easee
  user:  # Emailadresse
  password:  # wie Login für Easee App oder Web Portal (https://easee.cloud)
  charger: EHA4RSE2
  timeout: 20s # optional

- name: AC_Elwa-2_waterheater
  type: template
  template: ac-elwa-2
  modbus: tcpip
  id: 1
  host: 192.168.1.231
  port: 5021


- name: AC_Thor_9s_waterheater
  type: custom
  icon: waterheater
  power:
    source: modbus
    id: 1
    uri: 192.168.1.231:5021  # IP-Adresse oder Hostname 
    timeout: 2s
    register:
      address: 1000
      type: holding # Holding Register lesen
      decode: uint16
  wakeup:
    source: script
    cmd: /home/evcc/AC_Thor_9s/wakeup.sh
    timeout: 5s
  enabled: # charger enabled state (true/false or 1/0)
    source: script
    cmd: /home/evcc/AC_Thor_9s/get_enabled.sh #0 or 1
    timeout: 5s
  enable: # set charger enabled state (true/false or 0/1)
    source: script
    cmd: /home/evcc/AC_Thor_9s/set_enable.sh ${enable}
    timeout: 5s
  maxcurrent:
    source: script
    cmd: /home/evcc/AC_Thor_9s/set_maxcurrent.sh ${maxcurrent}
    timeout: 5s
  status: # charger status A..F
    source: script
    cmd: /home/evcc/AC_Thor_9s/get_status.sh #B or C always connected
    timeout: 5s
  features: [integrateddevice, heating]

loadpoints:
- title: Garage_rechts # display name for UI
  charger: Charger_rechts # Wallbox rechts Referenz
  vehicle: vw.id.4 # Referenz auf Standardfahrzeug
  mode: pv # charge mode (off, now, minpv, pv)
  priority: 6

- title: Garage_links # display name for UI
  charger: Charger_links  # Wallbox links Referenz 
  vehicle:  # Referenz auf Standardfahrzeug
  mode: pv # charge mode (off, now, minpv, pv)
  priority: 4

- title: AC Thor 9s
  charger: AC_Thor_9s_waterheater
  vehicle: Warmwasser
  mode: pv
  meter: AC_Thor_9s_Meter
  priority: 2
  soc:
    poll:
      mode: charging
      interval: 5m
    estimate: true
  enable:
    threshold: -100
    delay: 10s
  disable:
    threshold: -50
    delay: 60s

modbusproxy:
- port: 5021
  uri: 192.168.1.248:502  # IP des AC Thor 9s
- port: 5022
  uri: 192.168.1.248:502

Log details

siehe oben

What type of operating system are you running?

Linux

Version

0.129.0

walburgf avatar Jul 30 '24 08:07 walburgf

Editier mal alle Benutzerkonten, Benutzeremails und Passworte raus.

OlliLu avatar Jul 30 '24 08:07 OlliLu

Damit wir nicht suchen müssen- wo unterscheidet sich das Verhalten?

andig avatar Jul 30 '24 08:07 andig

wie oben geschrieben wird im Fall evcc -c evcc.yaml anscheinend ein "set maxcurrent" getriggert und ein enable=true gesetzt....., beim service jedoch nicht.

In der custom configuration des chargers "AC_Thor_9s_waterheater" werden die Scripte

enable: # set charger enabled state (true/false or 0/1) source: script cmd: /home/evcc/AC_Thor_9s/set_enable.sh ${enable} timeout: 5s

und

maxcurrent: source: script cmd: /home/evcc/AC_Thor_9s/set_maxcurrent.sh ${maxcurrent} timeout: 5s

im ersten Fall "evcc -c" aufgerufen, im Fall "systemctl start evcc" jedoch nicht....

walburgf avatar Jul 30 '24 08:07 walburgf

Editier mal alle Benutzerkonten, Benutzeremails und Passworte raus.

Alle ändern- die sind verbrannt!

andig avatar Jul 30 '24 08:07 andig

werden die Scripte

Bitte relevante Teile aus den Logfiles mit ausreichend Kontext.

andig avatar Jul 30 '24 08:07 andig

Die Logfiles hängen im 1. Eintrag an

walburgf avatar Jul 30 '24 08:07 walburgf

Bist du dir sicher das evcc.yaml in dem Ordner wo du evcc -c evcc.yaml ausführst identisch mit der in /etc/evcc yaml (die der Service nutzt) ist?

StefanSchoof avatar Jul 30 '24 11:07 StefanSchoof

ja, ich hab das extra mehrfach kontrolliert, bevor ich das issue aufgemacht hatte....

ich hab gerade noch mal ein "diff evcc.yaml /etc/evcc.yaml " gemacht und es ist identisch.....

walburgf avatar Jul 30 '24 12:07 walburgf

noch ein Punkt: wenn ich in der Oberfläche minpv auswähle, startet der Ladevorgang (es wird ein enable=true und maxcurrent=xA getriggert). Wenn ich dann wieder zurückschalte auf pv, wird weiter geladen.....

Wenn ich dann den Service stoppe und wieder starte (mit mode=pv) bleibt der Ladevorgang aus.... -> enable und maxcurrent werden nicht getriggert

walburgf avatar Jul 30 '24 12:07 walburgf

Bitte relevante Teile aus den Logfiles mit ausreichend Kontext.

andig avatar Jul 30 '24 19:07 andig

### logfile (bei evcc -c evcc.yaml:

[lp-3 ] INFO 2024/07/30 09:31:45 loadpoint 3: [lp-3 ] INFO 2024/07/30 09:31:45 mode: pv [lp-3 ] INFO 2024/07/30 09:31:45 charger: power ✓ energy ✗ currents ✗ phases ✗ wakeup ✓ [lp-3 ] INFO 2024/07/30 09:31:45 meters: charge ✓ [lp-3 ] INFO 2024/07/30 09:31:45 charge: power ✓ energy ✗ currents ✗ [lp-3 ] DEBUG 2024/07/30 09:31:45 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:31:45 phase timer inactive [lp-3 ] DEBUG 2024/07/30 09:31:45 pv timer inactive [lp-3 ] INFO 2024/07/30 09:31:45 vehicle updated: unknown -> Warmwasser [lp-3 ] DEBUG 2024/07/30 09:31:45 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:31:45 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:32:05 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:32:25 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:32:25 charger status: B [lp-3 ] INFO 2024/07/30 09:32:25 car connected [lp-3 ] DEBUG 2024/07/30 09:32:25 pv timer elapse [lp-3 ] DEBUG 2024/07/30 09:32:25 pv timer inactive [lp-3 ] DEBUG 2024/07/30 09:32:26 vehicle soc: 48% [lp-3 ] DEBUG 2024/07/30 09:32:26 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:32:26 pv charge current: 7.55A = 0A + 7.55A (-5212W @ 3p) [lp-3 ] DEBUG 2024/07/30 09:32:26 site power -5212W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/30 09:32:26 pv enable in 0s [lp-3 ] DEBUG 2024/07/30 09:32:26 pv enable timer elapsed [lp-3 ] DEBUG 2024/07/30 09:32:26 max charge current: 1A <<-- hier wird der Charge Vorgang gestartet [lp-3 ] DEBUG 2024/07/30 09:32:26 charger enable [lp-3 ] DEBUG 2024/07/30 09:32:26 wake-up timer: start [lp-3 ] DEBUG 2024/07/30 09:32:45 charge power: 104W [lp-3 ] DEBUG 2024/07/30 09:33:05 charge power: 104W [lp-3 ] DEBUG 2024/07/30 09:33:25 charge power: 105W [lp-3 ] DEBUG 2024/07/30 09:33:26 charger status: C [lp-3 ] INFO 2024/07/30 09:33:26 start charging -> [lp-3 ] DEBUG 2024/07/30 09:33:26 wake-up timer: stop [lp-3 ] DEBUG 2024/07/30 09:33:26 vehicle soc: 48% [lp-3 ] DEBUG 2024/07/30 09:33:26 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:33:26 pv charge current: 8.42A = 1A + 7.42A (-5119W @ 3p) [lp-3 ] DEBUG 2024/07/30 09:33:26 pv timer reset [lp-3 ] DEBUG 2024/07/30 09:33:26 pv timer inactive [lp-3 ] DEBUG 2024/07/30 09:33:26 max charge current: 8A [lp-3 ] DEBUG 2024/07/30 09:33:45 charge power: 5335W [lp-3 ] DEBUG 2024/07/30 09:34:05 charge power: 5339W [lp-3 ] DEBUG 2024/07/30 09:34:25 charge power: 5346W [lp-3 ] DEBUG 2024/07/30 09:34:25 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0 [lp-3 ] DEBUG 2024/07/30 09:34:25 charger status: C [lp-3 ] DEBUG 2024/07/30 09:34:26 vehicle soc: 48% [lp-3 ] DEBUG 2024/07/30 09:34:26 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:34:26 pv charge current: 7.34A = 8A + -0.659A (455W @ 3p) [lp-3 ] DEBUG 2024/07/30 09:34:26 max charge current: 7A

logfile bei systemctl evcc start

[lp-3 ] INFO 2024/07/30 09:25:13 loadpoint 3: [lp-3 ] INFO 2024/07/30 09:25:13 mode: pv [lp-3 ] INFO 2024/07/30 09:25:13 charger: power ✗ energy ✗ currents ✗ phases ✗ wakeup ✓ [lp-3 ] INFO 2024/07/30 09:25:13 meters: charge ✗ [lp-3 ] DEBUG 2024/07/30 09:25:13 set smart cost limit: 0 [lp-3 ] DEBUG 2024/07/30 09:25:13 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:25:13 phase timer inactive [lp-3 ] DEBUG 2024/07/30 09:25:13 pv timer inactive [lp-3 ] INFO 2024/07/30 09:25:13 vehicle updated: unknown -> Warmwasser [lp-3 ] DEBUG 2024/07/30 09:25:13 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:25:13 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:25:33 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:25:53 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:25:53 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:25:53 charger status: B [lp-3 ] INFO 2024/07/30 09:25:53 car connected [lp-3 ] DEBUG 2024/07/30 09:25:53 pv timer elapse [lp-3 ] DEBUG 2024/07/30 09:25:53 pv timer inactive [lp-3 ] DEBUG 2024/07/30 09:25:53 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:25:54 vehicle soc: 48% [lp-3 ] DEBUG 2024/07/30 09:25:54 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:25:54 pv charge current: 6.57A = 0A + 6.57A (-4537W @ 3p) [lp-3 ] DEBUG 2024/07/30 09:25:54 site power -4537W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/30 09:25:54 pv enable in 0s [lp-3 ] DEBUG 2024/07/30 09:25:54 pv enable timer elapsed <<-- jetzt müsste der Charge Vorgang gestartet werden, wird er aber nicht [lp-3 ] DEBUG 2024/07/30 09:26:13 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:26:33 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:26:53 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:26:53 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:26:53 charger status: B [lp-3 ] DEBUG 2024/07/30 09:26:54 vehicle soc: 48% [lp-3 ] DEBUG 2024/07/30 09:26:54 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:26:54 pv charge current: 6.26A = 0A + 6.26A (-4316W @ 3p) [lp-3 ] DEBUG 2024/07/30 09:26:54 site power -4316W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/30 09:26:54 pv enable in 0s [lp-3 ] DEBUG 2024/07/30 09:26:54 pv enable timer elapsed [lp-3 ] DEBUG 2024/07/30 09:27:13 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:27:33 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:27:53 charge power: 0W [lp-3 ] DEBUG 2024/07/30 09:27:53 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:27:53 charger status: B [lp-3 ] DEBUG 2024/07/30 09:27:53 vehicle soc: 48% [lp-3 ] DEBUG 2024/07/30 09:27:53 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/30 09:27:53 pv charge current: 6.8A = 0A + 6.8A (-4690W @ 3p) [lp-3 ] DEBUG 2024/07/30 09:27:53 site power -4690W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/30 09:27:53 pv enable in 0s [lp-3 ] DEBUG 2024/07/30 09:27:53 pv enable timer elapsed

walburgf avatar Jul 30 '24 21:07 walburgf

pv enable timer elapsed <<-- jetzt müsste der Charge Vorgang gestartet werden, wird er aber nicht

Im Log fehlt das

[lp-3 ] DEBUG 2024/07/30 09:32:26 charger enable

Warum das so ist lässt sich nicht sagen da das Log irgendwo in der Mitte anfängt.

Generell hat das Elwa Template ein Problem mit dem Heartbeat. Das muss erstmal gelöst werden, siehe https://github.com/evcc-io/evcc/discussions/12761#discussioncomment-10190302. Ich kann nicht sagen ob das auf Thor auch zutrifft.

andig avatar Jul 31 '24 07:07 andig

was meinst Du mit: ... da das Log irgendwo in der Mitte anfängt....?

Die Logs sind vom Start von evcc bis zu dem Zeitpunkt, an dem man sieht, dass im System Fall das Laden starten müsste... Oder benötigst Du das vollständige Log incl. aller anderen Loadpoints, Site, Scripts, etc... ?

Mit dem Thema Heartbeat hat das Problem aber nichts zu tun. Ich habe die Zeit im AC Thor (die Steuerung entspricht der Steuerung des Elwa-2, nur kann bis 9kW anstelle von 3kW geheizt werden) auf 600s hochgesetzt und einen Cronjob angelegt, der alle 5 min prüft, ob durch evcc eine maxpower Vorgabe gab. Wenn es so ist, schicke ich diese Vorgabe alle 5 min an den AC Thor....

Das Problem ist, dass evcc den AC Thor nicht initial vom Status B auf den Status C umschaltet. D.h. es fehlt erste Setzen von "enable" und "maxpower"

walburgf avatar Jul 31 '24 07:07 walburgf

Die Logs sind vom Start

Wirklich? Mir fehlt schon die Ausgabe der evcc Version/Config im Log.

andig avatar Jul 31 '24 07:07 andig

ja, wirklich vom Anfang....aber wie gesagt, gefiltert auf den [LP-3]... die evcc-Version steht in {main] Brauchst Du den kompletten Log?

walburgf avatar Jul 31 '24 08:07 walburgf

Hi er die kompletten Logs

evcc -c log (hier wird der "AC Thor 9s" aktiviert

Alle Bereiche [main ] INFO 2024/07/31 10:11:37 evcc 0.129.0 [main ] INFO 2024/07/31 10:11:37 using config file: evcc.yaml [db ] INFO 2024/07/31 10:11:37 using sqlite database: /root/.evcc/evcc.db [main ] INFO 2024/07/31 10:11:37 listening at :7070 [proxy-5021] DEBUG 2024/07/31 10:11:37 modbus proxy for 192.168.1.248:502 listening at :5021 [proxy-5022] DEBUG 2024/07/31 10:11:37 modbus proxy for 192.168.1.248:502 listening at :5022 [lp-1 ] DEBUG 2024/07/31 10:11:43 charge total import: 1722.137kWh [lp-2 ] DEBUG 2024/07/31 10:11:43 charge total import: 0.000kWh [site ] WARN 2024/07/31 10:11:43 vehicle 'Warmwasser' does not support automatic detection [site ] INFO 2024/07/31 10:11:43 site config: [site ] INFO 2024/07/31 10:11:43 meters: grid ✓ pv ✓ battery ✓ [site ] INFO 2024/07/31 10:11:43 grid: power ✓ energy ✓ currents ✓ [site ] INFO 2024/07/31 10:11:43 pv 1: power ✓ energy ✓ currents ✗ [site ] INFO 2024/07/31 10:11:43 battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✗ [site ] INFO 2024/07/31 10:11:43 vehicles: [site ] INFO 2024/07/31 10:11:43 vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✓ [site ] INFO 2024/07/31 10:11:43 vehicle 2: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗ [lp-1 ] INFO 2024/07/31 10:11:43 loadpoint 1: [lp-1 ] INFO 2024/07/31 10:11:43 mode: pv [lp-1 ] INFO 2024/07/31 10:11:43 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗ [lp-1 ] INFO 2024/07/31 10:11:43 meters: charge ✓ [lp-1 ] INFO 2024/07/31 10:11:43 charge: power ✓ energy ✓ currents ✓ [lp-2 ] INFO 2024/07/31 10:11:43 loadpoint 2: [lp-2 ] INFO 2024/07/31 10:11:43 mode: pv [lp-2 ] INFO 2024/07/31 10:11:43 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗ [lp-2 ] INFO 2024/07/31 10:11:43 meters: charge ✓ [lp-2 ] INFO 2024/07/31 10:11:43 charge: power ✓ energy ✓ currents ✓ [lp-3 ] INFO 2024/07/31 10:11:43 loadpoint 3: [lp-3 ] INFO 2024/07/31 10:11:43 mode: pv [lp-3 ] INFO 2024/07/31 10:11:43 charger: power ✓ energy ✗ currents ✗ phases ✗ wakeup ✓ [lp-3 ] INFO 2024/07/31 10:11:43 meters: charge ✓ [lp-3 ] INFO 2024/07/31 10:11:43 charge: power ✓ energy ✗ currents ✗ [lp-1 ] DEBUG 2024/07/31 10:11:43 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-1 ] DEBUG 2024/07/31 10:11:43 phase timer inactive [lp-1 ] DEBUG 2024/07/31 10:11:43 pv timer inactive [lp-1 ] INFO 2024/07/31 10:11:43 vehicle updated: unknown -> VW ID.4 [lp-1 ] DEBUG 2024/07/31 10:11:43 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:11:43 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:11:43 phase timer inactive [lp-2 ] DEBUG 2024/07/31 10:11:43 pv timer inactive [lp-3 ] DEBUG 2024/07/31 10:11:43 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/31 10:11:43 phase timer inactive [lp-3 ] DEBUG 2024/07/31 10:11:43 pv timer inactive [lp-3 ] INFO 2024/07/31 10:11:43 vehicle updated: unknown -> Warmwasser [lp-3 ] DEBUG 2024/07/31 10:11:43 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [script] DEBUG 2024/07/31 10:11:43 /home/evcc/AC_Thor_9s/get_enabled.sh: false [site ] WARN 2024/07/31 10:11:43 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval [site ] DEBUG 2024/07/31 10:11:43 ---- [lp-1 ] DEBUG 2024/07/31 10:11:43 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:11:43 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:11:43 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:11:43 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:11:43 charge power: 0W [site ] DEBUG 2024/07/31 10:11:43 pv power: 6215W [site ] DEBUG 2024/07/31 10:11:44 battery soc: 100% [site ] DEBUG 2024/07/31 10:11:44 battery power: 0W [site ] DEBUG 2024/07/31 10:11:44 grid meter: -5625W [site ] DEBUG 2024/07/31 10:11:44 grid powers: [-1860 -1950 -1815]W [site ] DEBUG 2024/07/31 10:11:44 grid currents: [-7.84 -8.26 -7.68]A [site ] DEBUG 2024/07/31 10:11:44 site power: -5525W [lp-1 ] DEBUG 2024/07/31 10:11:44 vehicle odometer: 11199km [lp-1 ] DEBUG 2024/07/31 10:11:44 charge total import: 1722.137kWh [lp-1 ] DEBUG 2024/07/31 10:11:44 charger status: A [lp-1 ] INFO 2024/07/31 10:11:44 car disconnected [lp-1 ] DEBUG 2024/07/31 10:11:44 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-1 ] DEBUG 2024/07/31 10:11:44 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-1 ] DEBUG 2024/07/31 10:11:44 set session soc limit: 0 [lp-1 ] DEBUG 2024/07/31 10:11:44 set session energy limit: 0 [site ] DEBUG 2024/07/31 10:12:03 ---- [lp-1 ] DEBUG 2024/07/31 10:12:03 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:12:03 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:12:03 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:12:03 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:12:03 charge power: 0W [site ] DEBUG 2024/07/31 10:12:03 pv power: 6237W [site ] DEBUG 2024/07/31 10:12:04 battery soc: 100% [site ] DEBUG 2024/07/31 10:12:04 battery power: 0W [site ] DEBUG 2024/07/31 10:12:04 grid meter: -5640W [site ] DEBUG 2024/07/31 10:12:04 grid powers: [-1875 -1959 -1806]W [site ] DEBUG 2024/07/31 10:12:04 grid currents: [-7.9 -8.3 -7.64]A [site ] DEBUG 2024/07/31 10:12:04 site power: -5540W [lp-2 ] DEBUG 2024/07/31 10:12:04 charge total import: 0.000kWh [lp-2 ] DEBUG 2024/07/31 10:12:04 charger status: A [lp-2 ] INFO 2024/07/31 10:12:04 car disconnected [lp-2 ] DEBUG 2024/07/31 10:12:04 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:12:04 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:12:04 set session soc limit: 0 [lp-2 ] DEBUG 2024/07/31 10:12:04 set session energy limit: 0 [site ] DEBUG 2024/07/31 10:12:23 ---- [lp-1 ] DEBUG 2024/07/31 10:12:23 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:12:23 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:12:23 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:12:23 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:12:23 charge power: 0W [site ] DEBUG 2024/07/31 10:12:23 pv power: 6211W [site ] DEBUG 2024/07/31 10:12:24 battery soc: 100% [site ] DEBUG 2024/07/31 10:12:24 battery power: 0W [site ] DEBUG 2024/07/31 10:12:24 grid meter: -5636W [site ] DEBUG 2024/07/31 10:12:24 grid powers: [-1867 -1956 -1813]W [site ] DEBUG 2024/07/31 10:12:24 grid currents: [-7.86 -8.27 -7.66]A [site ] DEBUG 2024/07/31 10:12:24 site power: -5536W [script] DEBUG 2024/07/31 10:12:24 /home/evcc/AC_Thor_9s/get_status.sh: B [lp-3 ] DEBUG 2024/07/31 10:12:24 charger status: B [lp-3 ] INFO 2024/07/31 10:12:24 car connected [lp-3 ] DEBUG 2024/07/31 10:12:24 pv timer elapse [lp-3 ] DEBUG 2024/07/31 10:12:24 pv timer inactive [lp-3 ] DEBUG 2024/07/31 10:12:24 vehicle soc: 50% [script] DEBUG 2024/07/31 10:12:24 /home/evcc/AC_Thor_9s/get_enabled.sh: false [lp-3 ] DEBUG 2024/07/31 10:12:24 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/31 10:12:24 pv charge current: 8.02A = 0A + 8.02A (-5536W @ 3p) [lp-3 ] DEBUG 2024/07/31 10:12:24 site power -5536W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/31 10:12:24 pv enable in 0s [lp-3 ] DEBUG 2024/07/31 10:12:24 pv enable timer elapsed [script] DEBUG 2024/07/31 10:12:24 /home/evcc/AC_Thor_9s/set_maxcurrent.sh 1: Setze Status auf C Setze enabled auf true [lp-3 ] DEBUG 2024/07/31 10:12:24 max charge current: 1A <<-- hier wird maxcurrent und enable getriggert !!!! [script] DEBUG 2024/07/31 10:12:24 /home/evcc/AC_Thor_9s/set_enable.sh true: set inital power after enable is true: mbpoll -0 -1 -t4 -r 1000 -p 5021 192.168.1.231 100 1 [lp-3 ] DEBUG 2024/07/31 10:12:24 charger enable [lp-3 ] DEBUG 2024/07/31 10:12:24 wake-up timer: start [site ] DEBUG 2024/07/31 10:12:43 ---- [lp-1 ] DEBUG 2024/07/31 10:12:43 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:12:43 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:12:43 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:12:43 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:12:43 charge power: 104W [site ] DEBUG 2024/07/31 10:12:43 pv power: 6219W [site ] DEBUG 2024/07/31 10:12:44 battery soc: 100% [site ] DEBUG 2024/07/31 10:12:44 battery power: 0W [site ] DEBUG 2024/07/31 10:12:44 grid meter: -5533W [site ] DEBUG 2024/07/31 10:12:44 grid powers: [-1872 -1960 -1702]W [site ] DEBUG 2024/07/31 10:12:44 grid currents: [-7.88 -8.29 -7.23]A [site ] DEBUG 2024/07/31 10:12:44 site power: -5433W [lp-1 ] DEBUG 2024/07/31 10:12:44 vehicle odometer: 11199km [lp-1 ] DEBUG 2024/07/31 10:12:44 !! session: chargeRater.chargedEnergy=6.0 - chargedAtStartup=0.0 [lp-1 ] DEBUG 2024/07/31 10:12:44 charge total import: 1722.137kWh [lp-1 ] DEBUG 2024/07/31 10:12:44 charger status: A [site ] DEBUG 2024/07/31 10:13:03 ---- [lp-1 ] DEBUG 2024/07/31 10:13:03 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:13:03 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:13:03 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:13:03 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:13:03 charge power: 105W [site ] DEBUG 2024/07/31 10:13:03 pv power: 6235W [site ] DEBUG 2024/07/31 10:13:03 battery soc: 100% [site ] DEBUG 2024/07/31 10:13:03 battery power: 0W [site ] DEBUG 2024/07/31 10:13:03 grid meter: -5530W [site ] DEBUG 2024/07/31 10:13:03 grid powers: [-1862 -1963 -1704]W [site ] DEBUG 2024/07/31 10:13:03 grid currents: [-7.85 -8.3 -7.25]A [site ] DEBUG 2024/07/31 10:13:03 site power: -5430W [lp-2 ] DEBUG 2024/07/31 10:13:03 charge total import: 0.000kWh [lp-2 ] DEBUG 2024/07/31 10:13:03 charger status: A [site ] DEBUG 2024/07/31 10:13:23 ---- [lp-1 ] DEBUG 2024/07/31 10:13:23 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:13:23 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:13:23 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:13:23 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:13:23 charge power: 104W [site ] DEBUG 2024/07/31 10:13:23 pv power: 6215W [site ] DEBUG 2024/07/31 10:13:23 battery soc: 100% [site ] DEBUG 2024/07/31 10:13:23 battery power: 0W [site ] DEBUG 2024/07/31 10:13:23 grid meter: -5534W [site ] DEBUG 2024/07/31 10:13:23 grid powers: [-1878 -1963 -1692]W [site ] DEBUG 2024/07/31 10:13:23 grid currents: [-7.91 -8.31 -7.2]A [site ] DEBUG 2024/07/31 10:13:23 site power: -5434W [script] DEBUG 2024/07/31 10:13:23 /home/evcc/AC_Thor_9s/get_status.sh: C [lp-3 ] DEBUG 2024/07/31 10:13:23 charger status: B [lp-3 ] DEBUG 2024/07/31 10:13:24 vehicle soc: 50% [script] DEBUG 2024/07/31 10:13:24 /home/evcc/AC_Thor_9s/get_enabled.sh: true [lp-3 ] DEBUG 2024/07/31 10:13:24 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/31 10:13:24 pv charge current: 7.87A = 0A + 7.87A (-5434W @ 3p) [lp-3 ] DEBUG 2024/07/31 10:13:24 pv timer reset [lp-3 ] DEBUG 2024/07/31 10:13:24 pv timer inactive [script] DEBUG 2024/07/31 10:13:24 /home/evcc/AC_Thor_9s/set_maxcurrent.sh 7: [lp-3 ] DEBUG 2024/07/31 10:13:24 max charge current: 7A [lp-3 ] DEBUG 2024/07/31 10:13:24 wake-up charger, attempts left: 5 [script] DEBUG 2024/07/31 10:13:24 /home/evcc/AC_Thor_9s/wakeup.sh: 1 [site ] DEBUG 2024/07/31 10:13:43 ---- [lp-1 ] DEBUG 2024/07/31 10:13:43 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:13:43 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:13:43 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:13:43 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:13:43 charge power: 4723W [site ] DEBUG 2024/07/31 10:13:43 pv power: 6236W [site ] DEBUG 2024/07/31 10:13:43 battery soc: 100% [site ] DEBUG 2024/07/31 10:13:43 battery power: 0W [site ] DEBUG 2024/07/31 10:13:43 grid meter: -702W [site ] DEBUG 2024/07/31 10:13:43 grid powers: [1208 -1971 60]W [site ] DEBUG 2024/07/31 10:13:43 grid currents: [5.13 -8.33 0.962]A [site ] DEBUG 2024/07/31 10:13:43 site power: -602W [lp-1 ] DEBUG 2024/07/31 10:13:43 !! session: chargeRater.chargedEnergy=6.0 - chargedAtStartup=0.0 [lp-1 ] DEBUG 2024/07/31 10:13:43 charge total import: 1722.137kWh [lp-1 ] DEBUG 2024/07/31 10:13:43 charger status: A [site ] DEBUG 2024/07/31 10:14:03 ---- [lp-1 ] DEBUG 2024/07/31 10:14:03 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:14:03 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:14:03 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:14:03 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:14:03 charge power: 4734W [site ] DEBUG 2024/07/31 10:14:03 pv power: 6243W [site ] DEBUG 2024/07/31 10:14:03 battery soc: 100% [site ] DEBUG 2024/07/31 10:14:03 battery power: 0W [site ] DEBUG 2024/07/31 10:14:03 grid meter: -715W [site ] DEBUG 2024/07/31 10:14:03 grid powers: [1209 -1972 48]W [site ] DEBUG 2024/07/31 10:14:03 grid currents: [5.13 -8.33 0.944]A [site ] DEBUG 2024/07/31 10:14:03 site power: -615W [lp-2 ] DEBUG 2024/07/31 10:14:03 charge total import: 0.000kWh [lp-2 ] DEBUG 2024/07/31 10:14:03 charger status: A

und jetzt mit systemctl start evcc

Alle Bereiche [main ] INFO 2024/07/31 10:05:40 evcc 0.129.0 [main ] INFO 2024/07/31 10:05:40 using config file: /etc/evcc.yaml [db ] INFO 2024/07/31 10:05:40 using sqlite database: /var/lib/evcc/evcc.db [main ] INFO 2024/07/31 10:05:42 listening at :7070 [proxy-5021] DEBUG 2024/07/31 10:05:42 modbus proxy for 192.168.1.248:502 listening at :5021 [lp-1 ] DEBUG 2024/07/31 10:05:49 charge total import: 1722.137kWh [lp-2 ] DEBUG 2024/07/31 10:05:49 charge total import: 0.000kWh [site ] WARN 2024/07/31 10:05:49 vehicle 'Warmwasser' does not support automatic detection [site ] INFO 2024/07/31 10:05:49 site config: [site ] INFO 2024/07/31 10:05:49 meters: grid ✓ pv ✓ battery ✓ [site ] INFO 2024/07/31 10:05:49 grid: power ✓ energy ✓ currents ✓ [site ] INFO 2024/07/31 10:05:49 pv 1: power ✓ energy ✓ currents ✗ [site ] INFO 2024/07/31 10:05:49 battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✗ [site ] INFO 2024/07/31 10:05:49 vehicles: [site ] INFO 2024/07/31 10:05:49 vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✓ [site ] INFO 2024/07/31 10:05:49 vehicle 2: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗ [lp-1 ] INFO 2024/07/31 10:05:49 loadpoint 1: [lp-1 ] INFO 2024/07/31 10:05:49 mode: pv [lp-1 ] INFO 2024/07/31 10:05:49 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗ [lp-1 ] INFO 2024/07/31 10:05:49 meters: charge ✓ [lp-1 ] INFO 2024/07/31 10:05:49 charge: power ✓ energy ✓ currents ✓ [lp-2 ] INFO 2024/07/31 10:05:49 loadpoint 2: [lp-2 ] INFO 2024/07/31 10:05:49 mode: pv [lp-2 ] INFO 2024/07/31 10:05:49 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗ [lp-2 ] INFO 2024/07/31 10:05:49 meters: charge ✓ [lp-2 ] INFO 2024/07/31 10:05:49 charge: power ✓ energy ✓ currents ✓ [lp-3 ] INFO 2024/07/31 10:05:49 loadpoint 3: [lp-3 ] INFO 2024/07/31 10:05:49 mode: pv [lp-3 ] INFO 2024/07/31 10:05:49 charger: power ✓ energy ✗ currents ✗ phases ✗ wakeup ✓ [lp-3 ] INFO 2024/07/31 10:05:49 meters: charge ✓ [lp-3 ] INFO 2024/07/31 10:05:49 charge: power ✓ energy ✗ currents ✗ [site ] DEBUG 2024/07/31 10:05:49 set buffer soc: 95 [site ] DEBUG 2024/07/31 10:05:49 set priority soc: 80 [site ] DEBUG 2024/07/31 10:05:49 set battery discharge control: true [lp-1 ] DEBUG 2024/07/31 10:05:49 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-1 ] DEBUG 2024/07/31 10:05:49 phase timer inactive [lp-1 ] DEBUG 2024/07/31 10:05:49 pv timer inactive [lp-1 ] INFO 2024/07/31 10:05:49 vehicle updated: unknown -> VW ID.4 [lp-1 ] DEBUG 2024/07/31 10:05:49 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:05:49 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:05:49 phase timer inactive [lp-2 ] DEBUG 2024/07/31 10:05:49 pv timer inactive [lp-3 ] DEBUG 2024/07/31 10:05:49 set smart cost limit: 0 [lp-3 ] DEBUG 2024/07/31 10:05:49 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/31 10:05:49 phase timer inactive [lp-3 ] DEBUG 2024/07/31 10:05:49 pv timer inactive [lp-3 ] INFO 2024/07/31 10:05:49 vehicle updated: unknown -> Warmwasser [lp-3 ] DEBUG 2024/07/31 10:05:49 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [script] DEBUG 2024/07/31 10:05:49 /home/evcc/AC_Thor_9s/get_enabled.sh: false [site ] WARN 2024/07/31 10:05:49 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval [site ] DEBUG 2024/07/31 10:05:49 ---- [lp-1 ] DEBUG 2024/07/31 10:05:49 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:05:49 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:05:49 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:05:49 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:05:49 charge power: 0W [site ] DEBUG 2024/07/31 10:05:49 pv power: 5755W [site ] DEBUG 2024/07/31 10:05:49 battery soc: 100% [site ] DEBUG 2024/07/31 10:05:49 battery power: 0W [site ] DEBUG 2024/07/31 10:05:49 grid meter: -5170W [site ] DEBUG 2024/07/31 10:05:49 grid powers: [-1697 -1808 -1665]W [site ] DEBUG 2024/07/31 10:05:49 grid currents: [-7.17 -7.65 -7.04]A [site ] DEBUG 2024/07/31 10:05:49 site power: -5070W [lp-1 ] DEBUG 2024/07/31 10:05:51 vehicle odometer: 11199km [lp-1 ] DEBUG 2024/07/31 10:05:51 charge total import: 1722.137kWh [lp-1 ] DEBUG 2024/07/31 10:05:51 charger status: A [lp-1 ] INFO 2024/07/31 10:05:51 car disconnected [lp-1 ] DEBUG 2024/07/31 10:05:51 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-1 ] DEBUG 2024/07/31 10:05:51 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-1 ] DEBUG 2024/07/31 10:05:51 set session soc limit: 0 [lp-1 ] DEBUG 2024/07/31 10:05:51 set session energy limit: 0 [site ] DEBUG 2024/07/31 10:06:09 ---- [lp-1 ] DEBUG 2024/07/31 10:06:09 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:06:09 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:06:09 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:06:09 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:06:09 charge power: 0W [site ] DEBUG 2024/07/31 10:06:09 pv power: 5863W [site ] DEBUG 2024/07/31 10:06:09 battery soc: 100% [site ] DEBUG 2024/07/31 10:06:09 battery power: 0W [site ] DEBUG 2024/07/31 10:06:09 grid meter: -5267W [site ] DEBUG 2024/07/31 10:06:09 grid powers: [-1726 -1844 -1697]W [site ] DEBUG 2024/07/31 10:06:09 grid currents: [-7.29 -7.8 -7.18]A [site ] DEBUG 2024/07/31 10:06:09 site power: -5167W [lp-2 ] DEBUG 2024/07/31 10:06:09 charge total import: 0.000kWh [lp-2 ] DEBUG 2024/07/31 10:06:09 charger status: A [lp-2 ] INFO 2024/07/31 10:06:09 car disconnected [lp-2 ] DEBUG 2024/07/31 10:06:09 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:06:09 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger) [lp-2 ] DEBUG 2024/07/31 10:06:09 set session soc limit: 0 [lp-2 ] DEBUG 2024/07/31 10:06:09 set session energy limit: 0 [site ] DEBUG 2024/07/31 10:06:29 ---- [lp-1 ] DEBUG 2024/07/31 10:06:29 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:06:29 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:06:29 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:06:29 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:06:29 charge power: 0W [site ] DEBUG 2024/07/31 10:06:29 pv power: 5952W [site ] DEBUG 2024/07/31 10:06:29 battery soc: 100% [site ] DEBUG 2024/07/31 10:06:29 battery power: 0W [site ] DEBUG 2024/07/31 10:06:29 grid meter: -5331W [site ] DEBUG 2024/07/31 10:06:29 grid powers: [-1749 -1863 -1719]W [site ] DEBUG 2024/07/31 10:06:29 grid currents: [-7.38 -7.88 -7.27]A [site ] DEBUG 2024/07/31 10:06:29 site power: -5231W [script] DEBUG 2024/07/31 10:06:29 /home/evcc/AC_Thor_9s/get_status.sh: B [lp-3 ] DEBUG 2024/07/31 10:06:29 charger status: B [lp-3 ] INFO 2024/07/31 10:06:29 car connected [lp-3 ] DEBUG 2024/07/31 10:06:29 pv timer elapse [lp-3 ] DEBUG 2024/07/31 10:06:29 pv timer inactive [lp-3 ] DEBUG 2024/07/31 10:06:29 vehicle soc: 50% [script] DEBUG 2024/07/31 10:06:29 /home/evcc/AC_Thor_9s/get_enabled.sh: false [lp-3 ] DEBUG 2024/07/31 10:06:29 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/31 10:06:29 pv charge current: 7.58A = 0A + 7.58A (-5231W @ 3p) [lp-3 ] DEBUG 2024/07/31 10:06:29 site power -5231W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/31 10:06:29 pv enable in 0s [lp-3 ] DEBUG 2024/07/31 10:06:29 pv enable timer elapsed [site ] DEBUG 2024/07/31 10:06:49 ---- [lp-1 ] DEBUG 2024/07/31 10:06:49 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:06:49 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:06:49 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:06:49 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:06:49 charge power: 0W [site ] DEBUG 2024/07/31 10:06:49 pv power: 6036W [site ] DEBUG 2024/07/31 10:06:49 battery soc: 100% [site ] DEBUG 2024/07/31 10:06:49 battery power: 0W [site ] DEBUG 2024/07/31 10:06:49 grid meter: -5423W [site ] DEBUG 2024/07/31 10:06:49 grid powers: [-1779 -1893 -1752]W [site ] DEBUG 2024/07/31 10:06:49 grid currents: [-7.51 -8.02 -7.42]A [site ] DEBUG 2024/07/31 10:06:49 site power: -5323W [lp-1 ] DEBUG 2024/07/31 10:06:49 vehicle odometer: 11199km [lp-1 ] DEBUG 2024/07/31 10:06:49 !! session: chargeRater.chargedEnergy=6.0 - chargedAtStartup=0.0 [lp-1 ] DEBUG 2024/07/31 10:06:49 charge total import: 1722.137kWh [lp-1 ] DEBUG 2024/07/31 10:06:49 charger status: A [site ] DEBUG 2024/07/31 10:07:09 ---- [lp-1 ] DEBUG 2024/07/31 10:07:09 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:07:09 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:07:09 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:07:09 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:07:09 charge power: 0W [site ] DEBUG 2024/07/31 10:07:09 pv power: 6063W [site ] DEBUG 2024/07/31 10:07:09 battery soc: 100% [site ] DEBUG 2024/07/31 10:07:09 battery power: 0W [site ] DEBUG 2024/07/31 10:07:09 grid meter: -5454W [site ] DEBUG 2024/07/31 10:07:09 grid powers: [-1789 -1902 -1763]W [site ] DEBUG 2024/07/31 10:07:09 grid currents: [-7.55 -8.06 -7.46]A [site ] DEBUG 2024/07/31 10:07:09 site power: -5354W [lp-2 ] DEBUG 2024/07/31 10:07:09 charge total import: 0.000kWh [lp-2 ] DEBUG 2024/07/31 10:07:09 charger status: A [site ] DEBUG 2024/07/31 10:07:29 ---- [lp-1 ] DEBUG 2024/07/31 10:07:29 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:07:29 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:07:29 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:07:29 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:07:29 charge power: 0W [site ] DEBUG 2024/07/31 10:07:29 pv power: 6136W [site ] DEBUG 2024/07/31 10:07:29 battery soc: 100% [site ] DEBUG 2024/07/31 10:07:29 battery power: 0W [site ] DEBUG 2024/07/31 10:07:29 grid meter: -5539W [site ] DEBUG 2024/07/31 10:07:29 grid powers: [-1838 -1927 -1773]W [site ] DEBUG 2024/07/31 10:07:29 grid currents: [-7.75 -8.16 -7.5]A [site ] DEBUG 2024/07/31 10:07:29 site power: -5439W [script] DEBUG 2024/07/31 10:07:29 /home/evcc/AC_Thor_9s/get_status.sh: B [lp-3 ] DEBUG 2024/07/31 10:07:29 charger status: B [lp-3 ] DEBUG 2024/07/31 10:07:30 vehicle soc: 50% [script] DEBUG 2024/07/31 10:07:30 /home/evcc/AC_Thor_9s/get_enabled.sh: false [lp-3 ] DEBUG 2024/07/31 10:07:30 !! active phases: 3p = min(0p measured 3p vehicle 3p physical 0p charger) [lp-3 ] DEBUG 2024/07/31 10:07:30 pv charge current: 7.88A = 0A + 7.88A (-5439W @ 3p) [lp-3 ] DEBUG 2024/07/31 10:07:30 site power -5439W <= -100W enable threshold [lp-3 ] DEBUG 2024/07/31 10:07:30 pv enable in 0s [lp-3 ] DEBUG 2024/07/31 10:07:30 pv enable timer elapsed <<- hier sollte ein chager enable und maxpower Kommando kommen [site ] DEBUG 2024/07/31 10:07:49 ---- [lp-1 ] DEBUG 2024/07/31 10:07:49 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:07:49 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:07:49 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:07:49 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:07:49 charge power: 0W [site ] DEBUG 2024/07/31 10:07:49 pv power: 6082W [site ] DEBUG 2024/07/31 10:07:49 battery soc: 100% [site ] DEBUG 2024/07/31 10:07:49 battery power: 0W [site ] DEBUG 2024/07/31 10:07:49 grid meter: -5504W [site ] DEBUG 2024/07/31 10:07:49 grid powers: [-1828 -1917 -1759]W [site ] DEBUG 2024/07/31 10:07:49 grid currents: [-7.7 -8.12 -7.44]A [site ] DEBUG 2024/07/31 10:07:49 site power: -5404W [lp-1 ] DEBUG 2024/07/31 10:07:49 !! session: chargeRater.chargedEnergy=6.0 - chargedAtStartup=0.0 [lp-1 ] DEBUG 2024/07/31 10:07:49 charge total import: 1722.137kWh [lp-1 ] DEBUG 2024/07/31 10:07:49 charger status: A [site ] DEBUG 2024/07/31 10:08:09 ---- [lp-1 ] DEBUG 2024/07/31 10:08:09 charge power: 0W [lp-1 ] DEBUG 2024/07/31 10:08:09 charge currents: [0 0 0]A [lp-2 ] DEBUG 2024/07/31 10:08:09 charge power: 0W [lp-2 ] DEBUG 2024/07/31 10:08:09 charge currents: [0 0 0]A [lp-3 ] DEBUG 2024/07/31 10:08:09 charge power: 0W [site ] DEBUG 2024/07/31 10:08:09 pv power: 6104W [site ] DEBUG 2024/07/31 10:08:09 battery soc: 100% [site ] DEBUG 2024/07/31 10:08:09 battery power: 0W [site ] DEBUG 2024/07/31 10:08:09 grid meter: -5529W [site ] DEBUG 2024/07/31 10:08:09 grid powers: [-1836 -1926 -1767]W [site ] DEBUG 2024/07/31 10:08:09 grid currents: [-7.73 -8.15 -7.47]A [site ] DEBUG 2024/07/31 10:08:09 site power: -5429W [lp-2 ] DEBUG 2024/07/31 10:08:09 charge total import: 0.000kWh [lp-2 ] DEBUG 2024/07/31 10:08:09 charger status: A

walburgf avatar Jul 31 '24 08:07 walburgf

They use different databases

[db ] INFO 2024/07/31 10:11:37 using sqlite database: /root/.evcc/evcc.db

[db ] INFO 2024/07/31 10:05:40 using sqlite database: /var/lib/evcc/evcc.db

Are you getting the same behavior, when you set the DB path in your Config?

database:
  type: sqlite
  dsn: /var/lib/evcc/evcc.db

StefanSchoof avatar Jul 31 '24 09:07 StefanSchoof

This was a good hint.... If I use /var/lib/evcc/evcc.db, the behaviour is the same... It's not working....

How ca I find out the differences in the sqlite-db?

walburgf avatar Jul 31 '24 10:07 walburgf

Try

evcc settings get

with the right DB. I guess you have different minCurrent settings (via UI?) and setting leads to evcc not executing an update because it thinks value is already applied. minCurrent=0 somewhere?

andig avatar Jul 31 '24 10:07 andig

I found the reason for the issue.

I counfigured 0.125A as the minimum current, which was stored in the sqlite-DB in /var/lib/evcc. In the sqlite-DB in /home/root/.evcc 1A was configured as minimum current. image

evcc seem to start a charging session by assigning at first the minimum current, before assigning the calculated maxcurrent. This minimum current is derived from the minimum current by just using the integer value. This means, that 0.125A is set to 0A, which leads the charging session to never start. Setting the minimum to 1A works then of course.....

My proposal would be, that the maxpower value should be a float type, to be able to use currents lower than 1A, as this is possible to be used from the GUI.

walburgf avatar Jul 31 '24 10:07 walburgf