evcc-io / evcc

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

Ladeleistung wird nicht reduziert #9954

Closed MarSlz closed 1 year ago

MarSlz commented 1 year ago

Describe the bug

Die Ladeleistung wird im Modus Min+PV nicht auf das Minimum reduziert bzw. Springt während der Ladung auf einmal auf das Max.

da meine PV Leistung zu klein ist, lass ich Über „residualPower: -1200 #“ 1200W Netzbezug zu (1200W Netzbezug + Max. 600W PV=> maximale Ladeleistung 1,8kW somit sollte doch die Ladeleistung zwischen 1,4kW (min) und 1,8kW liegen.

Zu meinem Verständnis sollte im Modus PV das laden, dann bei weniger als 200W Pv Leistung unterbrochen werden, oder?

Heute Morgen sprang die Ladeleistung von 1,4kW auf Max. 10kw,

image

heute Abend startete die Ladung direkt mit 10kW.

Steps to reproduce

  1. starte Ladung im Modus Min+ Pv
  2. warten
  3. ...

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: evcc.local
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 10s # control cycle 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: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3ODMxNjQ5MTQsImlhdCI6MTY4ODU1NjkxNCwiaXNzIjoiZXZjYy5pbyIsInN1YiI6Ik1hclNseiJ9.lkfAFTk0DGizXFyyA86NK-oGFxWwBq8p6fKo_W-mlD4

# 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
  ID.4: 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

# 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: hoymiles
    type: template
    template: hoymiles-opendtu
    usage: pv
    host: 192.168.177.64 # IP-Adresse oder Hostname
  - name: dummymeter
    type: custom
    power:
      source: const
      value: -1100 # 100 Watt

# 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: EHHTXHJJ
    type: template
    template: easee
    user: xxx@t-online.de # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: Passwor# Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    #charger: EHRDLBZF
    charger: EHHTXHJJ

  - name: EHRDLBZF
    type: template
    template: easee
    user: xxx@t-online.de # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: Passwort #des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    charger: EHRDLBZF
#    charger: EHHTXHJJ

# 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: ID.4
    type: template
    template: id
    title: ID.4 # Optional
    user: x@xx.com # Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: PSD! # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    vin: von # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind # Optional
    capacity: 77 # Akkukapazität in kWh # Optional 

# site describes the EVU connection, PV and home battery
site:
  title: zuhause # display name for UI
  meters:
    #grid: dummymeter # grid meter
    pv:
      - hoymiles # list of pv inverters/ meters
#    battery:
#      - battery # list of battery meters
#    aux:
#      - aux # list of auxiliary meters for adjusting grid operating point
  residualPower: -1200 # additional household usage margin
  prioritySoc: 0 # give home battery priority up to this soc (empty to disable)
  bufferSoc: 0 # continue charging on battery above soc (0 to disable)
  bufferStartSoc: 0 # start charging on battery above soc (0 to disable)
  maxGridSupplyWhileBatteryCharging: 0 # ignore battery charging if AC consumption is above this value
  smartCostLimit: 0 # set cost limit for automatic charging in PV mode

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
- title: Parkplatz
  charger: EHHTXHJJ
  mode: off
  phases: 0 # automatisch
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

- title: Garage
  charger: EHRDLBZF
  mode: off
  phases: 0 # automatisch
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

# 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.32 # 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: 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%)
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.08 # EUR/kWh
  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: 30559

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token>
    # zone: DE

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

# 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

[lp-1  ] DEBUG 2023/09/18 19:21:54 vehicle soc: 93%
[lp-1  ] DEBUG 2023/09/18 19:21:54 vehicle soc limit: 100%
[lp-1  ] DEBUG 2023/09/18 19:21:54 vehicle range: 359km
[site  ] DEBUG 2023/09/18 19:22:04 ----
[lp-1  ] DEBUG 2023/09/18 19:22:04 charge power: 10600W
[lp-2  ] DEBUG 2023/09/18 19:22:04 charge power: 0W
[site  ] DEBUG 2023/09/18 19:22:04 pv power: 5W
[site  ] DEBUG 2023/09/18 19:22:04 site power: 9395W
[lp-2  ] DEBUG 2023/09/18 19:22:04 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/18 19:22:04 charge total import: 0.157kWh
[lp-2  ] DEBUG 2023/09/18 19:22:04 charger status: A
[lp-1  ] DEBUG 2023/09/18 19:22:10 set charge mode: off
[lp-1  ] DEBUG 2023/09/18 19:22:10 pv timer reset
[lp-1  ] DEBUG 2023/09/18 19:22:10 pv timer inactive
[site  ] DEBUG 2023/09/18 19:22:10 ----
[lp-1  ] DEBUG 2023/09/18 19:22:10 charge power: 10600W
[lp-2  ] DEBUG 2023/09/18 19:22:10 charge power: 0W
[site  ] DEBUG 2023/09/18 19:22:10 pv power: 4W
[site  ] DEBUG 2023/09/18 19:22:10 site power: 9396W
[lp-1  ] DEBUG 2023/09/18 19:22:10 charge currents: [15.4 15.5 15.4]A
[lp-1  ] DEBUG 2023/09/18 19:22:10 detected active phases: 3p
[lp-1  ] DEBUG 2023/09/18 19:22:10 charge total import: 1506.310kWh
[lp-1  ] DEBUG 2023/09/18 19:22:13 charger status: C
[lp-1  ] DEBUG 2023/09/18 19:22:13 soc estimated: 93.15% (vehicle: 92.00%)
[lp-1  ] DEBUG 2023/09/18 19:22:13 vehicle soc: 93%
[lp-1  ] DEBUG 2023/09/18 19:22:13 vehicle soc limit: 100%
[lp-1  ] DEBUG 2023/09/18 19:22:13 vehicle range: 359km
[lp-1  ] DEBUG 2023/09/18 19:22:19 charger disable
[lp-1  ] DEBUG 2023/09/18 19:22:19 wake-up timer: stop

What type of operating system are you running?

HomeAssistant Add-on

Version

0.119.5

VolkerK62 commented 1 year ago

Evtl ist ein CO2-Wert bei Smartes Netzladen gesetzt? Klick mal um UI auf die g(ramm) Anzeige beim Netzbezug.

Gut wäre ein Log passend zu den Grafiken. https://docs.evcc.io/docs/guides/setup#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen Aber, ich glaube, bei HA geht das nicht.

MarSlz commented 1 year ago

Hallo Volker,

image

ich glaub das war ein sehr guter Tipp :-). Habe das mal ausgestellt und werde beobachten.

Vll. Lässt sich dass wenn aktiv, farblich hervorheben, sodass man eher daran denkt?

image

Wie ich mehr log Daten erzeugen kann, weiß ich unter HA leider nicht. Ggf könnte man die Werte über mqtt einbinden und dann im Verlauf mit anzeigen..,

VolkerK62 commented 1 year ago

Allerdings ist das eigentlich nur im Modus PV aktiv. Du hast doch aber den Modus Min+PV genutzt?

MarSlz commented 1 year ago

Ja genau, war im Modus min+pv