Sessions UI for integrated device
Describe the bug
-
The "charged" energy is displayed in the Sessions UI even though I've configured the "Poolwärmepumpe" as an integrated device.
-
The Min+PV mode and the charging power setting at the loadpoint-settings are currently still shown.Where can the "switchdevice" property be configured?
Steps to reproduce
...
Configuration details
## Configuration (UI)
{
"charger": [
{"id":7,"name":"db:7","type":"template","config":{"baudrate":9600,"comset":"8N1","host":"192.168.0.215","id":255,"modbus":"tcpip","port":502,"template":"keba-modbus-p40"},"deviceProduct":"KEBA KeContact P40"},
{"id":28,"name":"db:28","type":"template","config":{"channel":"0","heating":true,"host":"192.168.0.96","icon":"heatpump","integrateddevice":true,"standbypower":-2000,"template":"shelly"},"deviceProduct":"Shelly 1"}
],
"circuits": "- name: main # unique name, used as reference, e.g. as parent in other circuits
title: Netzanschluss # used in the UI
maxcurrent: 25 # 63A main circuit breaker (optional)
maxPower: 17500 # 17,5kW (optional)
meter: db:27 # associated meter to monitor the power consumption (optional)
parent: # no parent, this is the root circuit
#- name: garage # unique name, used as reference, e.g. to associate loadpoints
# title: Garage # used in the UI
# maxcurrent: 24 # allow individual phase use up to 24A
# maxPower: 11000 # limit total power to 11kW
# meter: garage # dedicated meter for the garage
# parent: main # parent to the main circuit
#- name: carport # unique name, used as reference, e.g. to associate loadpoints
# title: Carport # used in the UI
# maxCurrent: 16 # 32A circuit breaker
# maxPower: 11000 # no limit, only check current
# meter: # no meter, using data from loadpoints
# parent: main # parent to the main circuit",
"experimental": true,
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"interval": 10,
"loadpoints": [
{"id":2,"name":"db:2","batteryBoostLimit":50,"charger":"db:7","circuit":"main","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"minCurrent":6,"phasesConfigured":0,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":1,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"title":"Wallbox Carport","vehicle":"db:4"},
{"id":30,"name":"db:30","batteryBoostLimit":100,"charger":"db:28","circuit":"main","defaultMode":"pv","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"meter":"db:31","minCurrent":6,"phasesConfigured":1,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"title":"Poolwärmepumpe"}
],
"meter": [
{"id":3,"name":"db:3","type":"custom","config":{"yaml":"## required attributes
power:
source: http
uri: http://pvserver:[email protected]/
regex: (?s)aktuell\\s*</td>\\s*<td[^>]*>\\s*([0-9]+(?:[.,][0-9]+)?)\\s*</td>
default: 0
energy:
source: http
uri: http://pvserver:[email protected]/
#regex: (?s)Gesamtenergie\\s*</td>\\s*<td[^>]*>\\s*([0-9]+(?:[.,][0-9]+)?)\\s*</td>
regex: Tagesenergie<\\/td>\\s*<td[^>]*>\\s*([0-9.]+)
#voltages:
#- source: http
# uri: http://pvserver:[email protected]/
# regex: (?s)<u>\\s*L1\\s*</u>.*?Spannung\\s*</td>\\s*<td[^>]*>\\s*(?:[0-9]+(?:[.,][0-9]+)?)\\s*</td>\\s*<td[^>]*>\\s* \\s*V\\s*</td>\\s*<td[^>]*>\\s*Spannung\\s*</td>\\s*<td[^>]*>\\s*([0-9]+(?:[.,][0-9]+)?)\\s*</td>
# default: 0
#- source: http
# uri: http://pvserver:[email protected]/
# regex: (?s)<u>\\s*L2\\s*</u>.*?Spannung\\s*</td>\\s*<td[^>]*>\\s*(?:[0-9]+(?:[.,][0-9]+)?)\\s*</td>\\s*<td[^>]*>\\s* \\s*V\\s*</td>\\s*<td[^>]*>\\s*Spannung\\s*</td>\\s*<td[^>]*>\\s*([0-9]+(?:[.,][0-9]+)?)\\s*</td>
# default: 0
#- source: http
# uri: http://pvserver:[email protected]/
# regex: (?s)<u>\\s*L3\\s*</u>.*?Spannung\\s*</td>\\s*<td[^>]*>\\s*([0-9]+(?:[.,][0-9]+)?)\\s*</td>\\s*<td[^>]*>\\s* \\s*V
# default: 0
"},"deviceTitle":"Dach"},
{"id":10,"name":"db:10","type":"template","config":{"capacity":15.36,"host":"192.168.0.80","maxacpower":"0","maxchargepower":3000,"maxdischargepower":3500,"maxsoc":100,"minsoc":10,"port":"502","template":"victron-energy","usage":"battery"},"deviceProduct":"Victron Energy","deviceTitle":"Pytes Pi Lv1 Batterie"},
{"id":27,"name":"db:27","type":"custom","config":{"yaml":"#energy: # meter reading in kWh
# source: const
# value: 42.5
# --------------------------------------------------------
# 1. Gesamtleistung (Wirkleistung über alle Phasen)
# --------------------------------------------------------
power:
source: modbus
uri: 192.168.0.98:502
id: 1
register:
address: 1013 # Total Active Power
type: input
decode: float32s # Byte-swapped float
# --------------------------------------------------------
# 2. Spannung der einzelnen Phasen (L1, L2, L3) in Volt
# --------------------------------------------------------
voltages:
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1020, type: input, decode: float32s } # Phase A
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1040, type: input, decode: float32s } # Phase B
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1060, type: input, decode: float32s } # Phase C
# --------------------------------------------------------
# 3. Stromstärke der einzelnen Phasen (L1, L2, L3) in Ampere
# --------------------------------------------------------
currents:
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1022, type: input, decode: float32s } # Phase A
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1042, type: input, decode: float32s } # Phase B
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1062, type: input, decode: float32s } # Phase C
# --------------------------------------------------------
# 4. Wirkleistung der einzelnen Phasen (L1, L2, L3) in Watt
# --------------------------------------------------------
powers:
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1024, type: input, decode: float32s } # Phase A
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1044, type: input, decode: float32s } # Phase B
- source: modbus
uri: 192.168.0.98:502
id: 1
register: { address: 1064, type: input, decode: float32s } # Phase C
"}},
{"id":9,"name":"db:9","type":"template","config":{"host":"192.168.0.80","maxacpower":"0","port":502,"template":"victron-energy","usage":"pv"},"deviceProduct":"Victron Energy","deviceTitle":"Balkon"},
{"id":31,"name":"db:31","type":"template","config":{"channel":0,"host":"192.168.0.96","template":"shelly-1pm","usage":"charge"},"deviceProduct":"Shelly 1PM"}
],
"modbusproxy": [],
"mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"residualPower": 0,
"shm": {"vendorId":"","deviceId":"","deviceSerial":""},
"site": {"title":"Einfamilienhaus Königsmair","grid":"db:27","pv":["db:3","db:9"],"battery":["db:10"],"aux":null,"ext":null},
"tariff": [
{"id":25,"name":"db:25","type":"template","config":{"price":0.06,"template":"fixed-zones","zones":[{"days":"","hours":"","months":"jan,feb,oct,nov,dec","price":0.09}]},"deviceProduct":"Zeitabhängiger Tarif"},
{"id":21,"name":"db:21","type":"template","config":{"price":0.2,"template":"fixed"},"deviceProduct":"Fester Preis"},
{"id":15,"name":"db:15","type":"template","config":{"template":"electricitymaps-free","token":"***","zone":"AT"},"deviceProduct":"Electricity Maps Free API"},
{"id":13,"name":"db:13","type":"template","config":{"ac":"1000","alphatemp":"-0.004","az":-5,"de":"0","dec":35,"dm":"0","efficiency":"100","interval":"1h","kwp":4.165,"lat":"***","lon":"***","rossmodel":"0.0342","template":"open-meteo"},"deviceProduct":"Open-Meteo","deviceTitle":"Dach"},
{"id":14,"name":"db:14","type":"template","config":{"ac":"1000","alphatemp":"-0.004","az":-5,"de":100,"dec":85,"dm":100,"efficiency":"100","interval":"1h","kwp":1,"lat":"***","lon":"***","rossmodel":"0.0342","template":"open-meteo"},"deviceProduct":"Open-Meteo","deviceTitle":"Balkon"},
{"id":24,"name":"db:24","type":"template","config":{"region":"AT","template":"epex-predictor","uri":"***"},"deviceProduct":"EPEX Predictor Predicted EPEX spot prices"}
],
"tariffRefs": {"grid":"db:21","feedIn":"db:25","co2":"db:15","planner":"db:24","solar":["db:13","db:14"]},
"vehicle": [
{"id":4,"name":"db:4","type":"template","config":{"accessToken":"***","cache":"15m","capacity":60,"clientId":"8e7ade23-4761-4c73-b48b-e679fd75ab03","commandProxy":"https://api.myteslamate.com","icon":"car","maxCurrent":16,"maxPower":11000,"minCurrent":5,"mode":"pv","phases":"","refreshToken":"***","template":"tesla","title":"Tesla Model 3"},"deviceProduct":"Tesla"}
]
}
Log details
## Logs
[lp-1 ] DEBUG 2026/06/15 20:23:52 charge power: 1407W
[lp-1 ] DEBUG 2026/06/15 20:23:52 charge currents: [6.1 0.004 0.004]A
[main ] DEBUG 2026/06/15 20:23:52 power: -19W
[main ] DEBUG 2026/06/15 20:23:52 current: 1.14A
[site ] DEBUG 2026/06/15 20:23:52 grid power: -19W
[site ] DEBUG 2026/06/15 20:23:52 grid powers: [-198 13 166]W
[site ] DEBUG 2026/06/15 20:23:52 grid currents: [-1.49 0.707 1.14]A
[site ] DEBUG 2026/06/15 20:23:52 battery 1 power: 1927W
[site ] DEBUG 2026/06/15 20:23:52 battery 1 soc: 66%
[site ] DEBUG 2026/06/15 20:23:52 pv 2 power: 11W
[site ] DEBUG 2026/06/15 20:23:52 pv 1 power: 38W
[site ] DEBUG 2026/06/15 20:23:53 pv power: 49W
[site ] DEBUG 2026/06/15 20:23:53 site power: 1908W
[lp-1 ] DEBUG 2026/06/15 20:23:53 detected active phases: 1p
[lp-1 ] DEBUG 2026/06/15 20:23:53 session energy: 2.663kWh
[lp-1 ] DEBUG 2026/06/15 20:23:53 charge total import: 2465.207kWh
[lp-1 ] DEBUG 2026/06/15 20:23:53 charger status: C
[lp-1 ] DEBUG 2026/06/15 20:23:53 vehicle soc: 59%
[lp-1 ] DEBUG 2026/06/15 20:23:53 vehicle soc limit: 100%
[lp-1 ] DEBUG 2026/06/15 20:23:53 vehicle range: 239km
[lp-1 ] DEBUG 2026/06/15 20:23:53 soc estimated: 59.77% (vehicle: 59.00%)
[lp-1 ] DEBUG 2026/06/15 20:23:53 vehicle soc (estimator): 60%
[lp-1 ] DEBUG 2026/06/15 20:23:53 plan: charge 3h7m39s between 2026-06-21 10:30:00 +0200 CEST until 2026-06-22 05:30:00 +0200 CEST (power: 11000W, avg cost: 0.019)
[lp-1 ] DEBUG 2026/06/15 20:23:53 pv charge current: min 6A > 0A (1908W @ 1p, battery: true)
[site ] DEBUG 2026/06/15 20:23:53 solar forecast: produced 25.968kWh, forecasted 29.054kWh, scale 0.894
What type of operating system or environment does evcc run on?
Linux
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
0.309.0
This is known limitation, also stated in the docs. Once the history feature is out of experimental we will drop integrated devices from the sessions view. See also https://github.com/evcc-io/evcc/issues/13050
Ok, i was just wondering because in the Docs, it is mentioned differently in the features section: Benutzerdefinierte Geräte
Regarding the second question: how can the switchdevice feature currently be configured?