evcc-io / evcc

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

after upgrading from v0.129.0 to v0.130.3: "grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4' #15687

Closed angeldelivery86 closed 1 month ago

angeldelivery86 commented 1 month ago

Describe the bug

see title. no other changes made while updating

Steps to reproduce

1. 2. 3. ...

Configuration details

[main  ] INFO 2024/08/25 21:52:46 evcc 0.130.3 (eff595c6)
[main  ] INFO 2024/08/25 21:52:46 using config file: /etc/evcc.yaml
[db    ] INFO 2024/08/25 21:52:46 using sqlite database: /home/florian/.evcc/evcc.db
[lp-1  ] ERROR 2024/08/25 21:53:09 charge total import: read tcp 192.168.1.101:36088->192.168.1.89:1502: i/o timeout
[lp-2  ] ERROR 2024/08/25 21:53:19 charge total import: read tcp 192.168.1.101:50178->192.168.1.88:1502: i/o timeout
[site  ] WARN 2024/08/25 21:53:19 battery configured but residualPower is missing or <= 0 (add residualPower: 100 to site), see https://docs.evcc.io/en/docs/reference/configuration/site#residualpower

Konfiguration (/etc/evcc.yaml):

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: *****

interval: 8s # control cycle interval

meters:
- type: template
  template: victron-energy 
  usage: grid  
  host: 192.168.1.233  
  port: 502  
  minsoc: 5
  maxsoc: 100  
  name: grid
- type: template
  template: victron-energy 
  usage: pv  
  host: 192.168.1.233  
  port: 502  
  minsoc: 5 
  maxsoc: 100  
  name: pv
- type: template
  template: victron-energy 
  usage: battery  
  host: 192.168.1.233  
  port: 502  
  minsoc: 5  
  maxsoc: 100  
  name: battery

chargers:
- type: template
  template: openwb-2.0
  id: 1
  host: 192.168.1.88
  port: 1502
  modbus: tcpip
  connector: 1
  name: wallbox2
- type: template
  template: openwb-2.0
  id: 1
  host: 192.168.1.89
  port: 1502
  modbus: tcpip
  connector: 1
  name: wallbox1

vehicles:
- type: template
  template: polestar 
  title: Polestar 2  
  icon: car  
  user: *****
  password: *****
  vin: *****
  capacity: 78  
  phases: 3  
  cache: 30m  
  mode: pv  
  minCurrent: 6  
  maxCurrent: 16  
  priority: 1  
  name: polestar
- type: template
  template: vw 
  title: ID Buzz
  icon: car  
  user: *****
  password: *****
  vin: *****
  capacity: 79 
  phases: 3  
  cache: 30m  
  mode: pv  
  minCurrent: 6  
  maxCurrent: 16  
  priority: 2 
  name: buzz

loadpoints:
- title: Wallbox 1
  charger: wallbox1
  vehicle: 
  mode: pv
  soc:
    poll:
      mode: charging
      interval: 60m
    estimate: true
- title: Wallbox 2
  charger: wallbox2
  vehicle:
  mode: pv
  soc:
    poll:
      mode: charging
      interval: 60m
    estimate: true

site:
  title: Villa Kunterbunt
  meters:
    grid: grid
    pv:
    - pv
    battery:
    - battery

tariffs:
  currency: EUR
  grid:
    type: tibber
    token: *****
    homeid:
  feedin:
    type: fixed
    price: 0.075

Version: `0.130.3 (eff595c6)`

Log details

[site ] ERROR 2024/08/25 21:58:35 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'
[site ] DEBUG 2024/08/25 21:58:35 site power: 1478W
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: send 02 48 00 00 00 06 01 04 27 76 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: recv 02 48 00 00 00 07 01 04 04 00 00 65 0a
[lp-1 ] DEBUG 2024/08/25 21:58:35 charge total import: 25.866kWh
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: send 02 49 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: recv 02 49 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: send 02 4a 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: recv 02 4a 00 00 00 05 01 04 02 00 01
[lp-1 ] DEBUG 2024/08/25 21:58:35 charger status: B
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: send 02 4b 00 00 00 06 01 04 27 b0 00 0a
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: recv 02 4b 00 00 00 17 01 04 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: send 02 4c 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: recv 02 4c 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: send 02 4d 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:35 modbus: recv 02 4d 00 00 00 05 01 04 02 00 01
[lp-1 ] DEBUG 2024/08/25 21:58:35 pv charge current: 0A = 0A + -6.43A (1478W @ 1p)
[site ] DEBUG 2024/08/25 21:58:43 ----
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 4e 00 00 00 06 01 04 27 74 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 4e 00 00 00 07 01 04 04 00 00 00 00
[lp-1 ] DEBUG 2024/08/25 21:58:43 charge power: 0W
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 4f 00 00 00 06 01 04 27 7b 00 03
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 4f 00 00 00 09 01 04 06 00 00 00 00 00 00
[lp-1 ] DEBUG 2024/08/25 21:58:43 charge currents: [0 0 0]A
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 08 00 00 00 06 01 04 27 74 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 08 00 00 00 07 01 04 04 00 00 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:43 charge power: 0W
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 09 00 00 00 06 01 04 27 7b 00 03
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 09 00 00 00 09 01 04 06 00 00 00 00 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:43 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/25 21:58:43 pv power: 0W
[site ] DEBUG 2024/08/25 21:58:43 battery soc: 84%
[site ] DEBUG 2024/08/25 21:58:43 battery power: 1478W
[site ] DEBUG 2024/08/25 21:58:43 grid meter: -11W
[site ] ERROR 2024/08/25 21:58:43 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'
[site ] DEBUG 2024/08/25 21:58:43 site power: 1467W
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 0a 00 00 00 06 01 04 27 76 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 0a 00 00 00 07 01 04 04 00 4c f2 65
[lp-2 ] DEBUG 2024/08/25 21:58:43 charge total import: 5042.789kWh
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 0b 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 0b 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 0c 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 0c 00 00 00 05 01 04 02 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:43 charger status: A
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 0d 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 0d 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: send 02 0e 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:43 modbus: recv 02 0e 00 00 00 05 01 04 02 00 00
[site ] DEBUG 2024/08/25 21:58:51 ----
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 50 00 00 00 06 01 04 27 74 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 50 00 00 00 07 01 04 04 00 00 00 00
[lp-1 ] DEBUG 2024/08/25 21:58:51 charge power: 0W
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 51 00 00 00 06 01 04 27 7b 00 03
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 51 00 00 00 09 01 04 06 00 00 00 00 00 00
[lp-1 ] DEBUG 2024/08/25 21:58:51 charge currents: [0 0 0]A
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 0f 00 00 00 06 01 04 27 74 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 0f 00 00 00 07 01 04 04 00 00 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:51 charge power: 0W
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 10 00 00 00 06 01 04 27 7b 00 03
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 10 00 00 00 09 01 04 06 00 00 00 00 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:51 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/25 21:58:51 pv power: 0W
[site ] DEBUG 2024/08/25 21:58:51 battery soc: 84%
[site ] DEBUG 2024/08/25 21:58:51 battery power: 1537W
[site ] DEBUG 2024/08/25 21:58:51 grid meter: -32W
[site ] ERROR 2024/08/25 21:58:51 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'
[site ] DEBUG 2024/08/25 21:58:51 site power: 1505W
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 52 00 00 00 06 01 04 27 76 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 52 00 00 00 07 01 04 04 00 00 65 0a
[lp-1 ] DEBUG 2024/08/25 21:58:51 charge total import: 25.866kWh
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 53 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 53 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 54 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 54 00 00 00 05 01 04 02 00 01
[lp-1 ] DEBUG 2024/08/25 21:58:51 charger status: B
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 55 00 00 00 06 01 04 27 b0 00 0a
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 55 00 00 00 17 01 04 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 56 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 56 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: send 02 57 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:51 modbus: recv 02 57 00 00 00 05 01 04 02 00 01
[lp-1 ] DEBUG 2024/08/25 21:58:51 pv charge current: 0A = 0A + -6.54A (1505W @ 1p)
[site ] DEBUG 2024/08/25 21:58:59 ----
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 58 00 00 00 06 01 04 27 74 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 58 00 00 00 07 01 04 04 00 00 00 00
[lp-1 ] DEBUG 2024/08/25 21:58:59 charge power: 0W
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 59 00 00 00 06 01 04 27 7b 00 03
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 59 00 00 00 09 01 04 06 00 00 00 00 00 00
[lp-1 ] DEBUG 2024/08/25 21:58:59 charge currents: [0 0 0]A
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 11 00 00 00 06 01 04 27 74 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 11 00 00 00 07 01 04 04 00 00 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:59 charge power: 0W
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 12 00 00 00 06 01 04 27 7b 00 03
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 12 00 00 00 09 01 04 06 00 00 00 00 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:59 charge currents: [0 0 0]A
[site ] DEBUG 2024/08/25 21:58:59 pv power: 0W
[site ] DEBUG 2024/08/25 21:58:59 battery soc: 84%
[site ] DEBUG 2024/08/25 21:58:59 battery power: 1526W
[site ] DEBUG 2024/08/25 21:58:59 grid meter: 8W
[site ] ERROR 2024/08/25 21:58:59 grid currents: read failed: modbus: exception '10' (gateway path unavailable), function '4'
[site ] DEBUG 2024/08/25 21:58:59 site power: 1534W
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 13 00 00 00 06 01 04 27 76 00 02
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 13 00 00 00 07 01 04 04 00 4c f2 65
[lp-2 ] DEBUG 2024/08/25 21:58:59 charge total import: 5042.789kWh
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 14 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 14 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 15 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 15 00 00 00 05 01 04 02 00 00
[lp-2 ] DEBUG 2024/08/25 21:58:59 charger status: A
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 16 00 00 00 06 01 04 27 83 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 16 00 00 00 05 01 04 02 00 00
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: send 02 17 00 00 00 06 01 04 27 82 00 01
[openwb-2.0] TRACE 2024/08/25 21:58:59 modbus: recv 02 17 00 00 00 05 01 04 02 00 00

What type of operating system are you running?

Linux

Version

0.130.3 (eff595c6)

CHB68 commented 1 month ago

Bei mir kam nach dem Update auf 0.130.4 die identische Fehlermeldung. Evcc scheint aber trotzdem zu funktionieren. Es werden die korrekten Leistungen für das Netz (über Gridmeter Victron) angezeigt. Nur die für Gridmeter von Victron neu hinzugekommenen Ströme werden nicht angezeigt. IMG_2106

andig commented 1 month ago

See https://github.com/evcc-io/evcc/pull/15625