evcc-io / evcc

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

Exzessive Anzahl an DNS-Abfragen an Wallbox und Wechselrichter #7750

Closed phrozen77 closed 1 year ago

phrozen77 commented 1 year ago

Describe the bug

EVCC verursacht eine massive Anzahl an DNS-Abfragen (> 103000 in den letzten 24h), und zwar zur Wallbox (Go-e Gemini) und zum Fronius Wechselrichter.

Im Pi-hole sieht das dann so aus (die rote "Baseline" ist evcc):

image Bildschirmfoto 2023-04-30 um 13 41 57 Bildschirmfoto 2023-04-30 um 13 42 46

Meine Konfiguration (noch kein Auto eingerichtet, warte noch auf Lieferung) siehe unten (die Tibber "homeid" wird übrigens durch evcc dump --cfg >~/config.txt nicht zensiert - wie kritisch die allerdings ist bin ich mir grad nicht klar und hab sie daher manuell rausgenommen).

Läuft unter Proxmox LXC (Debian).

Steps to reproduce

1. 2. 3. ...

Configuration details

[main  ] INFO 2023/04/30 13:48:16 evcc 0.116.6
[main  ] INFO 2023/04/30 13:48:16 using config file: /etc/evcc.yaml
[db    ] INFO 2023/04/30 13:48:16 using sqlite database: /root/.evcc/evcc.db

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: 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: fronius-solarapi-v1 
  usage: grid  
  host: fronius.local  
  name: grid1
- type: template
  template: fronius-solarapi-v1 
  usage: pv  
  host: fronius.local  
  name: pv2
- type: template
  template: tibber-pulse
  usage: grid
  name: tibber
  token: *****
  homeid: "XXXX"

chargers:
- type: template
  template: go-e-v3 
  host: wallbox.local  
  name: wallbox3

loadpoints:
- title: Go-E
  charger: wallbox3
  mode: minpv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: Dahoam
  meters:
    grid: grid1
    pv:
    - pv2
  smartCostLimit: 0.14

tariffs:
  grid:
    type: tibber
    token: *****
    homeid: "XXXX"
  feedin:
    type: fixed
    price: 0.0712

Version: `0.116.6`

Log details

[main  ] INFO 2023/04/30 13:45:21 evcc 0.116.6
[main  ] INFO 2023/04/30 13:45:21 using config file: /etc/evcc.yaml
[main  ] INFO 2023/04/30 13:45:21 starting ui and api at :7070
[db    ] INFO 2023/04/30 13:45:21 using sqlite database: /root/.evcc/evcc.db
[site  ] INFO 2023/04/30 13:45:23 site config:
[site  ] INFO 2023/04/30 13:45:23   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2023/04/30 13:45:23     grid:      power ✓ energy ✗ currents ✗
[site  ] INFO 2023/04/30 13:45:23     pv 1:      power ✓ energy ✗ currents ✗
[lp-1  ] INFO 2023/04/30 13:45:23 loadpoint 1:
[lp-1  ] INFO 2023/04/30 13:45:23   mode:        minpv
[lp-1  ] INFO 2023/04/30 13:45:23   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-1  ] INFO 2023/04/30 13:45:23   meters:      charge ✓
[lp-1  ] INFO 2023/04/30 13:45:23     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2023/04/30 13:45:23 phase timer inactive
[lp-1  ] DEBUG 2023/04/30 13:45:23 pv timer inactive
[lp-1  ] DEBUG 2023/04/30 13:45:23 guard timer inactive
[site  ] DEBUG 2023/04/30 13:45:23 ----
[lp-1  ] DEBUG 2023/04/30 13:45:23 charge power: 0W
[site  ] DEBUG 2023/04/30 13:45:23 pv power: 2894W
[site  ] DEBUG 2023/04/30 13:45:24 grid power: -2544W
[site  ] DEBUG 2023/04/30 13:45:24 site power: -2544W
[lp-1  ] DEBUG 2023/04/30 13:45:24 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/04/30 13:45:24 charge meter total import: 0.011kWh
[lp-1  ] DEBUG 2023/04/30 13:45:24 charger status: A
[lp-1  ] INFO 2023/04/30 13:45:24 car disconnected
[lp-1  ] DEBUG 2023/04/30 13:45:24 set charge mode: minpv
[lp-1  ] DEBUG 2023/04/30 13:45:24 set min current: 6
[lp-1  ] DEBUG 2023/04/30 13:45:24 set max current: 16
[lp-1  ] DEBUG 2023/04/30 13:45:24 set min soc: 0
[lp-1  ] DEBUG 2023/04/30 13:45:24 set target soc: 100
[site  ] DEBUG 2023/04/30 13:45:33 ----
[lp-1  ] DEBUG 2023/04/30 13:45:33 charge power: 0W
[site  ] DEBUG 2023/04/30 13:45:33 pv power: 2962W
[site  ] DEBUG 2023/04/30 13:45:33 grid power: -2649W
[site  ] DEBUG 2023/04/30 13:45:33 site power: -2649W
[lp-1  ] DEBUG 2023/04/30 13:45:33 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/04/30 13:45:34 charge meter total import: 0.011kWh
[lp-1  ] DEBUG 2023/04/30 13:45:34 charger status: A
[site  ] DEBUG 2023/04/30 13:45:43 ----
[lp-1  ] DEBUG 2023/04/30 13:45:43 charge power: 0W
[site  ] DEBUG 2023/04/30 13:45:43 pv power: 3859W
[site  ] DEBUG 2023/04/30 13:45:44 grid power: -4216W
[site  ] DEBUG 2023/04/30 13:45:44 site power: -4216W
[lp-1  ] DEBUG 2023/04/30 13:45:44 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/04/30 13:45:44 charge meter total import: 0.011kWh
[lp-1  ] DEBUG 2023/04/30 13:45:44 charger status: A
[site  ] DEBUG 2023/04/30 13:45:53 ----
[lp-1  ] DEBUG 2023/04/30 13:45:53 charge power: 0W
[site  ] DEBUG 2023/04/30 13:45:53 pv power: 9328W
[site  ] DEBUG 2023/04/30 13:45:53 grid power: -9086W
[site  ] DEBUG 2023/04/30 13:45:53 site power: -9086W
[lp-1  ] DEBUG 2023/04/30 13:45:53 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/04/30 13:45:53 charge meter total import: 0.011kWh
[lp-1  ] DEBUG 2023/04/30 13:45:53 charger status: A
[site  ] DEBUG 2023/04/30 13:46:03 ----
[lp-1  ] DEBUG 2023/04/30 13:46:03 charge power: 0W
[site  ] DEBUG 2023/04/30 13:46:04 pv power: 8082W
[site  ] DEBUG 2023/04/30 13:46:04 grid power: -8062W
[site  ] DEBUG 2023/04/30 13:46:04 site power: -8062W
[lp-1  ] DEBUG 2023/04/30 13:46:04 charge currents: [0 0 0]A
[lp-1  ] DEBUG 2023/04/30 13:46:04 charge meter total import: 0.011kWh
[lp-1  ] DEBUG 2023/04/30 13:46:04 charger status: A

What type of operating system are you running?

Linux

Version

evcc version 0.116.6

premultiply commented 1 year ago

mDNS