evcc
evcc copied to clipboard
Energy Forecast
Describe the bug
The Forecast-adjust toggle-switch does not affect the remaing energy produced in the Energy flow UI. I would have assumed that if I turn on the adjustment, this value would also be adjusted. (I currently don't have a screenshot, where you can see that, but I think the description should be enough.)
Steps to reproduce
...
Configuration details
## Configuration (YAML)
network:
schema: https
host: evcc.local
## 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
not relevant
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