Skip to content

History production sum incomplete #33027

Description

@ross90

Description

I have configured three photovoltaic systems in evcc via the UI: one via Modbus (SolarEdge), a balcony solar system via OpenCCU (Homematic IP), and an older system via Shelly (SolarMax). The overview displays production from all three - and they also appear in the legend of the generation chart on the history page, but the log and the chart itself only show values ​​for the SolarEdge and the balcony system. For example: on August 20th, between 9:15 and 9:30 AM, 3.1 kW was generated (SolarEdge 1.9; balcony system 0.1; SolarMax 1.2). However, the sum shows as 2 kW in the chart. The log also outputs only the sum of the SolarEdge and the balcony system, along with the forecast value; the SolarMax value is completely missing from the total.

Image

Steps to Reproduce

  1. You need multiple photovoltaic systems
  2. Go to History page and calculate the sum of all systems and compare them to the charts and log entries.

Configuration (UI)

{
  "charger": [
    {"id":16,"name":"db:16","type":"template","config":{"template":"homematic","cache":"1s","device":"003AA2699C8AD3","heating":false,"host":"192.168.0.90","icon":"dishwasher","integrateddevice":true,"meterchannel":"6","password":"***","port":"2010","standbypower":4,"switchchannel":"3","user":"***"},"deviceProduct":"Homematic IP"},
    {"id":12,"name":"db:12","type":"template","config":{"template":"homematic","cache":"1s","device":"003AA2699C8CEF","heating":false,"host":"192.168.0.90","icon":"laundry","integrateddevice":true,"meterchannel":"6","password":"***","port":"2010","standbypower":4,"switchchannel":"3","user":"***"},"deviceProduct":"Homematic IP"},
    {"id":14,"name":"db:14","type":"template","config":{"template":"homematic","cache":"1s","device":"003AA2699C8ADC","heating":false,"host":"192.168.0.90","icon":"laundry","integrateddevice":true,"meterchannel":"6","password":"***","port":"2010","standbypower":4,"switchchannel":"3","user":"***"},"deviceProduct":"Homematic IP"},
    {"id":24,"name":"db:24","type":"template","config":{"template":"homematic","cache":"1s","device":"0001D3C99C9374","heating":false,"host":"192.168.0.90","icon":"dishwasher","integrateddevice":true,"meterchannel":"6","password":"***","port":"2010","standbypower":5,"switchchannel":"3","user":"***"},"deviceProduct":"Homematic IP"},
    {"id":30,"name":"db:30","type":"template","config":{"id":1,"template":"stiebel-wpm","baudrate":9600,"comset":"8N1","host":"192.168.0.147","modbus":"tcpip","port":502,"tempsource":"warmwater"},"deviceProduct":"Stiebel Eltron WPM (SG Ready)"},
    {"id":43,"name":"db:43","type":"template","config":{"template":"ellipro","ip":"192.168.0.155","ski":"***"},"deviceProduct":"Volkswagen ID. Charger Pro"}
  ],
  "experimental": true,
  "influx": {"database":"evcc","insecure":true,"org":"rosshab","password":"","token":"***","url":"https://192.168.0.80:8086/","user":""},
  "interval": 30,
  "loadpoints": [
    {"id":13,"name":"db:13","batteryBoostLimit":100,"charger":"db:12","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":13,"minCurrent":5,"minSoc":0,"phasesConfigured":1,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":5,"smartCostLimit":0.2,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Trockner","ui":{"maxTemp":0,"minTemp":0}},
    {"id":15,"name":"db:15","batteryBoostLimit":100,"charger":"db:14","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":10,"minCurrent":3,"minSoc":0,"phasesConfigured":1,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":1,"smartCostLimit":0.2,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Waschmaschine","ui":{"maxTemp":0,"minTemp":0}},
    {"id":17,"name":"db:17","batteryBoostLimit":100,"charger":"db:16","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":12,"minCurrent":4,"minSoc":0,"phasesConfigured":1,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":3,"smartCostLimit":0.2,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Spülmaschine","ui":{"maxTemp":0,"minTemp":0}},
    {"id":25,"name":"db:25","batteryBoostLimit":100,"charger":"db:24","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":12,"minCurrent":6,"minSoc":0,"phasesConfigured":1,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":0.2,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Spülmaschine Oben","ui":{"maxTemp":0,"minTemp":0}},
    {"id":31,"name":"db:31","batteryBoostLimit":100,"charger":"db:30","defaultMode":"","limitEnergy":0,"limitSoc":60,"maxCurrent":16,"meter":"db:32","minCurrent":4,"minSoc":0,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":0.2,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Stiebel Eltron ","ui":{"maxTemp":70,"minTemp":25}},
    {"id":44,"name":"db:44","batteryBoostLimit":100,"charger":"db:43","defaultMode":"","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"minCurrent":6,"minSoc":0,"phasesConfigured":3,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":0.2,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Garage ID.Charger Pro","ui":{"maxTemp":100,"minTemp":0},"vehicle":"db:42"}
  ],
  "meter": [
    {"id":11,"name":"db:11","type":"template","config":{"template":"homematic","cache":"1s","device":"000B9F298DFB61","host":"192.168.0.90","meterchannel":5,"password":"***","usage":"pv","user":"***"},"deviceProduct":"Homematic IP","deviceTitle":"Balkonkraftwerk"},
    {"id":28,"name":"db:28","type":"template","config":{"template":"shelly-1pm","host":"192.168.0.21","usage":"pv"},"deviceProduct":"Shelly Pro 3EM (monophase device profile)","deviceTitle":"SolarMax"},
    {"id":32,"name":"db:32","type":"template","config":{"template":"shelly-pro-3em","host":"192.168.0.22","usage":"charge"},"deviceProduct":"Shelly Pro 3 EM"},
    {"id":26,"name":"db:26","type":"template","config":{"template":"shelly-pro-3em","host":"192.168.0.20","usage":"grid"},"deviceProduct":"Shelly Pro 3 EM"},
    {"id":34,"name":"db:34","type":"template","config":{"id":1,"template":"solaredge-hybrid","baudrate":9600,"capacity":9.2,"comset":"8N1","host":"192.168.0.148","maxacpower":"0","maxchargepower":5000,"maxdischargepower":"5000","maxsoc":95,"minsoc":20,"modbus":"tcpip","port":1502,"usage":"battery","watchdog":"60s"},"deviceProduct":"SolarEdge Hybrid Inverter","deviceTitle":"SolarEdge Batterie"},
    {"id":33,"name":"db:33","type":"template","config":{"id":1,"template":"solaredge-hybrid","baudrate":9600,"comset":"8N1","host":"192.168.0.148","maxacpower":9000,"maxdischargepower":"5000","modbus":"tcpip","port":1502,"usage":"pv","watchdog":"60s"},"deviceProduct":"SolarEdge Hybrid Inverter","deviceTitle":"SolarEdge"}
  ],
  "modbusproxy": [{"port":8502,"readonly":"false","settings":{"rtu":false,"uri":"192.168.0.148:1502"}}],
  "mqtt": {"broker":"tls://192.168.0.80:8883","caCert":"","clientCert":"","clientID":"evcc","clientKey":"","insecure":true,"password":"***","topic":"evcc","user":"openhab"},
  "residualPower": 0,
  "shm": {"deviceId":"","deviceSerial":"","vendorId":""},
  "site": {"aux":null,"battery":["db:34"],"consumer":null,"ext":null,"grid":"db:26","pv":["db:11","db:28","db:33"],"title":"RossHabEnergy"},
  "tariff": [
    {"id":19,"name":"db:19","type":"template","config":{"template":"fixed","price":0.08},"deviceProduct":"Fester Preis"},
    {"id":36,"name":"db:36","type":"template","config":{"template":"energypriceforecast-co2","horizon":"120","region":"DE"},"deviceProduct":"Energy Price Forecast EU CO₂"},
    {"id":38,"name":"db:38","type":"template","config":{"template":"open-meteo","ac":"1000","alphatemp":"-0.004","az":147,"de":"0","dec":20,"dm":"0","efficiency":"100","interval":"1h","kwp":5,"lat":"***","lon":"***","model":"best_match","rossmodel":"0.0342"},"deviceProduct":"Open-Meteo","deviceTitle":"SolarMax"},
    {"id":35,"name":"db:35","type":"template","config":{"template":"open-meteo-temperature","interval":"1h","lat":"***","lon":"***"},"deviceProduct":"Open-Meteo Temperature"},
    {"id":21,"name":"db:21","type":"template","config":{"template":"open-meteo","ac":"1000","alphatemp":"-0.004","az":147,"de":"0","dec":17,"dm":"0","efficiency":"100","interval":"1h","kwp":5,"lat":"***","lon":"***","model":"best_match","rossmodel":"0.0342"},"deviceProduct":"Open-Meteo","deviceTitle":"SolarEdge Süden"},
    {"id":22,"name":"db:22","type":"template","config":{"template":"open-meteo","ac":"1000","alphatemp":"-0.004","az":57,"de":"0","dec":42,"dm":"0","efficiency":"100","interval":"1h","kwp":3,"lat":"***","lon":"***","rossmodel":"0.0342"},"deviceProduct":"Open-Meteo","deviceTitle":"SolarEdge Osten"},
    {"id":37,"name":"db:37","type":"template","config":{"template":"energypriceforecast","average":false,"charges":0.149,"currency":"EUR","horizon":"120","region":"DE","tax":0.19},"deviceProduct":"Energy Price Forecast EU Predicted spot prices"}
  ],
  "tariffRefs": {"co2":"db:36","feedIn":"db:19","grid":"db:37","planner":"","solar":["db:21","db:22","db:38"],"temperature":"db:35"},
  "vehicle": [
    {"id":42,"name":"db:42","type":"template","config":{"template":"offline","capacity":43,"coarsecurrent":false,"icon":"car","maxCurrent":16,"minCurrent":6,"phases":"3","priority":0,"title":"Dolphin","welcomecharge":false},"deviceProduct":"Generisches Fahrzeug (ohne API)"}
  ]
}

Logs

[lp-5  ] DEBUG 2026/08/20 21:46:00 charger soc: 58%
[lp-5  ] DEBUG 2026/08/20 21:46:00 !! plan: plan time zero
[lp-5  ] DEBUG 2026/08/20 21:46:00 pv charge current: 0A = 0.0833A + -0.915A (632W @ 3p)
[site  ] DEBUG 2026/08/20 21:46:00 solar forecast: produced 36.454kWh, forecasted 49.933kWh, scale 0.730
[site  ] DEBUG 2026/08/20 21:46:29 ----
[lp-6  ] DEBUG 2026/08/20 21:46:29 charge power: 0W
[lp-6  ] DEBUG 2026/08/20 21:46:29 charge currents: [0 0 0]A
[lp-3  ] DEBUG 2026/08/20 21:46:29 charge power: 0W
[lp-2  ] DEBUG 2026/08/20 21:46:29 charge power: 0W
[lp-1  ] DEBUG 2026/08/20 21:46:29 charge power: 0W
[lp-4  ] DEBUG 2026/08/20 21:46:29 charge power: 0W
[lp-5  ] DEBUG 2026/08/20 21:46:29 charge power: 57W
[lp-5  ] DEBUG 2026/08/20 21:46:29 charge currents: [0.314 0.235 0.281]A
[site  ] DEBUG 2026/08/20 21:46:29 pv 1 power: 0W
[site  ] DEBUG 2026/08/20 21:46:30 pv 2 power: 0W
[site  ] DEBUG 2026/08/20 21:46:30 grid power: -9W
[site  ] DEBUG 2026/08/20 21:46:30 grid powers: [16 82 -108]W
[site  ] DEBUG 2026/08/20 21:46:30 grid currents: [1.98 1.36 -0.913]A
[site  ] DEBUG 2026/08/20 21:46:30 battery 1 power: 634W
[site  ] DEBUG 2026/08/20 21:46:30 battery 1 soc: 78%
[site  ] DEBUG 2026/08/20 21:46:30 pv 3 power: -79W
[site  ] DEBUG 2026/08/20 21:46:30 pv power: 0W
[site  ] DEBUG 2026/08/20 21:46:30 site power: 625W
[lp-6  ] DEBUG 2026/08/20 21:46:30 charger status: A
[site  ] DEBUG 2026/08/20 21:46:30 solar forecast: produced 36.454kWh, forecasted 49.933kWh, scale 0.730

Version

v0.314.2

System

linux/arm64, CEST +02:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions