evcc-io / evcc

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

Connection issues since 122.1 #10956

Closed MarcSpring closed 1 year ago

MarcSpring commented 1 year ago

Describe the bug

Very instable system since 122.1 I loose the connection to evcc gui all the time and cant access it from smartphone/ laptop. Also my can (Dacia Spring) is shown by EVCC offline a lot of time even its available in the Dacia app. If the EVCC GUI is not available, then the raspberry not visible in fritz.box. WLAN Signal strength is ok according to FritzBox. Nothing changed in the setup, just the Updates.

Steps to reproduce

No way of reporduction found yet, happens daily

Configuration details

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

log: info
levels:
  cache: error

# unique installation id
plant: XXXXXXXXX

interval: 10s # control cycle interval

sponsortoken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: true

meters:
- type: template
  template: eastron-sdm72
  id: '002'
  device: /dev/ttyUSB1
  baudrate: 19200
  comset: 8N1
  usage: grid
  modbus: rs485serial
  name: grid1
- type: template
  template: fronius-solarapi-v1
  usage: pv
  host: 192.168.178.151
  name: pv2

chargers:
- type: template
  template: heidelberg
  id: '001'
  device: /dev/ttyUSB0
  baudrate: 19200
  comset: 8E1
vehicles:
- type: template
  template: dacia
  title: Spring
  user: xxxxxx
  password: xxxxx
  vin: xxxxxx
  capacity: 26.8
  name: ev3
  targetSoc: 80

loadpoints:
- title: Garage
  charger: wallbox4
  vehicle: ev3
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: MeinZuhause
  meters:
    grid: grid1
    pv:
    - pv2

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.194 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.079 # [currency]/kWh

Log details

(no active charging, photovoltaics off due to night time)

pi@raspberrypi:/etc $ evcc --log debug
[main  ] INFO 2023/11/29 22:19:06 evcc 0.122.1
[main  ] INFO 2023/11/29 22:19:06 using config file: /etc/evcc.yaml
[main  ] INFO 2023/11/29 22:19:06 starting ui and api at :7070
[db    ] INFO 2023/11/29 22:19:08 using sqlite database: /home/pi/.evcc/evcc.db
[lp-1  ] DEBUG 2023/11/29 22:19:10 charge total import: 1716.223kWh
[site  ] INFO 2023/11/29 22:19:10 site config:
[site  ] INFO 2023/11/29 22:19:10   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2023/11/29 22:19:10     grid:      power ✓ energy ✓ currents ✗
[site  ] INFO 2023/11/29 22:19:10     pv 1:      power ✓ energy ✗ currents ✗
[site  ] INFO 2023/11/29 22:19:10   vehicles:
[site  ] INFO 2023/11/29 22:19:10     vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✓
[lp-1  ] INFO 2023/11/29 22:19:10 loadpoint 1:
[lp-1  ] INFO 2023/11/29 22:19:10   mode:        pv
[lp-1  ] INFO 2023/11/29 22:19:10   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✓
[lp-1  ] INFO 2023/11/29 22:19:10   meters:      charge ✓
[lp-1  ] INFO 2023/11/29 22:19:10     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2023/11/29 22:19:10 phase timer inactive
[lp-1  ] DEBUG 2023/11/29 22:19:10 pv timer inactive
[lp-1  ] DEBUG 2023/11/29 22:19:10 guard timer inactive
[lp-1  ] INFO 2023/11/29 22:19:10 vehicle updated: unknown -> Spring
[lp-1  ] DEBUG 2023/11/29 22:19:10 set target soc: 80
[site  ] WARN 2023/11/29 22:19:10 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2023/11/29 22:19:10 ----
[lp-1  ] DEBUG 2023/11/29 22:19:10 charge power: 0W
[site  ] ERROR 2023/11/29 22:19:19 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:19:19 pv power: 0W
[site  ] DEBUG 2023/11/29 22:19:19 grid power: 215W
[site  ] DEBUG 2023/11/29 22:19:19 site power: 215W
[lp-1  ] DEBUG 2023/11/29 22:19:20 vehicle odometer: 11098km
[lp-1  ] DEBUG 2023/11/29 22:19:20 charge voltages: [243 245 243]V
[lp-1  ] DEBUG 2023/11/29 22:19:20 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:19:20 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:19:20 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:19:20 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:19:20 charge start energy: 1.72e+03kWh
[lp-1  ] INFO 2023/11/29 22:19:20 car connected
[lp-1  ] DEBUG 2023/11/29 22:19:20 pv timer elapse
[lp-1  ] DEBUG 2023/11/29 22:19:20 pv timer inactive
[lp-1  ] DEBUG 2023/11/29 22:19:20 charger: guard elapse
[lp-1  ] DEBUG 2023/11/29 22:19:20 guard timer inactive
[lp-1  ] DEBUG 2023/11/29 22:19:20 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:19:21 vehicle status: B
[lp-1  ] DEBUG 2023/11/29 22:19:21 vehicle soc: 42%
[lp-1  ] DEBUG 2023/11/29 22:19:21 vehicle range: 67km
[lp-1  ] DEBUG 2023/11/29 22:19:21 pv charge current: 0A = 0A + -0.312A (215W @ 3p)
[lp-1  ] DEBUG 2023/11/29 22:19:21 pv enable timer reset
[lp-1  ] DEBUG 2023/11/29 22:19:21 pv timer inactive
[site  ] DEBUG 2023/11/29 22:19:21 ----
[lp-1  ] DEBUG 2023/11/29 22:19:21 charge power: 0W
[site  ] ERROR 2023/11/29 22:19:29 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:19:29 pv power: 0W
[site  ] DEBUG 2023/11/29 22:19:29 grid power: 215W
[site  ] DEBUG 2023/11/29 22:19:29 site power: 215W
[lp-1  ] DEBUG 2023/11/29 22:19:29 vehicle odometer: 11098km
[lp-1  ] DEBUG 2023/11/29 22:19:29 charge voltages: [243 245 243]V
[lp-1  ] DEBUG 2023/11/29 22:19:29 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:19:29 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:19:29 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:19:29 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:19:29 pv charge current: 0A = 0A + -0.311A (215W @ 3p)
[site  ] DEBUG 2023/11/29 22:19:29 ----
[lp-1  ] DEBUG 2023/11/29 22:19:29 charge power: 0W
[site  ] ERROR 2023/11/29 22:19:38 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:19:38 pv power: 0W
[site  ] DEBUG 2023/11/29 22:19:38 grid power: 534W
[site  ] DEBUG 2023/11/29 22:19:38 site power: 534W
[lp-1  ] DEBUG 2023/11/29 22:19:38 charge voltages: [243 244 243]V
[lp-1  ] DEBUG 2023/11/29 22:19:38 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:19:38 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:19:38 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:19:38 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:19:38 pv charge current: 0A = 0A + -0.774A (534W @ 3p)
[site  ] DEBUG 2023/11/29 22:19:38 ----
[lp-1  ] DEBUG 2023/11/29 22:19:38 charge power: 0W
[site  ] ERROR 2023/11/29 22:19:47 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:19:47 pv power: 0W
[site  ] DEBUG 2023/11/29 22:19:47 grid power: 215W
[site  ] DEBUG 2023/11/29 22:19:47 site power: 215W
[lp-1  ] DEBUG 2023/11/29 22:19:47 charge voltages: [243 245 243]V
[lp-1  ] DEBUG 2023/11/29 22:19:47 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:19:47 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:19:47 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:19:47 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:19:47 pv charge current: 0A = 0A + -0.311A (215W @ 3p)
[site  ] DEBUG 2023/11/29 22:19:48 ----
[lp-1  ] DEBUG 2023/11/29 22:19:48 charge power: 0W
[site  ] ERROR 2023/11/29 22:19:57 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:19:57 pv power: 0W
[site  ] DEBUG 2023/11/29 22:19:57 grid power: 215W
[site  ] DEBUG 2023/11/29 22:19:57 site power: 215W
[lp-1  ] DEBUG 2023/11/29 22:19:57 charge voltages: [243 245 243]V
[lp-1  ] DEBUG 2023/11/29 22:19:57 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:19:57 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:19:57 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:19:57 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:19:57 pv charge current: 0A = 0A + -0.311A (215W @ 3p)
[site  ] DEBUG 2023/11/29 22:19:57 ----
[lp-1  ] DEBUG 2023/11/29 22:19:57 charge power: 0W

[site  ] ERROR 2023/11/29 22:20:06 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:20:06 pv power: 0W
[site  ] DEBUG 2023/11/29 22:20:06 grid power: 216W
[site  ] DEBUG 2023/11/29 22:20:06 site power: 216W
[lp-1  ] DEBUG 2023/11/29 22:20:06 charge voltages: [243 245 243]V
[lp-1  ] DEBUG 2023/11/29 22:20:06 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:20:06 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:20:06 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:20:06 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:20:06 pv charge current: 0A = 0A + -0.313A (216W @ 3p)
[site  ] DEBUG 2023/11/29 22:20:06 ----
[lp-1  ] DEBUG 2023/11/29 22:20:06 charge power: 0W
^X
^[
[site  ] ERROR 2023/11/29 22:20:15 pv 1 power: Get "http://192.168.178.151/solar_api/v1/GetPowerFlowRealtimeData.fcgi": dial tcp 192.168.178.151:80: connect: no route to host
[site  ] DEBUG 2023/11/29 22:20:15 pv power: 0W
[site  ] DEBUG 2023/11/29 22:20:15 grid power: 215W
[site  ] DEBUG 2023/11/29 22:20:15 site power: 215W
[lp-1  ] DEBUG 2023/11/29 22:20:15 charge voltages: [243 245 243]V
[lp-1  ] DEBUG 2023/11/29 22:20:15 detected connected phases: 3p
[lp-1  ] DEBUG 2023/11/29 22:20:15 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/11/29 22:20:16 charge total import: 1716.223kWh
[lp-1  ] DEBUG 2023/11/29 22:20:16 charger status: B
[lp-1  ] DEBUG 2023/11/29 22:20:16 pv charge current: 0A = 0A + -0.312A (215W @ 3p)
[site  ] DEBUG 2023/11/29 22:20:16 ----
[lp-1  ] DEBUG 2023/11/29 22:20:16 charge power: 0W

What type of operating system are you running?

Windows

Version

122.1

andig commented 1 year ago

If the EVCC GUI is not available, then the raspberry not visible in fritz.box

…dann hast du Netzwerkprobleme, was auch immer der Raspi dir als Signalstärke anzeigt. Verbindung via LAN sollte das Problem lösen.