evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Broken Pipe Fehlermeldung mit Sungrow SH10RT und BYD HVS

Open Doppellhelix opened this issue 1 year ago • 1 comments

Describe the bug

Hallo zusammen,

Mein Equipment: Sungrow SH10.0RT Modbus über hinteren LAN, WLAN Dongle ist gesteckt und aktiviert. BYD HVS Speicher go-e Gemini 2.0 Charger Raspberry Pi 4 B Debian GNU/Linux 11 (bullseye) (Kein Docker) evcc v0.133.0 Sonst keinerlei weitere HA Systeme, wie z.b. iobroker am laufen.

Habe das System jetzt 24 Stunden am laufen. Morgens war der Speicher leer, wurde auf 30% geladen, dann autoamtisch das Auto geladen. Irgendwann war der Speicher und Auto voll, ins Netz eingespeist. Abends, nur noch wenig PV, wurde aber nicht automatisch auf den Speicher umgestellt (Batterie gesperrt). Stattdessen wurde Netzstrom gezogen. Fehlermeldung im Minutenpakt : battery mode: write tcp 192.168.x.x->192.168.x.x:502: write: broken pipe Anschließend unter System/ System neu starten einen Neustart durchgeführt. Danach alles wieder in Ordnung. Batteriespeicher wird genutzt.

Ein Nightly Build habe ich bislang noch nicht probiert. Bin auf stable und weiß nicht, wie ich einfach mal eben so auf nightly umswitchen kann.

Da ich keine weitere Instanz am laufen habe, die auf den Modbus des Sungrow zugreift, weiß ich gerade nicht was ich noch probieren könnte.

Habt ihr ne idee?

Gruß Helix

Steps to reproduce

...

Configuration details

network:
  schema: http
  host: evcc.local 
  port: 7070

log: debug
levels:
  cache: error

plant: fe19e12eb5eb97ef5685683ec74e4ae6a7c220209xxxxxxxxx

interval: 30s # control cycle interval

sponsortoken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3Mxxxxxxxxxxxxxxxxxx

telemetry: false

meters:
- type: template
  template: sungrow-hybrid
  id: 1
  host: 192.168.x.33
  port: 502
  usage: grid
  modbus: tcpip
  timeout: 30s
  name: grid1
- type: template
  template: sungrow-hybrid
  id: 1
  host: 192.168.x.33
  port: 502
  usage: pv
  modbus: tcpip
  timeout: 30s
  name: pv2
- type: template
  template: sungrow-hybrid
  id: 1
  host: 192.168.x.33
  port: 502
  usage: battery
  modbus: tcpip
  timeout: 30s
  name: battery3
chargers:
- type: template
  template: go-e-v3
  host: 192.168.x.30
  name: wallbox5

vehicles:
- type: template
  template: audi
  user: [email protected]
  password: xxxxxx
  title: Audi A3 TFSI e
  capacity: 13
  name: ev4

loadpoints:
- title: Einfahrt
  charger: wallbox5
  mode: pv

site:
  title: xxxxxxx PV
  meters:
    grid: grid1
    pv:
    - pv2
    battery:
    - battery3

tariffs:
  grid:
    type: template
    template: ostrom
    clientid: 1xxxxxxxxx
    clientsecret: 5xxxxxxxxxxx
  co2:
    type: template
    template: grünstromindex
    zip: 57xxx
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.08 # [currency]/kWh

Log details

Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 ----
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 charge power: 0W
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 charge currents: [0 0 0]A
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] ERROR 2025/02/02 17:07:41 battery mode: write tcp 192.168.x.xx:34176->192.168.x.xx:502: write: broken pipe
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 grid power: 198W
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 pv 1 power: 315W
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 battery 1 power: 0W
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 battery 1 soc: 100%
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 grid currents: [-0.0801 1.25 -0.315]A
Feb  2 17:07:41 iobroker evcc[3378]: [site  ] DEBUG 2025/02/02 17:07:41 site power: 198W
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 charge total import: 202.609kWh
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 charger status: B
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 plan: charge 1h29m32s between 2025-02-02 22:29:28 +0100 CET until 2025-02-02 23:59:00 +0100 CET (power: 3680W, avg cost: 0.323)
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 !! pvScalePhases DOWN activePhases: 1, available power: -198W, scalable: false
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 !! pvScalePhases UP maxPhases: 1, available power: -198W, scalable: false
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 !! pvScalePhases EXIT
Feb  2 17:07:41 iobroker evcc[3378]: [lp-1  ] DEBUG 2025/02/02 17:07:41 pv charge current: 0A = 0A + -0.861A (198W @ 1p)

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

v.0.133.0

Doppellhelix avatar Feb 02 '25 16:02 Doppellhelix

Siehe https://github.com/evcc-io/evcc/discussions/17069

andig avatar Feb 02 '25 17:02 andig