evcc-io / evcc

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

Fehler beim Starten #8162

Closed pjotreaquaman closed 1 year ago

pjotreaquaman commented 1 year ago

Describe the bug

Plötzlich geht evcc nicht mehr. Wenn ich die localhost-Seite aufrufe, erhalte ich auf meinem Raspberry Pi 4 die Fehlermeldung angezeigt:

FEHLER BEIM STARTEN cannot create charger 'wallbox5' cannot create charger 'template' cannot create charger 'alfen' dial tcp 192.168.1.148:502 connect network is unreachable

Steps to reproduce

1. 2. 3. ...

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: debug  
levels:  
  cache: error  

# unique installation id  
plant: *****  

interval: 10s # control cycle interval  

sponsortoken: *****  

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

meters:  
- type: template  
  template: e3dc   
  usage: grid    
  host: 192.168.178.21    
  port: 502    
  name: grid1  
- type: template  
  template: e3dc   
  usage: pv    
  host: 192.168.178.21    
  port: 502    
  name: pv2  
- type: template  
  template: e3dc   
  usage: battery    
  host: 192.168.178.21    
  port: 502    
  name: battery3  
- type: template  
  template: e3dc   
  usage: battery    
  host: 192.168.178.21    
  port: 502    
  name: battery4  

chargers:  
- type: template  
  template: alfen   
  id: 1    
  host: 192.168.1.148    
  port: 502    
  modbus: tcpip    
  name: wallbox5  

loadpoints:  
- title: Stellplatz  
  charger: wallbox5  
  mode: pv  
  phases: 3  
  mincurrent: 6  
  maxcurrent: 16  
  resetOnDisconnect: true  

site:  
  title: Mein Zuhause  
  meters:  
    grid: grid1  
    pv:  
    - pv2  
    battery:  
    - battery3  
    - battery4

Log details

[main  ] INFO 2023/05/25 07:36:27 evcc 0.117.4
[main  ] INFO 2023/05/25 07:36:27 using config file: /etc/evcc.yaml
[main  ] INFO 2023/05/25 07:36:27 starting ui and api at :7070
[db    ] INFO 2023/05/25 07:36:27 using sqlite database: /home/pierre/.evcc/evcc.db
[alfen ] DEBUG 2023/05/25 07:36:28 detected 1p alfen
[main  ] FATAL 2023/05/25 07:36:28 cannot create charger 'wallbox5': cannot create charger 'template': cannot create charger 'alfen': dial tcp 192.168.1.148:502: i/o timeout
[main  ] FATAL 2023/05/25 07:36:28 will attempt restart in: 5m0s

What type of operating system are you running?

Linux

Version

evcc version 0.117.4

StefanSchoof commented 1 year ago

Du hast ein Netzwerk Problem:

network is unreachable

Ist es Absicht das einige Geräte 192.168.178.x Netz und andere im 192.168.1.x sind?