evcc icon indicating copy to clipboard operation
evcc copied to clipboard

New Forecast view is great but "Real Data Adjust slider" does not work

Open MartijnvanGeffen13 opened this issue 7 months ago • 2 comments

Description

Started a discussion with pictures:

https://github.com/evcc-io/evcc/discussions/29364

I am having a issue with the new Forecast view and the "Real Data Adjust slider" .

For me it shows -96% while i am actually doing far over 80% of my PV

When not ticked it looks like the predication only take 1 PV into account stating the current is 3KWH while i am doing sustained 9KWH surplus. from the looks at it it only takes the smalles PV setup into account instead of all 4.

Steps to Reproduce

Add more than 1 PV setup to evcc configure the Solar forecast with openmeteo

solar: type: template template: open-meteo lat: 51.298111 # Latitude lon: 5.783500 # Longitude dec: 30 # Decline, 0 = horizontal, 90 = vertical kwp: 11.1 # Maximum generator power (kWp) az: -20

rossmodel: 0.0563

interval: 1h

Look at the forecast values VS the slider value and tick the slider

⚠️ ## Configuration (YAML)

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070
log: trace
levels:
  db: error
  modbus: error
  http: error
  influx: 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: true
meters:
- name: grid
  type: template
  template: homewizard
  usage: grid
  host: 192.168.178.50
- name: airco
  type: template
  template: shelly-2pm
  host: 192.168.178.136 # IP address or hostname
  channel: 0
  circuit: airco 
- name: pv1
  type: template
  template: huawei-dongle
  id: 1
  host: 192.168.178.58
  port: 502
  usage: pv
  modbus: tcpip
  timeout: 15s
- name: pv2
  type: custom
  power:
    source: http
    uri: *****
    method: GET
    headers:
      - content-type: application/json
    jq: .active_power_w * -1
    timeout: 15s
  energy:
    source: http
    uri: *****
    method: GET
    headers:
      - content-type: application/json
    jq: .total_power_export_kwh
    timeout: 15s
- name: pv3
  type: custom
  power:
    source: http
    uri: *****
    method: GET
    headers:
      - content-type: application/json
    jq: .active_power_w * -1
    timeout: 15s
  energy:
    source: http
    uri: *****
    method: GET
    headers:
      - content-type: application/json
    jq: .total_power_export_kwh
    timeout: 15s
- name: pv4
  type: custom
  power:
    source: http
    uri: *****
    method: GET
    headers:
      - content-type: application/json
    jq: .active_power_w * -1
    timeout: 15s
  energy:
    source: http
    uri: *****
    method: GET
    headers:
      - content-type: application/json
    jq: .total_power_export_kwh
    timeout: 15s
chargers:
- type: template
  template: alfen 
  id: 1  
  host: 192.168.178.70  
  port: 502  
  modbus: tcpip  
  name: Alfen
loadpoints:
- title: Oprit
  charger: Alfen
  mode: pv
  #vehicle: EX30 # set default vehicle (disables vehicle detection)
  phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
  circuit: laadpaal
  enable:
    # switch on when there is at least 800 W surplus for 3 minute
    delay: 4m
    threshold: -900
  disable:
    # switch off if more than 700 W are drawn from the mains for 4 minutes
    delay: 4m
    threshold: 600
  soc:
    poll:
      # poll mode defines under which condition the vehicle API is called:
      #   charging: update vehicle ONLY when charging (this is the recommended default)
      #   connected: update vehicle when connected (not only charging), interval defines how often
      #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
      mode: connected
      # poll interval defines how often the vehicle API may be polled if NOT charging
      interval: 30m
site:
  title: Home
  meters:
    grid: grid
    pv:
      - pv1
      - pv2
      - pv3
      - pv4
  residualpower: 100
circuits:
- name: main
  maxcurrent: 20
  meter: grid
  parent:
- name: laadpaal
  maxcurrent: 16
  parent: main

Configuration (UI)

{
  "charger": [],
  "experimental": true,
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "interval": 15,
  "loadpoints": [],
  "meter": [],
  "mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
  "residualPower": 100,
  "shm": {"vendorId":"","deviceId":"","deviceSerial":""},
  "site": {"title":"Home","grid":"grid","pv":["pv1","pv2","pv3","pv4"],"battery":null,"aux":null,"ext":null},
  "tariffRefs": {"grid":"","feedIn":"","co2":"","planner":"","solar":null},
  "tariffs": "currency: EUR
grid: # price using energy from the grid
  type: fixed
  price: 0.26 # EUR/kWh
feedin: # price for feeding solar energy to the grid
  type: fixed
  price: 0.00 # EUR/kWh
#grid:
#  type: template
#  template: stekker
#  region: NL
#  charges: 0.15 # Charge, Additional fixed charge per kWh (e.g. 0.05 for 5 cents) (optional)
#  tax: 0.21 # Tax, Additional percentage charge (e.g. 0.2 for 20%) (optional)
#co2:
#  type: template
#  template: ned
#  apiKey: *****
solar:
  type: template
  template: open-meteo
  lat: *****
  lon: *****
  dec: 30 # Decline, 0 = horizontal, 90 = vertical
  kwp: 11.1 # Maximum generator power (kWp)
  az: -20
#  rossmodel: 0.0563
  interval: 1h",
  "vehicle": [
    {"id":8,"name":"db:8","type":"template","config":{"capacity":49,"clientId":"****","clientSecret":"***","icon":"car","redirectUri":"******","template":"volvo-connected","title":"EX30","vccapikey":"*******","vin":"***"},"deviceProduct":"Volvo"}
  ]
}

Logs

[laadpaal] DEBUG 2026/04/23 15:27:24 current: 0A
[main  ] DEBUG 2026/04/23 15:27:24 power: -6838W
[main  ] DEBUG 2026/04/23 15:27:24 current: -7.94A
[site  ] DEBUG 2026/04/23 15:27:24 grid power: -6838W
[site  ] DEBUG 2026/04/23 15:27:24 grid currents: [-7.94 -12.5 -8.26]A
[site  ] DEBUG 2026/04/23 15:27:24 pv 3 power: 1363W
[site  ] DEBUG 2026/04/23 15:27:24 pv 2 power: 671W
[site  ] DEBUG 2026/04/23 15:27:24 pv 4 power: 2062W
[site  ] DEBUG 2026/04/23 15:27:25 pv 1 power: 3671W
[site  ] DEBUG 2026/04/23 15:27:26 pv power: 7766W
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate set pv1 16821.270kWh meter total (was: Accumulated: 64.433kWh pos, 0.000kWh neg, updated: 2026-04-23 15:27:10 +0200 CEST meter:  16821.250kWh pos)
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate moved pv1 from 64.433 to 64.453
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate set pv2 1434.219kWh meter total (was: Accumulated: 10.620kWh pos, 0.000kWh neg, updated: 2026-04-23 15:27:10 +0200 CEST meter:  1434.217kWh pos)
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate moved pv2 from 10.620 to 10.622
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate set pv3 2868.297kWh meter total (was: Accumulated: 21.166kWh pos, 0.000kWh neg, updated: 2026-04-23 15:27:10 +0200 CEST meter:  2868.292kWh pos)
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate moved pv3 from 21.166 to 21.171
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate set pv4 1196.565kWh meter total (was: Accumulated: 34.845kWh pos, 0.000kWh neg, updated: 2026-04-23 15:27:10 +0200 CEST meter:  1196.557kWh pos)
[site  ] DEBUG 2026/04/23 15:27:26 !! solar production: accumulate moved pv4 from 34.845 to 34.853
[site  ] DEBUG 2026/04/23 15:27:26 site power: -6738W
[lp-1  ] DEBUG 2026/04/23 15:27:26 charge voltages: [240 239 239]V
[lp-1  ] DEBUG 2026/04/23 15:27:26 charge total import: 8956.716kWh
[lp-1  ] DEBUG 2026/04/23 15:27:26 charger status: A
[site  ] DEBUG 2026/04/23 15:27:26 solar forecast: accumulated 0.036Wh from 2026-04-23 15:27:10 +0200 CEST to 2026-04-23 15:27:26 +0200 CEST
[site  ] DEBUG 2026/04/23 15:27:26 solar forecast: produced 131.099
[site  ] DEBUG 2026/04/23 15:27:26 solar forecast: accumulated 2754.806kWh, produced 131.099kWh, scale 0.048

Version

v0.305.1

System

linux/amd64, CEST +02:00

MartijnvanGeffen13 avatar Apr 23 '26 13:04 MartijnvanGeffen13

Removed in nightly

andig avatar Apr 23 '26 13:04 andig

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

naltatis avatar Apr 23 '26 14:04 naltatis