evcc-io / evcc

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

em2go startet immer bei 11kW - PV Modus - Regelt nicht schnell genug - bricht ab #14307

Closed kasn24 closed 3 months ago

kasn24 commented 3 months ago

Describe the bug

Hallo,

das Problem besteht komischerweise nur morgens bei "aufgehen" der Sonne. 70kWh Ladestand erreicht, 4kW Überschuss (bereits 1kW einphasig hätten gereicht, aber da war der Akku noch nicht voll genug) Das Laden startet, die Wallbox zieht direkt auf 11kW hoch auch schneller als in evcc angezeigt wird. Das packt meistens auch mein Akku nicht und wir gehen in den Netzbezug. Statt runter zu regeln oder sogar die Phasen zu wechseln, wird einfach abgebrochen.

Ich habe noch nichts derartiges gefunden, dass die Wallbox direkt mit 3 Phasen und der niedrigsten Amperezahl startet. Die ebenfalls konfigurierte SMA Wallbox macht dies ohne Probleme.

Da kommen wir zu Problem 2, wo ich versuche zeitnah Logs nachzuliefern. Die SMA Wallbox lädt den MG4 1-phasig bis voll, lädt dann konstant weiter mit ca. 10W und schaltet nicht ab. Dies führt zum "klacken" vom Ladegerät des MG4 und ist mit Sicherheit nicht gesund. Das hat die SMA Wallbox gesteuert über den HomeManager nicht gemacht.

Ich hoffe ihr könnt mir weiterhelfen.

Viele Grüße

Steps to reproduce

  1. Überschuss 4kW
  2. PV Laden
  3. em2Go Wallbox startet mit 11kW
  4. Bricht Ladevorgang ab, statt runter zu regeln
  5. beginnt wieder von vorn ...

Configuration details

network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: 192.168.187.XXX
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 30s # control cycle interval. Interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval

# database configuration for persisting charge sessions and settings
# database:
#   type: sqlite
#   dsn: <path-to-db-file>

# sponsor token enables optional features (request at https://sponsor.evcc.io)
# sponsortoken:
# trial token, valid until 2024-05-19
sponsortoken: XXXX
plant: XXXXX
# telemetry enables aggregated statistics
#
# Telemetry allows collecting usage data (grid and green energy, charge power).
# Data is aggregated, no individual charging sessions are tracked. The collected,
# anonymous data can be retrieved using https://api.evcc.io.
#
# See https://github.com/evcc-io/evcc/pull/4343 or details.
#
# For time being, this is only available to sponsors, hence data is associated with
# the sponsor token's identity.
#
# telemetry: true

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

# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
modbusproxy:
  #  - port: 5200
  #    uri: solar-edge:502
  #    # rtu: true
  #    # readonly: true # use `deny` to raise modbus errors

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: HomeManager
    type: template
    template: sma-home-manager
    usage: grid
    host: 192.168.XXXX # IP-Adresse oder Hostname 

  - name: stp8hybrid
    type: template
    template: sma-hybrid
    usage: pv

    # Modbus TCP
    modbus: tcpip
    id: 3
    host: 192.168.XXXX # Hostname
    port: 502 # Port 

  - name: bydakku
    type: template
    template: sma-hybrid
    usage: battery

    # Modbus TCP
    modbus: tcpip
    id: 3
    host: 192.168.178.XXX # Hostname
    port: 502 # Port 

  - name: stp10haus
    type: template
    template: sma-inverter-speedwire
    usage: pv
    host: 192.168.XXXX # IP-Adresse oder Hostname
    password: XXXX # Passwort für Benutzergruppe Benutzer (optional)

  - name: stp8garten
    type: template
    template: sma-inverter-speedwire
    usage: pv
    host: 192.168.XXXX# IP-Adresse oder Hostname
    password: XXXX # Passwort für Benutzergruppe Benutzer (optional)

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers
chargers:
  - name: smawallbox
    type: template
    template: smaevcharger
    host: 192.168.XXX # IP-Adresse oder Hostname
    user: xxx # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: xxx # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen) 

  - name: em2goWilly
    type: template
    template: em2go-home
    host: 192.168.XXX:502 # IP-Adresse oder Hostname 

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
#  - name: Willy
#    type: template
#    template: tesla-command
#    title: Willy # Wird in der Benutzeroberfläche angezeigt (optional)
#    accessToken: XXXXX # Siehe https://docs.evcc.io/docs/devices/vehicles#tesla
#    refreshToken: XXXXX # Siehe https://docs.evcc.io/docs/devices/vehicles#tesla
#    vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind (optional)
#    capacity: 77 # Akkukapazität in kWh (optional) 

#  - name: Maggus
#    type: template
#    template: mg
#    title: Maggus # Wird in der Benutzeroberfläche angezeigt (optional)
#    user: XXXXX # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
#    password: XXXXX # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
  # vin: W... # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind
#    capacity: 50 # Akkukapazität in kWh (optional) 
  - name: oWilly
    type: template
    template: offline
    title: offlineWilly # Wird in der Benutzeroberfläche angezeigt (optional)
    capacity: 77 # Akkukapazität in kWh (optional) 

  - name: oMaggus
    type: template
    template: offline
    title: offlineMaggus # Wird in der Benutzeroberfläche angezeigt (optional)
    capacity: 50 # Akkukapazität in kWh (optional) 

# site describes the EVU connection, PV and home battery
site:
  title: Home # display name for UI
  meters:
    grid: HomeManager # grid meter
    pv:
      - stp8hybrid
      - stp8garten 
      - stp10haus # list of pv inverters/ meters
    battery:
      - bydakku # list of battery meters
  residualPower: 100 # additional household usage margin
  maxGridSupplyWhileBatteryCharging: 0 # ignore battery charging if AC consumption is above this value

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: SMA22kW # display name for UI
    #vehilce: oMaggus
    charger: smawallbox # charger
    #meter: charge # charge meter
    mode: "pv" # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available

    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    #vehicle: Maggus

  - title: em2Go11kw # display name for UI
    #vehilce: oWilly
    charger: em2goWilly # charger
    #meter: charge # charge meter
    mode: "pv" # default charge mode to apply when vehicle is disconnected; use "off" to disable by default if charger is publicly available

    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    #vehicle: Willy

# tariffs are the fixed or variable tariffs
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
    type: fixed
    price: 0.28 # EUR/kWh

    # or variable tariffs
    # type: tibber
    # token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
    # homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

    # type: awattar
    # region: de # optional, choose at for Austria
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: elering # Nordpool
    # region: ee # or lt, lv, fi
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: energinet # Energinet using the price in DKK
    # region: dk1 # or dk2
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: entsoe # Entso-E european market data
    # domain: BZN|DE-LU # https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html#_areas
    # securitytoken: # api token
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: pun # PUN - Prezzo unico nazionale - Hourly Italian wholesale prices
    # charges: 0 # optional, additional charges per kWh
    # tax: 0 # optional, additional tax (0.1 for 10%)

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: general

    # type: custom # price from a plugin source; see https://docs.evcc.io/docs/reference/plugins
    # price:
    #   source: http
    #   uri: https://example.org/price.json
    #   jq: .price.current

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.07 # EUR/kWh

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: amber
    # token: # api token from https://app.amber.com.au/developers/
    # siteid: # site ID returned by the API
    # channel: feedIn
  co2:
    # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
    # type: grünstromindex # GrünStromIndex (Germany only)
    # zip: <zip>

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token> # needs to be a token with forecast (not in the free tier)
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (Great Britain only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - Choose ONE only!
    # region: 1 # optional, coarser than using a postcode - The region details are at https://carbon-intensity.github.io/api-definitions/#region-list
    # postcode: SW1 # optional - Outward postcode i.e. RG41 or SW1 or TF8. Do not include full postcode, outward postcode only

# mqtt message broker
mqtt:
   broker: localhost:1883
   topic: evcc # root topic for publishing, set empty to disable
   user: mqtt-user
   password: boxmq

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

# eebus credentials
eebus:
  # uri: # :4712
  # interfaces: # limit eebus to specific network interfaces
  # - en0
  # certificate: # local signed certificate, required, can be generated via `evcc eebus-cert`
  #   public: # public key
  #   private: # private key

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
    soc: # vehicle soc update event
      title: Soc updated
      msg: Battery charged to ${vehicleSoc:%.0f}%
    guest: # vehicle could not be identified
      title: Unknown vehicle
      msg: Unknown vehicle, guest connected?
  services:
  # - type: pushover
  #   app: # app id
  #   recipients:
  #   - # list of recipient ids
  # - type: telegram
  #   token: # bot id
  #   chats:
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Log details

[site  ] DEBUG 2024/06/12 08:37:46 ----
[lp-1  ] DEBUG 2024/06/12 08:37:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:37:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:37:46 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:37:46 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:37:46 pv power: 2556W
[site  ] DEBUG 2024/06/12 08:37:47 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:37:47 battery power: -1720W
[site  ] DEBUG 2024/06/12 08:37:47 grid meter: 50W
[site  ] DEBUG 2024/06/12 08:37:47 grid powers: [25 28 -3]W
[site  ] DEBUG 2024/06/12 08:37:47 grid currents: [0.912 0.531 -0.529]A
[site  ] DEBUG 2024/06/12 08:37:47 site power: -1570W
[lp-1  ] DEBUG 2024/06/12 08:37:47 charger status: A
[site  ] DEBUG 2024/06/12 08:38:16 ----
[lp-1  ] DEBUG 2024/06/12 08:38:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:38:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:38:16 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:38:16 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:38:16 pv power: 2898W
[site  ] DEBUG 2024/06/12 08:38:17 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:38:17 battery power: -1971W
[site  ] DEBUG 2024/06/12 08:38:17 grid meter: 179W
[site  ] DEBUG 2024/06/12 08:38:17 grid powers: [69 73 37]W
[site  ] DEBUG 2024/06/12 08:38:17 grid currents: [0.955 0.611 0.564]A
[site  ] DEBUG 2024/06/12 08:38:17 site power: -1692W
[lp-2  ] DEBUG 2024/06/12 08:38:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:38:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:38:17 charger status: B
[lp-2  ] DEBUG 2024/06/12 08:38:17 pv charge current: 7.35A = 0A + 7.35A (-1692W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:38:17 site power -1692W <= 0W enable threshold
[lp-2  ] DEBUG 2024/06/12 08:38:17 pv enable in 0s
[lp-2  ] DEBUG 2024/06/12 08:38:17 pv enable timer elapsed
[lp-2  ] DEBUG 2024/06/12 08:38:17 charger enable
[lp-2  ] DEBUG 2024/06/12 08:38:17 wake-up timer: start
[site  ] DEBUG 2024/06/12 08:38:46 ----
[lp-1  ] DEBUG 2024/06/12 08:38:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:38:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:38:46 charge power: 11200W
[lp-2  ] DEBUG 2024/06/12 08:38:46 charge currents: [16 16 16]A
[site  ] DEBUG 2024/06/12 08:38:46 pv power: 4396W
[site  ] DEBUG 2024/06/12 08:38:47 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:38:47 battery power: 3543W
[site  ] DEBUG 2024/06/12 08:38:47 grid meter: 4500W
[site  ] DEBUG 2024/06/12 08:38:47 grid powers: [1501 1513 1486]W
[site  ] DEBUG 2024/06/12 08:38:47 grid currents: [6.55 6.5 6.37]A
[site  ] DEBUG 2024/06/12 08:38:47 site power: 8144W
[lp-1  ] DEBUG 2024/06/12 08:38:47 charger status: A
[site  ] DEBUG 2024/06/12 08:39:16 ----
[lp-1  ] DEBUG 2024/06/12 08:39:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:39:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:39:16 charge power: 11200W
[lp-2  ] DEBUG 2024/06/12 08:39:16 charge currents: [16 16 16.1]A
[site  ] DEBUG 2024/06/12 08:39:16 pv power: 4899W
[site  ] DEBUG 2024/06/12 08:39:16 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:39:16 battery power: 5808W
[site  ] DEBUG 2024/06/12 08:39:16 grid meter: 1683W
[site  ] DEBUG 2024/06/12 08:39:16 grid powers: [563 573 547]W
[site  ] DEBUG 2024/06/12 08:39:16 grid currents: [2.78 2.63 2.46]A
[site  ] DEBUG 2024/06/12 08:39:16 site power: 7591W
[lp-2  ] DEBUG 2024/06/12 08:39:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:39:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:39:17 charger status: C
[lp-2  ] INFO 2024/06/12 08:39:17 start charging ->
[lp-2  ] DEBUG 2024/06/12 08:39:17 wake-up timer: stop
[lp-2  ] DEBUG 2024/06/12 08:39:17 pv charge current: 0A = 6A + -33A (7591W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:39:17 projected site power 7591W >= 0W disable threshold
[lp-2  ] DEBUG 2024/06/12 08:39:17 pv disable in 0s
[lp-2  ] DEBUG 2024/06/12 08:39:17 pv disable timer elapsed
[lp-2  ] DEBUG 2024/06/12 08:39:17 charger disable
[lp-2  ] DEBUG 2024/06/12 08:39:17 wake-up timer: stop
[site  ] DEBUG 2024/06/12 08:39:46 ----
[lp-1  ] DEBUG 2024/06/12 08:39:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:39:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:39:46 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:39:46 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:39:46 pv power: 4951W
[site  ] DEBUG 2024/06/12 08:39:46 battery soc: 76%
[site  ] DEBUG 2024/06/12 08:39:46 battery power: -4224W
[site  ] DEBUG 2024/06/12 08:39:46 grid meter: 130W
[site  ] DEBUG 2024/06/12 08:39:46 grid powers: [48 65 17]W
[site  ] DEBUG 2024/06/12 08:39:46 grid currents: [0.873 0.575 0.574]A
[site  ] DEBUG 2024/06/12 08:39:46 site power: -3994W
[lp-1  ] DEBUG 2024/06/12 08:39:46 charger status: A
[site  ] DEBUG 2024/06/12 08:40:16 ----
[lp-1  ] DEBUG 2024/06/12 08:40:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:40:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:40:16 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:40:16 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:40:16 pv power: 4806W
[site  ] DEBUG 2024/06/12 08:40:17 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:40:17 battery power: -4137W
[site  ] DEBUG 2024/06/12 08:40:17 grid meter: -101W
[site  ] DEBUG 2024/06/12 08:40:17 grid powers: [-30 -14 -57]W
[site  ] DEBUG 2024/06/12 08:40:17 grid currents: [-0.848 -0.516 -0.668]A
[site  ] DEBUG 2024/06/12 08:40:17 site power: -4138W
[lp-2  ] DEBUG 2024/06/12 08:40:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:40:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:40:17 charger status: B
[lp-2  ] INFO 2024/06/12 08:40:17 stop charging <-
[lp-2  ] DEBUG 2024/06/12 08:40:17 pv timer reset
[lp-2  ] DEBUG 2024/06/12 08:40:17 pv timer inactive
[lp-2  ] DEBUG 2024/06/12 08:40:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:40:17 !! session: start=28.900 stop=28.900 chargedEnergy=0.100
[lp-2  ] DEBUG 2024/06/12 08:40:17 pv charge current: 18A = 0A + 18A (-4138W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:40:17 site power -4138W <= 0W enable threshold
[lp-2  ] DEBUG 2024/06/12 08:40:17 pv enable timer start: 1m0s
[lp-2  ] DEBUG 2024/06/12 08:40:17 pv enable in 1m0s
[site  ] DEBUG 2024/06/12 08:40:46 ----
[lp-1  ] DEBUG 2024/06/12 08:40:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:40:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:40:46 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:40:46 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:40:46 pv power: 4746W
[site  ] DEBUG 2024/06/12 08:40:47 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:40:47 battery power: -3557W
[site  ] DEBUG 2024/06/12 08:40:47 grid meter: 238W
[site  ] DEBUG 2024/06/12 08:40:47 grid powers: [84 100 54]W
[site  ] DEBUG 2024/06/12 08:40:47 grid currents: [0.926 0.658 0.647]A
[site  ] DEBUG 2024/06/12 08:40:47 site power: -3219W
[lp-1  ] DEBUG 2024/06/12 08:40:47 charger status: A
[site  ] DEBUG 2024/06/12 08:41:16 ----
[lp-1  ] DEBUG 2024/06/12 08:41:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:41:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:41:16 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:41:16 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:41:16 pv power: 3669W
[site  ] DEBUG 2024/06/12 08:41:17 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:41:17 battery power: -3333W
[site  ] DEBUG 2024/06/12 08:41:17 grid meter: 618W
[site  ] DEBUG 2024/06/12 08:41:17 grid powers: [210 228 180]W
[site  ] DEBUG 2024/06/12 08:41:17 grid currents: [1.25 1.09 0.959]A
[site  ] DEBUG 2024/06/12 08:41:17 site power: -2616W
[lp-2  ] DEBUG 2024/06/12 08:41:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:41:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:41:17 charger status: B
[lp-2  ] DEBUG 2024/06/12 08:41:17 pv charge current: 11.4A = 0A + 11.4A (-2616W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:41:17 site power -2616W <= 0W enable threshold
[lp-2  ] DEBUG 2024/06/12 08:41:17 pv enable in 0s
[lp-2  ] DEBUG 2024/06/12 08:41:17 pv enable timer remaining: 0s
[site  ] DEBUG 2024/06/12 08:41:46 ----
[lp-1  ] DEBUG 2024/06/12 08:41:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:41:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:41:46 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:41:46 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:41:46 pv power: 3563W
[site  ] DEBUG 2024/06/12 08:41:47 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:41:47 battery power: -2910W
[site  ] DEBUG 2024/06/12 08:41:47 grid meter: 446W
[site  ] DEBUG 2024/06/12 08:41:47 grid powers: [156 166 125]W
[site  ] DEBUG 2024/06/12 08:41:47 grid currents: [1.1 0.871 0.788]A
[site  ] DEBUG 2024/06/12 08:41:47 site power: -2364W
[lp-1  ] DEBUG 2024/06/12 08:41:47 charger status: A
[site  ] DEBUG 2024/06/12 08:42:16 ----
[lp-1  ] DEBUG 2024/06/12 08:42:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:42:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:42:16 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:42:16 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:42:17 pv power: 3982W
[site  ] DEBUG 2024/06/12 08:42:17 battery soc: 78%
[site  ] DEBUG 2024/06/12 08:42:17 battery power: -3052W
[site  ] DEBUG 2024/06/12 08:42:17 grid meter: -241W
[site  ] DEBUG 2024/06/12 08:42:17 grid powers: [-73 -63 -105]W
[site  ] DEBUG 2024/06/12 08:42:17 grid currents: [-0.946 -0.575 -0.71]A
[site  ] DEBUG 2024/06/12 08:42:17 site power: -3193W
[lp-2  ] DEBUG 2024/06/12 08:42:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:42:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:42:17 charger status: B
[lp-2  ] DEBUG 2024/06/12 08:42:17 pv charge current: 13.9A = 0A + 13.9A (-3193W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:42:17 site power -3193W <= 0W enable threshold
[lp-2  ] DEBUG 2024/06/12 08:42:17 pv enable in 0s
[lp-2  ] DEBUG 2024/06/12 08:42:17 pv enable timer elapsed
[lp-2  ] DEBUG 2024/06/12 08:42:17 charger enable
[lp-2  ] DEBUG 2024/06/12 08:42:17 wake-up timer: start
[site  ] DEBUG 2024/06/12 08:42:46 ----
[lp-1  ] DEBUG 2024/06/12 08:42:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:42:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:42:46 charge power: 10900W
[lp-2  ] DEBUG 2024/06/12 08:42:46 charge currents: [15.8 15.8 15.8]A
[site  ] DEBUG 2024/06/12 08:42:46 pv power: 3524W
[site  ] DEBUG 2024/06/12 08:42:47 battery soc: 78%
[site  ] DEBUG 2024/06/12 08:42:47 battery power: 4470W
[site  ] DEBUG 2024/06/12 08:42:47 grid meter: 4362W
[site  ] DEBUG 2024/06/12 08:42:47 grid powers: [1457 1470 1435]W
[site  ] DEBUG 2024/06/12 08:42:47 grid currents: [6.35 6.31 6.14]A
[site  ] DEBUG 2024/06/12 08:42:47 site power: 8932W
[lp-1  ] DEBUG 2024/06/12 08:42:47 charger status: A
[site  ] DEBUG 2024/06/12 08:43:16 ----
[lp-1  ] DEBUG 2024/06/12 08:43:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:43:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:43:16 charge power: 11300W
[lp-2  ] DEBUG 2024/06/12 08:43:16 charge currents: [16 16 16.1]A
[site  ] DEBUG 2024/06/12 08:43:17 pv power: 3446W
[site  ] DEBUG 2024/06/12 08:43:17 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:43:17 battery power: 6397W
[site  ] DEBUG 2024/06/12 08:43:17 grid meter: 2477W
[site  ] DEBUG 2024/06/12 08:43:17 grid powers: [832 832 813]W
[site  ] DEBUG 2024/06/12 08:43:17 grid currents: [3.82 3.67 3.54]A
[site  ] DEBUG 2024/06/12 08:43:17 site power: 8974W
[lp-2  ] DEBUG 2024/06/12 08:43:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:43:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:43:17 charger status: C
[lp-2  ] INFO 2024/06/12 08:43:17 start charging ->
[lp-2  ] DEBUG 2024/06/12 08:43:17 wake-up timer: stop
[lp-2  ] DEBUG 2024/06/12 08:43:17 pv charge current: 0A = 6A + -39A (8974W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:43:17 projected site power 8974W >= 0W disable threshold
[lp-2  ] DEBUG 2024/06/12 08:43:17 pv disable in 0s
[lp-2  ] DEBUG 2024/06/12 08:43:17 pv disable timer elapsed
[lp-2  ] DEBUG 2024/06/12 08:43:17 charger disable
[lp-2  ] DEBUG 2024/06/12 08:43:17 wake-up timer: stop
[site  ] DEBUG 2024/06/12 08:43:46 ----
[lp-1  ] DEBUG 2024/06/12 08:43:46 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:43:46 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:43:46 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:43:46 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:43:46 pv power: 3155W
[site  ] DEBUG 2024/06/12 08:43:46 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:43:46 battery power: -1479W
[site  ] DEBUG 2024/06/12 08:43:46 grid meter: 99W
[site  ] DEBUG 2024/06/12 08:43:46 grid powers: [616 -239 -278]W
[site  ] DEBUG 2024/06/12 08:43:46 grid currents: [2.78 -1.13 -1.3]A
[site  ] DEBUG 2024/06/12 08:43:46 site power: -1280W
[lp-1  ] DEBUG 2024/06/12 08:43:46 charger status: A
[site  ] DEBUG 2024/06/12 08:44:16 ----
[lp-1  ] DEBUG 2024/06/12 08:44:16 charge power: 0W
[lp-1  ] DEBUG 2024/06/12 08:44:16 charge currents: [-0 -0 -0]A
[lp-2  ] DEBUG 2024/06/12 08:44:16 charge power: 0W
[lp-2  ] DEBUG 2024/06/12 08:44:16 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/12 08:44:17 pv power: 3178W
[site  ] DEBUG 2024/06/12 08:44:17 battery soc: 77%
[site  ] DEBUG 2024/06/12 08:44:17 battery power: -1442W
[site  ] DEBUG 2024/06/12 08:44:17 grid meter: -63W
[site  ] DEBUG 2024/06/12 08:44:17 grid powers: [563 -294 -332]W
[site  ] DEBUG 2024/06/12 08:44:17 grid currents: [2.65 -1.4 -1.51]A
[site  ] DEBUG 2024/06/12 08:44:17 site power: -1405W
[lp-2  ] DEBUG 2024/06/12 08:44:17 !! session: chargeRater.chargedEnergy=0.1 - chargedAtStartup=0.0
[lp-2  ] DEBUG 2024/06/12 08:44:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:44:17 charger status: B
[lp-2  ] INFO 2024/06/12 08:44:17 stop charging <-
[lp-2  ] DEBUG 2024/06/12 08:44:17 pv timer reset
[lp-2  ] DEBUG 2024/06/12 08:44:17 pv timer inactive
[lp-2  ] DEBUG 2024/06/12 08:44:17 charge total import: 28.900kWh
[lp-2  ] DEBUG 2024/06/12 08:44:17 !! session: start=28.900 stop=28.900 chargedEnergy=0.100
[lp-2  ] DEBUG 2024/06/12 08:44:17 pv charge current: 6.11A = 0A + 6.11A (-1405W @ 1p)
[lp-2  ] DEBUG 2024/06/12 08:44:17 site power -1405W <= 0W enable threshold
[lp-2  ] DEBUG 2024/06/12 08:44:17 pv enable timer start: 1m0s
[lp-2  ] DEBUG 2024/06/12 08:44:17 pv enable in 1m0s

What type of operating system are you running?

HomeAssistant Add-on

Version

0.126.6

RenatusRo commented 3 months ago

der erste call ist o.k. read tcp 192.168.178.YYY:33490->192.168.178.ZZZ:502: i/o timeout liegt nicht an evcc.

(XXX steht vermutlich genau so in der config als mqtt)

kasn24 commented 3 months ago

Ja, mich wundert der MQTT Aufruf hier aber. Danach ist die MQTT des aktiven EVCC nämlich abgebrochen. Vorhin und nun erneut. Der Fatal liest sich als würde er einen neuen Charger erstellen wollen. Daher auch der Timeout. Weil evcc unter YYY ja bereits darauf zugreift. Im Normalen Ordner sowie im etc Ordner ausgeführt kommt weiterhin das Ergebnis mit dem Timeout. Weiterhin als Normaler User: "user@raspevcc:/etc $ sudo evcc charger em2goWilly --phases 1 --log trace"

Versucht mal anders auszuführen:

sudo systemctl evcc charger em2goWilly --phases 1 --log trace
systemctl: unrecognized option '--phases'
RenatusRo commented 3 months ago

was ist der 'aktive EVCC'?
Es darf nur einenen geben. Wenn du evcc charger em2go11kw --phases 1 --log trace machst, darf kein anderer evcc laufen.

kasn24 commented 3 months ago

Deswegen sage ich ja, der EVCC auf HA ist deaktiviert. Da läuft nichts mehr.

RenatusRo commented 3 months ago

und auf dem raspi laeuft jetzt nicht heimlich ein evcc als service? vorsichtshalber erst sudo systemctl evcc stop und dann evcc charger em2go11kw --phases 1 --log trace

kasn24 commented 3 months ago

Jetzt bin ich massiv verwirrt.

Auf dem Raspi ist evcc gemäß Anleitung installiert. Wie soll da zwei mal evcc gleichzeitig laufen? Nach stoppen ist kein evcc über die Oberfläche erreichbar. Status sagt es gibt nen evcc.service der seit dem Befehl aus ist. Aber jetzt läuft natürlich auch nichts mehr

user@raspevcc:~ $ sudo systemctl stop evcc
user@raspevcc:~ $ evcc charger em2goWilly --phases 1 --log trace
[main  ] INFO 2024/06/20 14:24:58 evcc 0.127.2 (5eaa90ad)
[main  ] INFO 2024/06/20 14:24:58 using config file: /etc/evcc.yaml
[mqtt  ] INFO 2024/06/20 14:24:59 connecting evcc-130798090 at tcp://192.168.178.XXX:1883
[mqtt  ] DEBUG 2024/06/20 14:24:59 tcp://192.168.178.XXX:1883 connected
user@raspevcc:~ $ sudo systemctl status evcc
○ evcc.service - evcc
     Loaded: loaded (/lib/systemd/system/evcc.service; enabled; preset: enabled)
     Active: inactive (dead) since Thu 2024-06-20 14:22:19 CEST; 3min 48s ago
   Duration: 2min 14.474s
    Process: 964 ExecStart=/usr/bin/evcc (code=exited, status=0/SUCCESS)
   Main PID: 964 (code=exited, status=0/SUCCESS)
        CPU: 2.521s

Jun 20 14:22:16 raspevcc evcc[964]: [site  ] DEBUG 2024/06/20 14:22:16 grid pow>
Jun 20 14:22:16 raspevcc evcc[964]: [site  ] DEBUG 2024/06/20 14:22:16 grid cur>
Jun 20 14:22:16 raspevcc evcc[964]: [site  ] DEBUG 2024/06/20 14:22:16 site pow>
Jun 20 14:22:17 raspevcc evcc[964]: [lp-2  ] DEBUG 2024/06/20 14:22:17 charge t>
Jun 20 14:22:17 raspevcc evcc[964]: [lp-2  ] DEBUG 2024/06/20 14:22:17 charger >
Jun 20 14:22:17 raspevcc evcc[964]: [lp-2  ] DEBUG 2024/06/20 14:22:17 next soc>
Jun 20 14:22:19 raspevcc systemd[1]: Stopping evcc.service - evcc...
Jun 20 14:22:19 raspevcc systemd[1]: evcc.service: Deactivated successfully.
Jun 20 14:22:19 raspevcc systemd[1]: Stopped evcc.service - evcc.
Jun 20 14:22:19 raspevcc systemd[1]: evcc.service: Consumed 2.521s CPU time.

user@raspevcc:~ $ 
RenatusRo commented 3 months ago

gemäß Anleitung installiert ist im prinzip gut. deswegen lief der auch im hintergrund als 1. instanz. und wenn du dann auf der command line die 2te instanz gestartet hast, konnte die sich nicht mehr mit dem modbus von der em2go verbinden. wenn der service aus ist, haben wir erstmal saubere verhaeltnisse. deswegen kommt jetzt bei evcc charger em2goWilly --phases 1 --log trace auch kein fehler mehr von wegen cannot create charger type 'template'

passiert dann weiter nichts mehr? mal evcc charger em2goWilly --phases 1 --log trace und evcc charger em2goWilly --phases 3 --log trace ausprobieren

RenatusRo commented 3 months ago

muss natuerlich evcc charger em2goWilly sein.

kasn24 commented 3 months ago

Achso mir war nicht bewusst, dass ich mit dem Befehl eine neue Instanz starte, ich dachte ich mische in die aktuell laufende Instanz ein mit dem Befehl den Charger im aktiven Ladevorgang zum Phasenwechsel zu bewegen.

Nein bei beiden Befehlen ist nach wenigen Sekunden Schluss. Also nachdem MQTT Erfolg vermeldet.

andig commented 3 months ago

Jetzt muss ich mal stop sagen. evcc charger kann man- falls die Box das zulässt- wunderbar parallel zu laufender Instanz absetzen.

sudo systemctl evcc charger em2goWilly --phases 1 --log trace

@kasn24 bitte nicht raten. Davon war nie die Rede! Das ist kein Service sondern einfach nur ein kleiner Befehl.

Wenn du evcc charger em2go11kw --phases 1 --log trace machst, darf kein anderer evcc laufen.

@RenatusRo bitte nicht raten. Das mag sein, gerade bei Modbus ist das aber oft gar kein Problem. Wir wollen ja gerade raus finden, ob die Umschaltung klappt während der Service das nicht kann. NICHT möglich ist das nur wenn die Box nur einen TCP/Modbus Client zulässt.

Hab sie gelöscht; jetzt nimmt er die richtige...

@kasn24 damit wir nicht raten: wie sieht /etc/evcc.yaml aus? Ist die korrekt?

read tcp 192.168.178.YYY:33490->192.168.178.ZZZ:502: i/o timeout

Das geht tatsächlich nicht (falls die IP stimmt, können wir natürlich nicht verifizieren). Der einfache Test nutzt also nix. Anonymisieren der IPs kann du dir sparen, in Dein Netz kann ohnehin niemand rein schauen.

An dieser Stelle: ich gebs auf. em2go scheint manchmal die Phasen nicht umzuschalten, trace log beweist das. Da hilft nur Ticket beim Hersteller.

kasn24 commented 3 months ago

Raten musste ich, da ich noch kein Wiki diesbezüglich gefunden habe. Vielleicht wäre gerade für Fehlersuchen eine kleine Anleitung Wiki für evcc Anfänger sinnvoll. :)

Ja die etc/evcc.yaml passt, die ist wie ganz oben aus HA nur die IPs der Instanz und für MQTT angepasst. Und ja die IPs passen auch alle, ohne irgendwelche Befehle läuft das System ja. Nur der von dir genannte Befehl eben nicht. und auch hier musste ich dann halt raten nach "Du verwendest eine andere Konfigdatei- user vs service. Bitte beim Aufruf die richtige angeben!"

Aber ist ja auch egal, da für dich erledigt. Danke trotzdem!

andig commented 3 months ago

Es gibt halt nix zu prüfen da das neben dem Service bei der Box nicht möglich ist. Also Ticket beim Hersteller :(. Mit dem Ergebnis gerne wieder melden.

kasn24 commented 3 months ago

Ist schon in der mache.

RenatusRo commented 3 months ago

@RenatusRo bitte nicht raten. Das mag sein, gerade bei Modbus ist das aber oft gar kein Problem. Wir wollen ja gerade raus finden, ob die Umschaltung klappt während der Service das nicht kann. NICHT möglich ist das nur wenn die Box nur einen TCP/Modbus Client zulässt.

@andig die em2go (pro) hier bei uns nimmt nur eine modbus-verbindung (ueber den native ethernet-anschluss) - war also ein educated guess. und der ingenieur in mir sagte: reduce complexity and retry. geht ja aber nicht ums recht haben, sondern ums problem - case closed :-)

andig commented 3 months ago

Wir werden in https://github.com/evcc-io/evcc/pull/14480 noch einen Workaround nachliefern. Damit kann evcc dann hoffentlich reagieren. Danke für eure Geduld!

andig commented 3 months ago

@RenatusRo @kasn24 könnt ihr bitte morgen mal das Nightly ausprobieren? Damit sollten wir eigentlich in der Lage sein, sowohl zuviele Phasen als auch zu hohen Strom zu korrigieren!

kasn24 commented 3 months ago

Ich bin morgen nicht zuhause, Montag reiche ich nach.

kasn24 commented 3 months ago

Klappt nicht - bin im Nightly

[lp-2 ] INFO 2024/06/30 17:33:17 start charging ->
[lp-2 ] DEBUG 2024/06/30 17:33:17 wake-up timer: stop
[lp-2 ] DEBUG 2024/06/30 17:33:18 vehicle status: C
[lp-2 ] DEBUG 2024/06/30 17:33:18 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:33:18 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:33:18 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:33:18 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:33:18 available power 4474W > 4140W min 3p threshold
[lp-2 ] DEBUG 2024/06/30 17:33:18 start phase scale3p timer
[lp-2 ] DEBUG 2024/06/30 17:33:18 phase scale3p in 1m0s
[lp-2 ] DEBUG 2024/06/30 17:33:18 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:33:18 pv charge current: 10.5A = 6A + 4.45A (-3074W @ 3p)
[lp-2 ] DEBUG 2024/06/30 17:33:18 pv timer reset
[lp-2 ] DEBUG 2024/06/30 17:33:18 pv timer inactive
[lp-2 ] DEBUG 2024/06/30 17:33:18 max charge current: 10A
[lp-2 ] DEBUG 2024/06/30 17:33:32 charge power: 2200W
[lp-2 ] DEBUG 2024/06/30 17:33:32 charge currents: [9.8 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:33:47 charge power: 2200W
[lp-2 ] DEBUG 2024/06/30 17:33:47 charge currents: [9.8 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:33:47 vehicle odometer: 35456km
[lp-2 ] DEBUG 2024/06/30 17:33:47 detected active phases: 1p
[lp-2 ] DEBUG 2024/06/30 17:33:47 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:33:48 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:33:48 soc estimated: 37.00% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:33:48 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:33:48 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:33:48 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:33:48 !! active phases: 1p = min(1p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:33:48 available power 4370W > 4140W min 3p threshold
[lp-2 ] DEBUG 2024/06/30 17:33:48 phase scale3p in 30s
[lp-2 ] DEBUG 2024/06/30 17:33:48 !! active phases: 1p = min(1p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:33:48 pv charge current: 19.4A = 10A + 9.43A (-2170W @ 1p)
[lp-2 ] DEBUG 2024/06/30 17:33:48 max charge current: 16A
[lp-2 ] DEBUG 2024/06/30 17:34:02 charge power: 3500W
[lp-2 ] DEBUG 2024/06/30 17:34:02 charge currents: [15.3 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:34:17 charge power: 3600W
[lp-2 ] DEBUG 2024/06/30 17:34:17 charge currents: [15.8 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:34:17 detected active phases: 1p
[lp-2 ] DEBUG 2024/06/30 17:34:17 !! session: chargeRater.chargedEnergy=11.1 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:34:17 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:34:17 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:34:17 soc estimated: 37.12% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:34:17 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:34:17 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:34:17 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:34:18 !! active phases: 1p = min(1p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:18 available power 4388W > 4140W min 3p threshold
[lp-2 ] DEBUG 2024/06/30 17:34:18 phase scale3p in 0s
[lp-2 ] DEBUG 2024/06/30 17:34:18 !! active phases: 1p = min(1p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:18 pv charge current: 19.4A = 16A + 3.42A (-788W @ 1p)
[lp-2 ] DEBUG 2024/06/30 17:34:32 charge power: 3500W
[lp-2 ] DEBUG 2024/06/30 17:34:32 charge currents: [15.3 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:34:47 charge power: 3500W
[lp-2 ] DEBUG 2024/06/30 17:34:47 charge currents: [15.3 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:34:47 detected active phases: 1p
[lp-2 ] DEBUG 2024/06/30 17:34:47 !! session: chargeRater.chargedEnergy=11.1 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:34:47 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:34:47 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:34:47 soc estimated: 37.12% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:34:47 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:34:47 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:34:47 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:34:48 !! active phases: 1p = min(1p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:48 available power 4569W > 4140W min 3p threshold
[lp-2 ] DEBUG 2024/06/30 17:34:48 phase scale3p in 0s
[lp-2 ] DEBUG 2024/06/30 17:34:48 switched phases: 3p
[lp-2 ] DEBUG 2024/06/30 17:34:48 phase timer inactive
[lp-2 ] DEBUG 2024/06/30 17:34:48 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:48 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:48 pv charge current: 6.88A = 5.33A + 1.55A (-1069W @ 3p)
[lp-2 ] DEBUG 2024/06/30 17:34:48 max charge current: 6A
[lp-2 ] DEBUG 2024/06/30 17:35:02 charge power: 1400W
[lp-2 ] DEBUG 2024/06/30 17:35:02 charge currents: [6 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:35:17 charge power: 1400W
[lp-2 ] DEBUG 2024/06/30 17:35:17 charge currents: [6 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:35:17 !! session: chargeRater.chargedEnergy=11.1 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:35:17 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:35:17 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:35:17 soc estimated: 37.12% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:35:17 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:35:17 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:35:17 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:35:18 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:35:18 pv charge current: 11.1A = 6A + 5.11A (-3528W @ 3p)
[lp-2 ] DEBUG 2024/06/30 17:35:18 max charge current: 11A
[lp-2 ] DEBUG 2024/06/30 17:35:32 charge power: 2400W
[lp-2 ] DEBUG 2024/06/30 17:35:32 charge currents: [10.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:35:47 charge power: 2400W
[lp-2 ] DEBUG 2024/06/30 17:35:47 charge currents: [10.6 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:35:47 !! session: chargeRater.chargedEnergy=11.1 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:35:47 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:35:48 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:35:48 soc estimated: 37.12% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:35:48 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:35:48 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:35:48 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:35:48 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:35:48 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:35:48 pv charge current: 15A = 11A + 3.97A (-2738W @ 3p)
[lp-2 ] DEBUG 2024/06/30 17:35:48 max charge current: 14A
[lp-2 ] DEBUG 2024/06/30 17:36:02 charge power: 3100W
[lp-2 ] DEBUG 2024/06/30 17:36:02 charge currents: [13.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:36:17 charge power: 3100W
[lp-2 ] DEBUG 2024/06/30 17:36:17 charge currents: [13.6 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:36:17 detected active phases: 1p
[lp-2 ] DEBUG 2024/06/30 17:36:17 !! session: chargeRater.chargedEnergy=11.2 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:36:17 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:36:17 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:36:17 soc estimated: 37.23% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:36:17 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:36:17 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:36:17 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:36:18 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:36:18 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:36:18 pv charge current: 24.1A = 14A + 10.1A (-2325W @ 1p)
[lp-2 ] DEBUG 2024/06/30 17:36:18 max charge current: 16A
[lp-2 ] DEBUG 2024/06/30 17:36:32 charge power: 3600W
[lp-2 ] DEBUG 2024/06/30 17:36:32 charge currents: [15.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:36:47 charge power: 3600W
[lp-2 ] DEBUG 2024/06/30 17:36:47 charge currents: [15.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:36:47 detected active phases: 1p
[lp-2 ] DEBUG 2024/06/30 17:36:47 !! session: chargeRater.chargedEnergy=11.2 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:36:47 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:36:48 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:36:48 soc estimated: 37.23% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:36:48 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:36:48 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:36:48 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:36:48 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:36:48 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:36:48 pv charge current: 48.7A = 16A + 32.7A (-7522W @ 1p)
[lp-2 ] DEBUG 2024/06/30 17:37:02 charge power: 3600W
[lp-2 ] DEBUG 2024/06/30 17:37:02 charge currents: [15.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:37:17 charge power: 3600W
[lp-2 ] DEBUG 2024/06/30 17:37:17 charge currents: [15.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:37:17 detected active phases: 1p
[lp-2 ] DEBUG 2024/06/30 17:37:17 !! session: chargeRater.chargedEnergy=11.2 - chargedAtStartup=11.0
[lp-2 ] DEBUG 2024/06/30 17:37:17 charge total import: 241.100kWh
[lp-2 ] DEBUG 2024/06/30 17:37:17 charger status: C
[lp-2 ] DEBUG 2024/06/30 17:37:17 soc estimated: 37.23% (vehicle: 37.00%)
[lp-2 ] DEBUG 2024/06/30 17:37:17 vehicle soc: 37%
[lp-2 ] DEBUG 2024/06/30 17:37:17 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/06/30 17:37:17 vehicle range: 185km
[lp-2 ] DEBUG 2024/06/30 17:37:18 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:37:18 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:37:18 pv charge current: 49.8A = 16A + 33.8A (-7778W @ 1p)
[lp-2 ] DEBUG 2024/06/30 17:37:32 charge power: 3600W
[lp-2 ] DEBUG 2024/06/30 17:37:32 charge currents: [15.7 0.2 0.2]A
kasn24 commented 3 months ago
ksn@raspevcc:~ $ evcc charger wallbox8 --log trace --ignore-db
[main  ] INFO 2024/06/30 17:39:47 evcc 0.127.3 (4b2d137e)
[main  ] INFO 2024/06/30 17:39:47 using config file: /etc/evcc.yaml
[db    ] INFO 2024/06/30 17:39:48 using sqlite database: /home/ksn/.evcc/evcc.db
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT * FROM `settings` 0 <nil>
[mqtt  ] INFO 2024/06/30 17:39:48 connecting evcc-1005368811 at tcp://192.168.178.182:1883
[mqtt  ] DEBUG 2024/06/30 17:39:48 tcp://192.168.178.182:1883 connected
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT     fk_configs_details  %") -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT     fk_devices_details  %") -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "%   device_id   %") -1 <nil>
[db    ] TRACE 2024/06/30 17:39:48 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 01 00 00 00 06 ff 03 00 c8 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 01 00 00 00 05 ff 03 02 00 03
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 02 00 00 00 06 ff 03 00 0c 00 02
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 02 00 00 00 07 ff 03 04 00 00 0e 10
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 03 00 00 00 06 ff 03 00 1c 00 02
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 03 00 00 00 07 ff 03 04 00 00 09 6b
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 04 00 00 00 06 ff 03 00 06 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 04 00 00 00 05 ff 03 02 00 9e
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 05 00 00 00 06 ff 03 00 08 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 05 00 00 00 05 ff 03 02 00 02
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 06 00 00 00 06 ff 03 00 0a 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 06 00 00 00 05 ff 03 02 00 02
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 07 00 00 00 06 ff 03 00 6d 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 07 00 00 00 05 ff 03 02 09 06
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 08 00 00 00 06 ff 03 00 6f 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 08 00 00 00 05 ff 03 02 09 38
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 09 00 00 00 06 ff 03 00 71 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 09 00 00 00 05 ff 03 02 09 38
[em2go ] TRACE 2024/06/30 17:39:48 modbus: send 00 0a 00 00 00 06 ff 03 00 00 00 01
[em2go ] TRACE 2024/06/30 17:39:48 modbus: recv 00 0a 00 00 00 05 ff 03 02 00 04
[em2go ] TRACE 2024/06/30 17:39:49 modbus: send 00 0b 00 00 00 06 ff 03 00 5f 00 01
[em2go ] TRACE 2024/06/30 17:39:49 modbus: recv 00 0b 00 00 00 05 ff 03 02 00 01
[em2go ] TRACE 2024/06/30 17:39:49 modbus: send 00 0c 00 00 00 06 ff 03 00 48 00 02
[em2go ] TRACE 2024/06/30 17:39:49 modbus: recv 00 0c 00 00 00 07 ff 03 04 00 72 00 00
[em2go ] TRACE 2024/06/30 17:39:49 modbus: send 00 0d 00 00 00 06 ff 03 00 4e 00 02
[em2go ] TRACE 2024/06/30 17:39:49 modbus: recv 00 0d 00 00 00 07 ff 03 04 00 00 24 54
Power:          3600W
Energy:         241.1kWh
Current L1..L3: 15.8A 0.2A 0.2A
Voltage L1..L3: 231V 236V 236V
Charge status:  C
Enabled:        true
Charged:        11.4kWh
Duration:       2h35m0s
andig commented 3 months ago

Klappt nicht

Ok, was konkret klappt nicht? Soweit ich sehe wird jetzt auf 1p runter geregelt wie erwartet. Dass er auf 11kW startet können wir nicht verhindern da die Box anscheinend ein Eigenleben hat.

kasn24 commented 3 months ago

Der Start ist gar nicht mehr das Problem. Das klappt echt ganz gut mit den Interval von 15 Sekunden.

Hier geht er nicht mehr von 1p auf 3p hoch. evcc zählt runter, aber trotz 7-10kW Überschuss klappt es nicht. Habe versuch die wichtigen Punkte rauszusuchen aus dem Log.

[lp-2 ] DEBUG 2024/06/30 17:33:18 start phase scale3p timer

[lp-2 ] DEBUG 2024/06/30 17:33:18 phase scale3p in 1m0s

[lp-2 ] DEBUG 2024/06/30 17:33:48 phase scale3p in 30s

[lp-2 ] DEBUG 2024/06/30 17:34:48 phase scale3p in 0s

[lp-2 ] DEBUG 2024/06/30 17:34:48 switched phases: 3p
[lp-2 ] DEBUG 2024/06/30 17:34:48 phase timer inactive
[lp-2 ] DEBUG 2024/06/30 17:34:48 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:48 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:34:48 pv charge current: 6.88A = 5.33A + 1.55A (-1069W @ 3p)

[lp-2 ] DEBUG 2024/06/30 17:37:17 charge currents: [15.7 0.2 0.2]A
[lp-2 ] DEBUG 2024/06/30 17:37:17 detected active phases: 1p

[lp-2 ] DEBUG 2024/06/30 17:37:18 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:37:18 !! active phases: 1p = min(1p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/06/30 17:37:18 pv charge current: 49.8A = 16A + 33.8A (-7778W @ 1p)
andig commented 3 months ago

Ja, das ist doof. Die Situation können wir leider nicht erkennen. Leider scheint die WB zu behaupten auf 3p zu laufen, tut das aber nicht. Da muss jetzt tatsächlich der Support ran :(

andig commented 3 months ago

Du kannst morgen gerne nochmal das charger Kommando im Nightly ausprobieren- dann lesen wir auch die gesetzten Phasen nochmal aus: https://github.com/evcc-io/evcc/commit/391fadd612680bfc057f3bcb74093b86268762e3. Das sollte bestätigen, dass da 3 gesetzt ist. Wenn ja hat die Box einen Hänger...

premultiply commented 3 months ago

Ich gehe dann davon aus, dass auch das "Phasenregister" write-only ist und beim lesen einfach nur den letzten dort hineingeschrieben Wert zurück gibt statt den tatsächlichen Zustand zu respräsentieren (vergleichbar mit dem "Stromregister").

RenatusRo commented 3 months ago

@RenatusRo @kasn24 könnt ihr bitte morgen mal das Nightly ausprobieren? Damit sollten wir eigentlich in der Lage sein, sowohl zuviele Phasen als auch zu hohen Strom zu korrigieren!

verhaelt sich unauffaellig (mit der PRO): vorher keine probleme und jetzt auch nicht (derzeit nur im 1p-betrieb ausprobiert, da im alltag die anderen 2p per trennschalter abgeschaltet sind).

kasn24 commented 3 months ago

Du kannst morgen gerne nochmal das charger Kommando im Nightly ausprobieren- dann lesen wir auch die gesetzten Phasen nochmal aus: 391fadd. Das sollte bestätigen, dass da 3 gesetzt ist. Wenn ja hat die Box einen Hänger...

ksn@raspevcc:~ $ evcc charger wallbox8 --log trace --ignore-db
[main  ] INFO 2024/07/01 11:07:22 evcc 0.127.3 (c9453c2b)
[main  ] INFO 2024/07/01 11:07:22 using config file: /etc/evcc.yaml
[db    ] INFO 2024/07/01 11:07:22 using sqlite database: /home/ksn/.evcc/evcc.db
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT * FROM `settings` 0 <nil>
[mqtt  ] INFO 2024/07/01 11:07:22 connecting evcc-369116408 at tcp://192.168.178.182:1883
[mqtt  ] DEBUG 2024/07/01 11:07:22 tcp://192.168.178.182:1883 connected
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT     fk_configs_details  %") -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT     fk_devices_details  %") -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "%   device_id   %") -1 <nil>
[db    ] TRACE 2024/07/01 11:07:22 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[em2go ] TRACE 2024/07/01 11:07:22 modbus: send 00 01 00 00 00 06 ff 03 00 c8 00 01
[em2go ] TRACE 2024/07/01 11:07:22 modbus: recv 00 01 00 00 00 05 ff 03 02 00 03
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 02 00 00 00 06 ff 03 00 0c 00 02
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 02 00 00 00 07 ff 03 04 00 00 0d ac
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 03 00 00 00 06 ff 03 00 1c 00 02
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 03 00 00 00 07 ff 03 04 00 00 09 bf
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 04 00 00 00 06 ff 03 00 06 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 04 00 00 00 05 ff 03 02 00 9a
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 05 00 00 00 06 ff 03 00 08 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 05 00 00 00 05 ff 03 02 00 02
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 06 00 00 00 06 ff 03 00 0a 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 06 00 00 00 05 ff 03 02 00 02
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 07 00 00 00 06 ff 03 00 6d 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 07 00 00 00 05 ff 03 02 08 f2
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 08 00 00 00 06 ff 03 00 6f 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 08 00 00 00 05 ff 03 02 09 1a
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 09 00 00 00 06 ff 03 00 71 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 09 00 00 00 05 ff 03 02 09 1a
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 0a 00 00 00 06 ff 03 00 00 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 0a 00 00 00 05 ff 03 02 00 04
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 0b 00 00 00 06 ff 03 00 5f 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 0b 00 00 00 05 ff 03 02 00 01
[em2go ] TRACE 2024/07/01 11:07:23 modbus: send 00 0c 00 00 00 06 ff 03 00 48 00 02
[em2go ] TRACE 2024/07/01 11:07:23 modbus: recv 00 0c 00 00 00 07 ff 03 04 00 22 00 00
[em2go ] TRACE 2024/07/01 11:07:24 modbus: send 00 0d 00 00 00 06 ff 03 00 4e 00 02
[em2go ] TRACE 2024/07/01 11:07:24 modbus: recv 00 0d 00 00 00 07 ff 03 04 00 00 0d d4
[em2go ] TRACE 2024/07/01 11:07:24 modbus: send 00 0e 00 00 00 06 ff 03 00 5b 00 01
[em2go ] TRACE 2024/07/01 11:07:24 modbus: recv 00 0e 00 00 00 05 ff 03 02 00 a0
[em2go ] TRACE 2024/07/01 11:07:24 modbus: send 00 0f 00 00 00 06 ff 03 00 c8 00 01
[em2go ] TRACE 2024/07/01 11:07:24 modbus: recv 00 0f 00 00 00 05 ff 03 02 00 03
Power:          3500W
Energy:         249.5kWh
Current L1..L3: 15.4A 0.2A 0.2A
Voltage L1..L3: 229V 233V 233V
Charge status:  C
Enabled:        true
Charged:        3.4kWh
Duration:       59m0s
Max Current:    16.0A
Phases:         3

Wenig vorher, wieder der gescheiterte Phasenwechsel auf 3p

[lp-2 ] DEBUG 2024/07/01 11:06:16 detected active phases: 1p
[lp-2 ] DEBUG 2024/07/01 11:06:16 !! session: chargeRater.chargedEnergy=3.3 - chargedAtStartup=2.2
[lp-2 ] DEBUG 2024/07/01 11:06:16 charge total import: 249.500kWh
[lp-2 ] DEBUG 2024/07/01 11:06:16 charger status: C
[lp-2 ] DEBUG 2024/07/01 11:06:16 soc estimated: 49.23% (vehicle: 49.00%)
[lp-2 ] DEBUG 2024/07/01 11:06:16 vehicle soc: 49%
[lp-2 ] DEBUG 2024/07/01 11:06:16 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/07/01 11:06:16 vehicle range: 249km
[lp-2 ] DEBUG 2024/07/01 11:06:17 !! active phases: 1p = min(1p measured 0p vehicle 0p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:06:17 available power 14972W > 4140W min 3p threshold
[lp-2 ] DEBUG 2024/07/01 11:06:17 phase scale3p in 0s
[lp-2 ] DEBUG 2024/07/01 11:06:17 switched phases: 3p
[lp-2 ] DEBUG 2024/07/01 11:06:17 phase timer inactive
[lp-2 ] DEBUG 2024/07/01 11:06:17 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:06:17 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:06:17 pv charge current: 22A = 5.33A + 16.6A (-11472W @ 3p)
[lp-2 ] DEBUG 2024/07/01 11:06:30 charge power: 3500W
[lp-2 ] DEBUG 2024/07/01 11:06:31 charge currents: [15.5 0.2 0.2]A
[lp-2 ] DEBUG 2024/07/01 11:06:45 charge power: 3500W
[lp-2 ] DEBUG 2024/07/01 11:06:46 charge currents: [15.5 0.2 0.2]A
[lp-2 ] DEBUG 2024/07/01 11:06:46 !! session: chargeRater.chargedEnergy=3.3 - chargedAtStartup=2.2
[lp-2 ] DEBUG 2024/07/01 11:06:46 charge total import: 249.500kWh
[lp-2 ] DEBUG 2024/07/01 11:06:46 charger status: C
[lp-2 ] DEBUG 2024/07/01 11:06:46 soc estimated: 49.23% (vehicle: 49.00%)
[lp-2 ] DEBUG 2024/07/01 11:06:46 vehicle soc: 49%
[lp-2 ] DEBUG 2024/07/01 11:06:46 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/07/01 11:06:46 vehicle range: 249km
[lp-2 ] DEBUG 2024/07/01 11:06:46 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:06:46 pv charge current: 32.2A = 16A + 16.2A (-11210W @ 3p)
andig commented 3 months ago

Wie erwartet:

Phases:         3

Ich habe em2go über unseren Kanal angeschrieben.

kasn24 commented 3 months ago

Danke, ich habe die Logs von gestern auch nochmal nachgeschickt an den Support! Die Stromstärken werden ja korrekt übermittelt.

Weiterer Test:

Stellung auf Aus und dann wieder auf PV und er startet erfolgreich 3p

[lp-2 ] DEBUG 2024/07/01 11:11:02 pv enable timer remaining: 18s
[lp-2 ] DEBUG 2024/07/01 11:11:16 charge power: 0W
[lp-2 ] DEBUG 2024/07/01 11:11:16 charge currents: [0 0 0]A
[lp-2 ] DEBUG 2024/07/01 11:11:31 charge power: 0W
[lp-2 ] DEBUG 2024/07/01 11:11:31 charge currents: [0 0 0]A
[lp-2 ] DEBUG 2024/07/01 11:11:32 charge total import: 250.100kWh
[lp-2 ] DEBUG 2024/07/01 11:11:32 charger status: B
[lp-2 ] DEBUG 2024/07/01 11:11:32 next soc poll remaining time: 58m47s
[lp-2 ] DEBUG 2024/07/01 11:11:32 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:11:32 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:11:32 pv charge current: 24A = 0A + 24A (-16558W @ 3p)
[lp-2 ] DEBUG 2024/07/01 11:11:32 site power -16558W <= 0W enable threshold
[lp-2 ] DEBUG 2024/07/01 11:11:32 pv enable in 0s
[lp-2 ] DEBUG 2024/07/01 11:11:32 pv enable timer elapsed
[lp-2 ] DEBUG 2024/07/01 11:11:32 max charge current: 6A
[lp-2 ] DEBUG 2024/07/01 11:11:32 charger enable
[lp-2 ] DEBUG 2024/07/01 11:11:32 wake-up timer: start
[lp-2 ] DEBUG 2024/07/01 11:11:46 charge power: 1000W
[lp-2 ] DEBUG 2024/07/01 11:11:46 charge currents: [4.4 0.4 0.2]A
[lp-2 ] DEBUG 2024/07/01 11:12:01 charge power: 10800W
[lp-2 ] DEBUG 2024/07/01 11:12:01 charge currents: [15.9 15.9 16]A
[lp-2 ] DEBUG 2024/07/01 11:12:02 charge total import: 250.100kWh
[lp-2 ] DEBUG 2024/07/01 11:12:02 charger status: C
[lp-2 ] INFO 2024/07/01 11:12:02 start charging ->
[lp-2 ] DEBUG 2024/07/01 11:12:02 wake-up timer: stop
[lp-2 ] DEBUG 2024/07/01 11:12:02 soc estimated: 50.00% (vehicle: 50.00%)
[lp-2 ] DEBUG 2024/07/01 11:12:02 vehicle soc: 50%
[lp-2 ] DEBUG 2024/07/01 11:12:02 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/07/01 11:12:02 vehicle range: 251km
[lp-2 ] DEBUG 2024/07/01 11:12:02 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:12:02 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-2 ] DEBUG 2024/07/01 11:12:02 pv charge current: 10.7A = 16A + -5.31A (3665W @ 3p)
[lp-2 ] DEBUG 2024/07/01 11:12:02 pv timer reset
[lp-2 ] DEBUG 2024/07/01 11:12:02 pv timer inactive
[lp-2 ] DEBUG 2024/07/01 11:12:02 max charge current: 10A
ksn@raspevcc:~ $ evcc charger wallbox8 --log trace --ignore-db
[main  ] INFO 2024/07/01 11:13:14 evcc 0.127.3 (c9453c2b)
[main  ] INFO 2024/07/01 11:13:14 using config file: /etc/evcc.yaml
[db    ] INFO 2024/07/01 11:13:15 using sqlite database: /home/ksn/.evcc/evcc.db
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT * FROM `settings` 0 <nil>
[mqtt  ] INFO 2024/07/01 11:13:15 connecting evcc-1259896030 at tcp://192.168.178.182:1883
[mqtt  ] DEBUG 2024/07/01 11:13:15 tcp://192.168.178.182:1883 connected
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="device_details" -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="devices" -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="config_details" -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "config_details" AND sql IS NOT NULL order by type = "table" desc 2 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT * FROM `config_details` LIMIT 1 -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_configs_details"" %" OR sql LIKE "%CONSTRAINT fk_configs_details %" OR sql LIKE "%CONSTRAINT `fk_configs_details`%" OR sql LIKE "%CONSTRAINT [fk_configs_details]%" OR sql LIKE "%CONSTRAINT     fk_configs_details  %") -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type = "index" AND tbl_name = "config_details" AND name = "idx_unique" -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%CONSTRAINT ""fk_devices_details"" %" OR sql LIKE "%CONSTRAINT fk_devices_details %" OR sql LIKE "%CONSTRAINT `fk_devices_details`%" OR sql LIKE "%CONSTRAINT [fk_devices_details]%" OR sql LIKE "%CONSTRAINT     fk_devices_details  %") -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT count(*) FROM sqlite_master WHERE type = "table" AND tbl_name = "config_details" AND (sql LIKE "%""device_id"" %" OR sql LIKE "%device_id %" OR sql LIKE "%`device_id`%" OR sql LIKE "%[device_id]%" OR sql LIKE "%   device_id   %") -1 <nil>
[db    ] TRACE 2024/07/01 11:13:15 SELECT * FROM `configs` WHERE `configs`.`class` = 1 ORDER BY id 0 <nil>
[em2go ] TRACE 2024/07/01 11:13:15 modbus: send 00 01 00 00 00 06 ff 03 00 c8 00 01
[em2go ] TRACE 2024/07/01 11:13:15 modbus: recv 00 01 00 00 00 05 ff 03 02 00 03
[em2go ] TRACE 2024/07/01 11:13:15 modbus: send 00 02 00 00 00 06 ff 03 00 0c 00 02
[em2go ] TRACE 2024/07/01 11:13:15 modbus: recv 00 02 00 00 00 07 ff 03 04 00 00 12 c0
[em2go ] TRACE 2024/07/01 11:13:15 modbus: send 00 03 00 00 00 06 ff 03 00 1c 00 02
[em2go ] TRACE 2024/07/01 11:13:15 modbus: recv 00 03 00 00 00 07 ff 03 04 00 00 09 c5
[em2go ] TRACE 2024/07/01 11:13:15 modbus: send 00 04 00 00 00 06 ff 03 00 06 00 01
[em2go ] TRACE 2024/07/01 11:13:15 modbus: recv 00 04 00 00 00 05 ff 03 02 00 46
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 05 00 00 00 06 ff 03 00 08 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 05 00 00 00 05 ff 03 02 00 46
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 06 00 00 00 06 ff 03 00 0a 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 06 00 00 00 05 ff 03 02 00 46
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 07 00 00 00 06 ff 03 00 6d 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 07 00 00 00 05 ff 03 02 09 06
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 08 00 00 00 06 ff 03 00 6f 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 08 00 00 00 05 ff 03 02 09 06
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 09 00 00 00 06 ff 03 00 71 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 09 00 00 00 05 ff 03 02 09 06
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 0a 00 00 00 06 ff 03 00 00 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 0a 00 00 00 05 ff 03 02 00 04
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 0b 00 00 00 06 ff 03 00 5f 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 0b 00 00 00 05 ff 03 02 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 0c 00 00 00 06 ff 03 00 48 00 02
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 0c 00 00 00 07 ff 03 04 00 01 00 00
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 0d 00 00 00 06 ff 03 00 4e 00 02
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 0d 00 00 00 07 ff 03 04 00 00 00 3c
[em2go ] TRACE 2024/07/01 11:13:16 modbus: send 00 0e 00 00 00 06 ff 03 00 5b 00 01
[em2go ] TRACE 2024/07/01 11:13:16 modbus: recv 00 0e 00 00 00 05 ff 03 02 00 46
[em2go ] TRACE 2024/07/01 11:13:17 modbus: send 00 0f 00 00 00 06 ff 03 00 c8 00 01
[em2go ] TRACE 2024/07/01 11:13:17 modbus: recv 00 0f 00 00 00 05 ff 03 02 00 03
Power:          4800W
Energy:         250.1kWh
Current L1..L3: 7A 7A 7A
Voltage L1..L3: 231V 231V 231V
Charge status:  C
Enabled:        true
Charged:        0.1kWh
Duration:       1m0s
Max Current:    7.0A
Phases:         3
premultiply commented 3 months ago

@andig Braucht die Box vielleicht vor der Umschaltung immer einen expliziten Stop bzw. übernimmt den im Register stehenden Phasenwert nur beim Starten?

njd1893 commented 3 months ago

@andig Braucht die Box vielleicht vor der Umschaltung immer einen expliziten Stop bzw. übernimmt den im Register stehenden Phasenwert nur beim Starten?

Bei meiner em2go Home Box funktioniert die automatische Phasenerkennung und Umschaltung auch nicht richtig (inconsistent phases etc...). Manuell funktioniert die Phasenumschaltung problemlos. Also während des Ladevorgangs manuell z.B. im Min+PV Modus in der evcc GUI von 1-phasig auf 3-phasig umschalten und wieder zurück. Ich muss den Ladevorgang dafür auch nicht stoppen. Wird bei der manuellen Umschaltung vielleicht ein anderer Funktionsaufruf verwendet, als wenn evcc automatisch die Phasen umschalten will?

Die Erkennung der aktiven Phasen dauert auch eine Minute, nachdem die Phasen umgeschaltet wurden. Wenn aber die Erkennung dann funktioniert hat, wird wieder im 15 Sekunden Rhythmus die Phasenerkennung durchgeführt. Ich hab mal versucht im Log das zu highlighten.

-----------> [lp-1 ] DEBUG 2024/07/02 11:42:56 detected active phases: 1p
[lp-1 ] DEBUG 2024/07/02 11:42:56 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:42:56 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:42:56 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:42:56 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:42:56 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:42:56 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:42:56 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:42:56 !! active phases: 1p = min(1p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:42:56 !! active phases: 1p = min(1p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:42:56 pv charge current: min 6A > 4.59A (323W @ 1p, battery: false)
-----------> [lp-1 ] DEBUG 2024/07/02 11:42:59 set phases: 3
[lp-1 ] DEBUG 2024/07/02 11:42:59 charge power: 1300W
[lp-1 ] DEBUG 2024/07/02 11:42:59 charge currents: [5.9 0 0]A
-----------> [lp-1 ] DEBUG 2024/07/02 11:43:02 detected active phases: 1p
[lp-1 ] DEBUG 2024/07/02 11:43:02 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:43:02 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:43:02 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:43:02 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:43:02 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:43:02 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:43:02 vehicle range: 218km
-----------> [lp-1 ] DEBUG 2024/07/02 11:43:02 switched phases: 3p
[lp-1 ] DEBUG 2024/07/02 11:43:02 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:43:06 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:43:07 charge currents: [5.9 6 5.9]A
[lp-1 ] DEBUG 2024/07/02 11:43:13 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:43:13 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:43:14 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:43:14 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:43:14 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:43:14 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:43:14 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:43:14 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:43:14 pv charge current: min 6A > 1.54A (3077W @ 3p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:43:21 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:43:22 charge currents: [5.8 6 5.9]A
[lp-1 ] DEBUG 2024/07/02 11:43:24 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:43:24 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:43:24 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:43:24 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:43:24 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:43:24 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:43:24 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:43:24 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:43:24 pv charge current: min 6A > 1.52A (3093W @ 3p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:43:36 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:43:37 charge currents: [5.8 6 5.9]A
[lp-1 ] DEBUG 2024/07/02 11:43:40 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:43:40 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:43:40 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:43:40 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:43:40 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:43:40 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:43:40 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:43:41 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:43:41 pv charge current: min 6A > 1.45A (3140W @ 3p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:43:51 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:43:52 charge currents: [5.8 6 5.9]A
[lp-1 ] DEBUG 2024/07/02 11:43:54 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:43:54 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:43:54 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:43:54 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:43:54 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:43:54 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:43:54 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:43:54 !! active phases: 3p = min(0p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:43:54 pv charge current: min 6A > 1.38A (3187W @ 3p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:44:06 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:44:07 charge currents: [5.8 6 5.9]A
-----------> [lp-1 ] DEBUG 2024/07/02 11:44:09 detected active phases: 3p
[lp-1 ] DEBUG 2024/07/02 11:44:09 !! session: chargeRater.chargedEnergy=2.6 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:44:09 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:44:09 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:44:09 soc estimated: 55.85% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:44:09 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:44:09 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:44:09 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:44:09 !! active phases: 3p = min(3p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:09 !! active phases: 3p = min(3p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:09 pv charge current: min 6A > 1.36A (3203W @ 3p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:44:21 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:44:22 charge currents: [5.8 6 5.9]A
-----------> [lp-1 ] DEBUG 2024/07/02 11:44:26 detected active phases: 3p
[lp-1 ] DEBUG 2024/07/02 11:44:26 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:44:26 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:44:26 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:44:26 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:44:26 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:44:26 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:44:26 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:44:27 !! active phases: 3p = min(3p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:27 !! active phases: 3p = min(3p measured 0p vehicle 3p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:27 pv charge current: min 6A > 1.3A (3244W @ 3p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:44:36 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:44:37 charge currents: [5.8 6 5.9]A
-----------> [lp-1 ] DEBUG 2024/07/02 11:44:40 detected active phases: 3p
[lp-1 ] DEBUG 2024/07/02 11:44:41 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:44:41 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:44:41 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:44:41 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:44:41 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:44:41 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:44:41 vehicle range: 218km
-----------> [lp-1 ] DEBUG 2024/07/02 11:44:41 set phases: 1
-----------> [lp-1 ] DEBUG 2024/07/02 11:44:41 switched phases: 1p
[lp-1 ] DEBUG 2024/07/02 11:44:41 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:41 charge power: 4000W
[lp-1 ] DEBUG 2024/07/02 11:44:42 charge currents: [5.8 6 5.9]A
[lp-1 ] DEBUG 2024/07/02 11:44:45 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:44:45 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:44:45 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:44:45 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:44:45 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:44:45 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:44:45 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:44:45 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:45 pv charge current: min 6A > 1.89A (945W @ 1p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:44:51 charge power: 1300W
[lp-1 ] DEBUG 2024/07/02 11:44:52 charge currents: [5.9 0 0]A
[lp-1 ] DEBUG 2024/07/02 11:44:55 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:44:55 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:44:55 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:44:55 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:44:55 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:44:55 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:44:55 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:44:55 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:44:55 pv charge current: min 6A > 3.51A (572W @ 1p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:45:06 charge power: 1300W
[lp-1 ] DEBUG 2024/07/02 11:45:07 charge currents: [5.9 0 0]A
[lp-1 ] DEBUG 2024/07/02 11:45:10 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:45:10 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:45:10 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:45:10 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:45:10 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:45:10 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:45:10 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:45:10 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:45:10 pv charge current: min 6A > 3.46A (584W @ 1p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:45:21 charge power: 1300W
[lp-1 ] DEBUG 2024/07/02 11:45:22 charge currents: [5.9 0 0]A
[lp-1 ] DEBUG 2024/07/02 11:45:25 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:45:25 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:45:25 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:45:25 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:45:25 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:45:25 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:45:25 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:45:26 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:45:26 pv charge current: min 6A > 3.42A (594W @ 1p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:45:36 charge power: 1300W
[lp-1 ] DEBUG 2024/07/02 11:45:37 charge currents: [5.9 0 0]A
[lp-1 ] DEBUG 2024/07/02 11:45:41 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:45:41 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:45:41 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:45:41 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:45:41 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:45:41 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:45:41 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:45:41 !! active phases: 1p = min(0p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:45:41 pv charge current: min 6A > 3.31A (618W @ 1p, battery: false)
[lp-1 ] DEBUG 2024/07/02 11:45:51 charge power: 1300W
[lp-1 ] DEBUG 2024/07/02 11:45:52 charge currents: [5.9 0 0]A
-----------> [lp-1 ] DEBUG 2024/07/02 11:45:55 detected active phases: 1p
[lp-1 ] DEBUG 2024/07/02 11:45:55 !! session: chargeRater.chargedEnergy=2.7 - chargedAtStartup=0.1
[lp-1 ] DEBUG 2024/07/02 11:45:55 charge total import: 7.200kWh
[lp-1 ] DEBUG 2024/07/02 11:45:55 charger status: C
[lp-1 ] DEBUG 2024/07/02 11:45:55 soc estimated: 56.00% (vehicle: 53.00%)
[lp-1 ] DEBUG 2024/07/02 11:45:55 vehicle soc: 56%
[lp-1 ] DEBUG 2024/07/02 11:45:55 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/07/02 11:45:55 vehicle range: 218km
[lp-1 ] DEBUG 2024/07/02 11:45:55 !! active phases: 1p = min(1p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:45:55 !! active phases: 1p = min(1p measured 0p vehicle 1p physical 0p charger)
[lp-1 ] DEBUG 2024/07/02 11:45:55 pv charge current: min 6A > 3.34A (611W @ 1p, battery: false)
premultiply commented 3 months ago

An diesem Log sehe ich eigentlich nur zwei Dinge die mir allerdings eher Sorgen bereiten:

1) Die Umschaltung funktioniert (sofort) - zumindest zeigen das die zurückgelieferten Phasenströme und 2) die Box unterbricht dabei ganz offensichtlich die Ladung nicht selbsttätig(!!!).

Letzteres darf so auf keinen Fall sein.

Wenn man das mit dem falschen Fahrzeug macht gibt es ein großes Hallo.

njd1893 commented 3 months ago

Da hab ich gar nicht darauf geachtet. Die Wallbox schaltet tatsächlich nicht (sichtbar) ab. Bin in die Garage und habs mir angeschaut (bzw. angehört). Man hört den Schütz klicken und weiter geht's mit dem Laden ohne (sichtbare) Unterbrechung. Im Display der Wallbox sieht man, dass der Strom bzw. die Ströme der einzelnen Phasen kurz auf 0 gehen und dann langsam nach der Umschaltung innerhalb von 2 Sekunden von 0 auf 6A steigen. Aber wer weiß, wie genau diese Anzeige ist. Der Enyaq lebt übrigens noch. Hab jetzt erst mal fix einphasiges Laden eingestellt ohne irgendwelche Umschaltungen.

Wäre cool, wenn man den expliziten Stop-Befehl implementieren würde, weil scheinbar die Wallbox das selbst nicht machen will.

premultiply commented 3 months ago

Wenn die Box korrekt abschalten würde müsste es bei jeder Umschaltung mindestes zweimal "klicken". Mit mindestens 10s Pause dazwischen. Nur einmaliges Klicken spricht dafür dass einfach nur L2+L3 ohne Unterbrechung zu/abgeschaltet werden und das Fahrzeug dann höchstens vor lauter Schreck selbst kurz unterbricht.

JensD71 commented 3 months ago

Nach meinem Verständnis wird das Laden einzig und allein vom Auto kontrolliert. Die Wallbox gibt nur vor, wieviel Phasen (durch Spannung an diesen) und den maximalen Ladestrom durch entsprechende Signalisierung.

Ebenso wird der Ladestrom nur durch das Auto eingestellt, die Wallbox gibt nur den maximalen Ladestrom vor.