evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Solax Hyb-G3 Hausbatterie wird trotz aktivierter Einstellung entladen

Open tdxchris opened this issue 1 year ago • 3 comments

Describe the bug

Hallo, seit neuestem funktioniert die genannte Funktion nicht mehr (Verhindere Entladung im Schnell-Modus und bei geplantem Laden.) . Die Batterie wird trotzdem entladen und ich erhalte den folgenden Fehler:

[site ] ERROR 2025/08/23 17:33:57 battery mode: read tcp 192.168.10.1:36110->192.168.10.10:502: i/o timeout

Ansonsten funktioniert alles wie vorgesehen.

Danke!

Steps to reproduce

1.Reboot 2.Lademodus schnell aktiviert 3.Button für die Funktion aktiviert 4. Fehlermeldung wie oben beschrieben

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

interval: 20s # control cycle interval

# sponsor token enables optional features (request at https://cloud.evcc.io)
sponsortoken: 

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

# 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: my_grid
    type: template
    template: solax
    usage: grid      # Netzbezugszähler
    modbus: tcpip
    id: 1
    host: 192.168.10.10 # Hostname
    port: 502 # Port

  - name: my_pv
    type: template
    template: solax
    usage: pv  # PV-Erzeugungszähler
    modbus: tcpip
    id: 1
    host: 192.168.10.10 # Hostname
    port: 502 # Port

  - name: my_battery
    type: template
    template: solax
    usage: battery  # Batteriespeicher-Zähler
    modbus: tcpip
    id: 1
    host: 192.168.10.10 # Hostname
    port: 502 # Port

# 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: my_charger
    type: template
    template: go-e-v3
    host: 192.168.10.109 # 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: my_car
    type: template
    template: renault
    title: Renault Zoe

    

  - name: my_car1
    type: template
    template: cupra


# site describes the EVU connection, PV and home battery
site:
  title: Home # display name for UI
  meters:
    grid: my_grid # grid meter
    pv: 
      - my_pv # list of pv inverters/ meters
    battery: 
      - my_battery # battery meter reference
#  prioritySoc: 95
#  bufferSoc: 90

loadpoints:
  - title: Garage # display name for UI
    charger: my_charger # Wallbox Referenz
    mode: pv # charge mode (off, now, minpv, pv)

# tariffs are the fixed or variable tariffs
# cheap (tibber/awattar) can be used to define a tariff rate considered cheap enough for charging
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price
    type: fixed
    price: 0.39 # EUR/kWh

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

Log details

[lp-1  ] DEBUG 2025/08/23 17:31:54 charge power: 2818W
[lp-1  ] DEBUG 2025/08/23 17:31:54 charge currents: [4.1 4.14 4.18]A
[site  ] DEBUG 2025/08/23 17:31:54 grid power: -322W
[site  ] DEBUG 2025/08/23 17:31:54 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:31:54 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:31:54 pv 1 power: 4159W
[site  ] DEBUG 2025/08/23 17:31:54 !! solar production: accumulate set my_pv 44304.200kWh meter total (was: Accumulated: 52.700kWh updated: 2025-08-23 17:31:34 +0200 CEST meter: 44304.200kWh)
[site  ] DEBUG 2025/08/23 17:31:54 !! solar production: accumulate moved my_pv from 52.700 to 52.700
[site  ] DEBUG 2025/08/23 17:31:54 site power: -322W
[lp-1  ] DEBUG 2025/08/23 17:31:54 charge voltages: [236 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:31:54 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:31:54 session energy: 26.762kWh
[lp-1  ] DEBUG 2025/08/23 17:31:54 charge total import: 6649.385kWh
[lp-1  ] DEBUG 2025/08/23 17:31:54 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:31:54 pv charge current: 6.47A = 6A + 0.467A (-322W @ 3p)
[site  ] DEBUG 2025/08/23 17:32:14 ----
[lp-1  ] DEBUG 2025/08/23 17:32:14 charge power: 2812W
[lp-1  ] DEBUG 2025/08/23 17:32:14 charge currents: [4.07 4.1 4.22]A
[site  ] DEBUG 2025/08/23 17:32:14 grid power: -332W
[site  ] DEBUG 2025/08/23 17:32:14 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:32:14 pv 1 power: 4204W
[site  ] DEBUG 2025/08/23 17:32:14 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:32:14 !! solar production: accumulate set my_pv 44304.300kWh meter total (was: Accumulated: 52.700kWh updated: 2025-08-23 17:31:54 +0200 CEST meter: 44304.200kWh)
[site  ] DEBUG 2025/08/23 17:32:14 !! solar production: accumulate moved my_pv from 52.700 to 52.800
[site  ] DEBUG 2025/08/23 17:32:14 site power: -332W
[lp-1  ] DEBUG 2025/08/23 17:32:14 charge voltages: [236 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:32:14 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:32:14 session energy: 26.778kWh
[lp-1  ] DEBUG 2025/08/23 17:32:14 charge total import: 6649.401kWh
[lp-1  ] DEBUG 2025/08/23 17:32:14 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:32:14 pv charge current: 6.48A = 6A + 0.481A (-332W @ 3p)
[site  ] DEBUG 2025/08/23 17:32:34 ----
[lp-1  ] DEBUG 2025/08/23 17:32:34 charge power: 2811W
[lp-1  ] DEBUG 2025/08/23 17:32:34 charge currents: [4.1 4.1 4.18]A
[site  ] DEBUG 2025/08/23 17:32:34 grid power: -358W
[site  ] DEBUG 2025/08/23 17:32:34 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:32:34 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:32:34 pv 1 power: 4210W
[site  ] DEBUG 2025/08/23 17:32:34 !! solar production: accumulate set my_pv 44304.300kWh meter total (was: Accumulated: 52.800kWh updated: 2025-08-23 17:32:14 +0200 CEST meter: 44304.300kWh)
[site  ] DEBUG 2025/08/23 17:32:34 !! solar production: accumulate moved my_pv from 52.800 to 52.800
[site  ] DEBUG 2025/08/23 17:32:34 site power: -358W
[lp-1  ] DEBUG 2025/08/23 17:32:34 charge voltages: [237 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:32:34 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:32:34 session energy: 26.793kWh
[lp-1  ] DEBUG 2025/08/23 17:32:34 charge total import: 6649.416kWh
[lp-1  ] DEBUG 2025/08/23 17:32:34 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:32:34 pv charge current: 6.52A = 6A + 0.519A (-358W @ 3p)
[site  ] DEBUG 2025/08/23 17:32:54 ----
[lp-1  ] DEBUG 2025/08/23 17:32:54 charge power: 2820W
[lp-1  ] DEBUG 2025/08/23 17:32:54 charge currents: [4.1 4.14 4.22]A
[site  ] DEBUG 2025/08/23 17:32:54 grid power: -397W
[site  ] DEBUG 2025/08/23 17:32:54 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:32:54 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:32:54 pv 1 power: 4264W
[site  ] DEBUG 2025/08/23 17:32:54 !! solar production: accumulate set my_pv 44304.300kWh meter total (was: Accumulated: 52.800kWh updated: 2025-08-23 17:32:34 +0200 CEST meter: 44304.300kWh)
[site  ] DEBUG 2025/08/23 17:32:54 !! solar production: accumulate moved my_pv from 52.800 to 52.800
[site  ] DEBUG 2025/08/23 17:32:54 site power: -397W
[lp-1  ] DEBUG 2025/08/23 17:32:54 charge voltages: [236 235 235]V
[lp-1  ] DEBUG 2025/08/23 17:32:54 detected active phases: 3p
[site  ] ERROR 2025/08/23 17:32:54 optimizer: not enough slots for optimization: 0
[lp-1  ] DEBUG 2025/08/23 17:32:54 session energy: 26.809kWh
[lp-1  ] DEBUG 2025/08/23 17:32:54 charge total import: 6649.432kWh
[lp-1  ] DEBUG 2025/08/23 17:32:54 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:32:54 pv charge current: 6.58A = 6A + 0.575A (-397W @ 3p)
[site  ] DEBUG 2025/08/23 17:33:14 ----
[lp-1  ] DEBUG 2025/08/23 17:33:14 charge power: 2807W
[lp-1  ] DEBUG 2025/08/23 17:33:14 charge currents: [4.07 4.1 4.18]A
[site  ] DEBUG 2025/08/23 17:33:14 grid power: -490W
[site  ] DEBUG 2025/08/23 17:33:14 pv 1 power: 4332W
[site  ] DEBUG 2025/08/23 17:33:14 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:33:14 !! solar production: accumulate set my_pv 44304.300kWh meter total (was: Accumulated: 52.800kWh updated: 2025-08-23 17:32:54 +0200 CEST meter: 44304.300kWh)
[site  ] DEBUG 2025/08/23 17:33:14 !! solar production: accumulate moved my_pv from 52.800 to 52.800
[site  ] DEBUG 2025/08/23 17:33:14 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:33:14 site power: -490W
[lp-1  ] DEBUG 2025/08/23 17:33:14 charge voltages: [236 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:33:14 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:33:14 session energy: 26.824kWh
[lp-1  ] DEBUG 2025/08/23 17:33:14 charge total import: 6649.447kWh
[lp-1  ] DEBUG 2025/08/23 17:33:14 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:33:14 pv charge current: 6.71A = 6A + 0.71A (-490W @ 3p)
[site  ] DEBUG 2025/08/23 17:33:34 ----
[lp-1  ] DEBUG 2025/08/23 17:33:34 charge power: 2803W
[lp-1  ] DEBUG 2025/08/23 17:33:34 charge currents: [4.07 4.1 4.18]A
[site  ] DEBUG 2025/08/23 17:33:34 grid power: -559W
[site  ] DEBUG 2025/08/23 17:33:34 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:33:34 pv 1 power: 4398W
[site  ] DEBUG 2025/08/23 17:33:34 !! solar production: accumulate set my_pv 44304.300kWh meter total (was: Accumulated: 52.800kWh updated: 2025-08-23 17:33:14 +0200 CEST meter: 44304.300kWh)
[site  ] DEBUG 2025/08/23 17:33:34 !! solar production: accumulate moved my_pv from 52.800 to 52.800
[site  ] DEBUG 2025/08/23 17:33:34 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:33:34 site power: -559W
[lp-1  ] DEBUG 2025/08/23 17:33:34 charge voltages: [237 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:33:34 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:33:34 session energy: 26.840kWh
[lp-1  ] DEBUG 2025/08/23 17:33:34 charge total import: 6649.463kWh
[lp-1  ] DEBUG 2025/08/23 17:33:34 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:33:34 pv charge current: 6.81A = 6A + 0.81A (-559W @ 3p)
[lp-1  ] DEBUG 2025/08/23 17:33:43 set charge mode: now
[site  ] DEBUG 2025/08/23 17:33:43 ----
[lp-1  ] DEBUG 2025/08/23 17:33:43 charge power: 2816W
[lp-1  ] DEBUG 2025/08/23 17:33:43 charge currents: [4.1 4.1 4.18]A
[site  ] ERROR 2025/08/23 17:33:46 battery mode: read tcp 192.168.10.1:58434->192.168.10.10:502: i/o timeout
[site  ] DEBUG 2025/08/23 17:33:46 grid power: -661W
[site  ] DEBUG 2025/08/23 17:33:46 battery 1 power: -0W
[site  ] DEBUG 2025/08/23 17:33:46 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:33:46 pv 1 power: 4519W
[site  ] DEBUG 2025/08/23 17:33:46 !! solar production: accumulate set my_pv 44304.400kWh meter total (was: Accumulated: 52.800kWh updated: 2025-08-23 17:33:34 +0200 CEST meter: 44304.300kWh)
[site  ] DEBUG 2025/08/23 17:33:46 !! solar production: accumulate moved my_pv from 52.800 to 52.900
[site  ] DEBUG 2025/08/23 17:33:46 site power: -661W
[lp-1  ] DEBUG 2025/08/23 17:33:46 charge voltages: [237 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:33:46 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:33:46 session energy: 26.850kWh
[lp-1  ] DEBUG 2025/08/23 17:33:46 charge total import: 6649.473kWh
[lp-1  ] DEBUG 2025/08/23 17:33:46 charger status: C
[lp-1  ] DEBUG 2025/08/23 17:33:46 set charge current limit: 16A
[site  ] DEBUG 2025/08/23 17:33:54 ----
[lp-1  ] DEBUG 2025/08/23 17:33:54 charge power: 2819W
[lp-1  ] DEBUG 2025/08/23 17:33:54 charge currents: [4.1 4.14 4.18]A
[site  ] ERROR 2025/08/23 17:33:57 battery mode: read tcp 192.168.10.1:36110->192.168.10.10:502: i/o timeout
[site  ] DEBUG 2025/08/23 17:33:57 grid power: -1480W
[site  ] DEBUG 2025/08/23 17:33:57 battery 1 power: -2W
[site  ] DEBUG 2025/08/23 17:33:57 battery 1 soc: 99%
[site  ] DEBUG 2025/08/23 17:33:57 pv 1 power: 5446W
[site  ] DEBUG 2025/08/23 17:33:57 !! solar production: accumulate set my_pv 44304.400kWh meter total (was: Accumulated: 52.900kWh updated: 2025-08-23 17:33:46 +0200 CEST meter: 44304.400kWh)
[site  ] DEBUG 2025/08/23 17:33:57 !! solar production: accumulate moved my_pv from 52.900 to 52.900
[site  ] DEBUG 2025/08/23 17:33:57 site power: -1482W
[lp-1  ] DEBUG 2025/08/23 17:33:57 charge voltages: [237 235 236]V
[lp-1  ] DEBUG 2025/08/23 17:33:57 detected active phases: 3p
[lp-1  ] DEBUG 2025/08/23 17:33:57 session energy: 26.858kWh
[lp-1  ] DEBUG 2025/08/23 17:33:57 charge total import: 6649.481kWh
[lp-1  ] DEBUG 2025/08/23 17:33:57 charger status: C

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.207.4

tdxchris avatar Aug 23 '25 15:08 tdxchris

Also nach deinem Log hast du PV-Überschuss, versorgst dein Auto, speist in´s Netz und die Batterie macht nix! Wegen dem timeout: dein Abfragezyklus von 20 Sekunden kann manchmal zu kurz sein. Ansonsten sieht dein Log-File für mich okay aus.

LeonSol avatar Aug 23 '25 18:08 LeonSol

Zusätzlich dazu: 1. Im die meiste Zeit wichtigsten Modus "Min+PV" konnte das Evcc noch nie. 2. Betr. Qcells/SolaX Anlagen (habe u. A. eine) funktionierte die ganze Entladeblockiergeschichte noch nie 100%. 3. Daher nutzt man neben dem Evcc ADDON zusätzlich die Evcc INTEGRATION um easy Zugriff auf die Evcc Entitäten zu haben. 4. Damit baut man sich 2 Automationen (Alles wird logo in HA gemacht/genutzt).

Die 1. Automation nach dem Schema: Wenn Auto lädt = Hausakku Entlade A = 0A.

Die 2. dann, wenn Auto nicht lädt = Hausakku Entlade A = 15A (oder womit man auch immer meint, den Akku zu nutzen... ab 25A aber eher grenzwertig).

Fertig ! Das funktioniert bulletproof. Da auch in Min+PV sobald über ca. 1,2 kWh (einphasig logo bei kleinen PV Anlagen) von der PV kommen, kpl. OHNE Netzstrom geladen wird, aber bei Wolken kein Ein/Aus JoJo läuft (Hysterese 3 Min., ja... aber...), ist es das für mich auch mit SolaX DAS perfekt laufende Evcc Setup. Kann ich nur wärmstens empfehlen. Ist natürlich feintunebar, erweiterbar usw., fast unendliche Möglichkeiten.

Merwases avatar Aug 26 '25 07:08 Merwases

@Merwases Danke! Ich kannte die EVCC Integration bisher nicht. Habe es nun so umgesetzt und es läuft einwandfrei. Vielen Dank!

tdxchris avatar Sep 02 '25 07:09 tdxchris