evcc-io / evcc

Solar Charging ☀️🚘
https://evcc.io
MIT License
3.64k stars 676 forks source link

PV Mode stop Charging #9841

Closed MarSlz closed 1 year ago

MarSlz commented 1 year ago

Describe the bug

Ladevorgang wird beim Unterschreiten der PV Leistung nicht gestoppt und wechselt auch nicht von 3P auf 1P (habe manuell umgestellt)

IMG_6936

Steps to reproduce

  1. Ladeziel wurde erreicht Laden gestoppt
  2. anpassen des Ladeziels, Ladung hat wieder begonnen, jetzt aber nicht mit der PV Leistung bzw. min Leistung sondern mit dem Maximum.

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: *****  
sponsortoken: *****  

# 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

# 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

# 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: *****  
    password: *****  
    #charger: EHRDLBZF

    charger: EHHTXHJJ

  - name: EHRDLBZF

    type: template

    template: easee

    user: *****  
    password: *****  
    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: *****  
    password: *****  
    vin: *****  
    capacity: 77 # Akkukapazität in kWh # Optional 

# site describes the EVU connection, PV and home battery

site:

  title: home # display name for UI

  meters:

#    grid: grid # 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: 200 # 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: *****  
    # 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: *****

    # type: electricitymaps # https://app.electricitymaps.com/map

    # uri: <uri>

    # token: *****  
    # zone: DE

# mqtt message broker

mqtt:

  broker: localhost:1883

  topic: evcc # root topic for publishing, set empty to disable

  user: *****  
  password: *****  

# 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: *****  
  #   recipients: *****  
  #   - # list of recipient ids

  # - type: telegram

  #   token: *****  
  #   chats: *****  
  #   - # list of chat ids

  # - type: email

  #   uri: smtp://<user: *****  
  # - type: ntfy

  #   uri: https://<host>/<topics>

  #   priority: <priority>

  #   tags: <tags>  

Log details

[lp-2  ] DEBUG 2023/09/11 14:06:16 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/11 14:06:16 charge total import: 0.157kWh
[lp-2  ] DEBUG 2023/09/11 14:06:16 charger status: A
[site  ] DEBUG 2023/09/11 14:06:26 ----
[lp-1  ] DEBUG 2023/09/11 14:06:26 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:06:26 charge power: 0W
[site  ] DEBUG 2023/09/11 14:06:26 pv power: 467W
[site  ] DEBUG 2023/09/11 14:06:26 site power: 3367W
[lp-1  ] DEBUG 2023/09/11 14:06:26 charge currents: [15.6 0.022 0.009]A
[lp-1  ] DEBUG 2023/09/11 14:06:26 detected active phases: 1p
[lp-1  ] DEBUG 2023/09/11 14:06:26 charge total import: 1405.382kWh
[lp-1  ] DEBUG 2023/09/11 14:06:26 charger status: C
[lp-1  ] DEBUG 2023/09/11 14:06:26 soc estimated: 51.86% (vehicle: 50.00%)
[lp-1  ] DEBUG 2023/09/11 14:06:26 vehicle soc: 52%
[lp-1  ] DEBUG 2023/09/11 14:06:26 vehicle soc limit: 80%
[lp-1  ] DEBUG 2023/09/11 14:06:26 vehicle range: 227km
[site  ] DEBUG 2023/09/11 14:06:36 ----
[lp-1  ] DEBUG 2023/09/11 14:06:36 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:06:36 charge power: 0W
[site  ] DEBUG 2023/09/11 14:06:36 pv power: 468W
[site  ] DEBUG 2023/09/11 14:06:36 site power: 3367W
[lp-2  ] DEBUG 2023/09/11 14:06:36 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/11 14:06:36 charge total import: 0.157kWh
[lp-2  ] DEBUG 2023/09/11 14:06:36 charger status: A
[site  ] DEBUG 2023/09/11 14:06:46 ----
[lp-1  ] DEBUG 2023/09/11 14:06:46 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:06:46 charge power: 0W
[site  ] DEBUG 2023/09/11 14:06:46 pv power: 467W
[site  ] DEBUG 2023/09/11 14:06:46 site power: 3367W
[lp-1  ] DEBUG 2023/09/11 14:06:46 charge currents: [15.6 0.022 0.009]A
[lp-1  ] DEBUG 2023/09/11 14:06:46 detected active phases: 1p
[lp-1  ] DEBUG 2023/09/11 14:06:46 charge total import: 1405.382kWh
[lp-1  ] DEBUG 2023/09/11 14:06:46 charger status: C
[lp-1  ] DEBUG 2023/09/11 14:06:46 soc estimated: 51.86% (vehicle: 50.00%)
[lp-1  ] DEBUG 2023/09/11 14:06:46 vehicle soc: 52%
[lp-1  ] DEBUG 2023/09/11 14:06:46 vehicle soc limit: 80%
[lp-1  ] DEBUG 2023/09/11 14:06:46 vehicle range: 227km
[site  ] DEBUG 2023/09/11 14:06:56 ----
[lp-1  ] DEBUG 2023/09/11 14:06:56 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:06:56 charge power: 0W
[site  ] DEBUG 2023/09/11 14:06:56 pv power: 467W
[site  ] DEBUG 2023/09/11 14:06:56 site power: 3367W
[lp-2  ] DEBUG 2023/09/11 14:06:56 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/11 14:06:56 charge total import: 0.157kWh
[lp-2  ] DEBUG 2023/09/11 14:06:56 charger status: A
[site  ] DEBUG 2023/09/11 14:07:06 ----
[lp-1  ] DEBUG 2023/09/11 14:07:06 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:07:06 charge power: 0W
[site  ] DEBUG 2023/09/11 14:07:06 pv power: 470W
[site  ] DEBUG 2023/09/11 14:07:06 site power: 3364W
[lp-1  ] DEBUG 2023/09/11 14:07:06 charge currents: [15.6 0.022 0.009]A
[lp-1  ] DEBUG 2023/09/11 14:07:06 detected active phases: 1p
[lp-1  ] DEBUG 2023/09/11 14:07:06 charge total import: 1405.382kWh
[lp-1  ] DEBUG 2023/09/11 14:07:06 charger status: C
[lp-1  ] DEBUG 2023/09/11 14:07:06 soc estimated: 51.86% (vehicle: 50.00%)
[lp-1  ] DEBUG 2023/09/11 14:07:06 vehicle soc: 52%
[lp-1  ] DEBUG 2023/09/11 14:07:06 vehicle soc limit: 80%
[lp-1  ] DEBUG 2023/09/11 14:07:06 vehicle range: 227km
[site  ] DEBUG 2023/09/11 14:07:16 ----
[lp-1  ] DEBUG 2023/09/11 14:07:16 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:07:16 charge power: 0W
[site  ] DEBUG 2023/09/11 14:07:16 pv power: 471W
[site  ] DEBUG 2023/09/11 14:07:16 site power: 3363W
[lp-2  ] DEBUG 2023/09/11 14:07:16 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/11 14:07:16 charge total import: 0.157kWh
[lp-2  ] DEBUG 2023/09/11 14:07:16 charger status: A
[site  ] DEBUG 2023/09/11 14:07:26 ----
[lp-1  ] DEBUG 2023/09/11 14:07:26 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:07:26 charge power: 0W
[site  ] DEBUG 2023/09/11 14:07:26 pv power: 478W
[site  ] DEBUG 2023/09/11 14:07:26 site power: 3356W
[lp-1  ] DEBUG 2023/09/11 14:07:26 charge currents: [15.6 0.022 0.009]A
[lp-1  ] DEBUG 2023/09/11 14:07:26 detected active phases: 1p
[lp-1  ] DEBUG 2023/09/11 14:07:26 charge total import: 1405.382kWh
[lp-1  ] DEBUG 2023/09/11 14:07:26 charger status: C
[lp-1  ] DEBUG 2023/09/11 14:07:26 soc estimated: 51.86% (vehicle: 50.00%)
[lp-1  ] DEBUG 2023/09/11 14:07:26 vehicle soc: 52%
[lp-1  ] DEBUG 2023/09/11 14:07:26 vehicle soc limit: 80%
[lp-1  ] DEBUG 2023/09/11 14:07:26 vehicle range: 227km
[site  ] DEBUG 2023/09/11 14:07:36 ----
[lp-1  ] DEBUG 2023/09/11 14:07:36 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:07:36 charge power: 0W
[site  ] DEBUG 2023/09/11 14:07:36 pv power: 481W
[site  ] DEBUG 2023/09/11 14:07:36 site power: 3353W
[lp-2  ] DEBUG 2023/09/11 14:07:36 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/11 14:07:36 charge total import: 0.157kWh
[lp-2  ] DEBUG 2023/09/11 14:07:36 charger status: A
[site  ] DEBUG 2023/09/11 14:07:46 ----
[lp-1  ] DEBUG 2023/09/11 14:07:46 charge power: 3634W
[lp-2  ] DEBUG 2023/09/11 14:07:46 charge power: 0W
[site  ] DEBUG 2023/09/11 14:07:46 pv power: 480W
[site  ] DEBUG 2023/09/11 14:07:46 site power: 3354W
[lp-1  ] DEBUG 2023/09/11 14:07:46 charge currents: [15.6 0.022 0.009]A
[lp-1  ] DEBUG 2023/09/11 14:07:46 detected active phases: 1p
[lp-1  ] DEBUG 2023/09/11 14:07:46 charge total import: 1405.382kWh
[lp-1  ] DEBUG 2023/09/11 14:07:46 charger status: C
[lp-1  ] DEBUG 2023/09/11 14:07:46 soc estimated: 51.86% (vehicle: 50.00%)
[lp-1  ] DEBUG 2023/09/11 14:07:46 vehicle soc: 52%
[lp-1  ] DEBUG 2023/09/11 14:07:46 vehicle soc limit: 80%
[lp-1  ] DEBUG 2023/09/11 14:07:46 vehicle range: 227km

What type of operating system are you running?

HomeAssistant Add-on

Version

No response

andig commented 1 year ago

Config fehlt