Can't get my configuration to avoid discharging my home battery when charging my car #34006
DescriptionI configured my setup to allow better you should up to 75% but when I was checking my battery was discharging still at 48%. Steps to ReproduceSet battery reserve to 75% Versionv0.316.0 Systemlinux/amd64, CEST +02:00 Configuration (YAML)Configuration (UI){
"charger": [
{"id":1,"name":"db:1","type":"template","config":{"template":"homeassistant","enable":"switch.peblar_ev_charger_opladen","enabled":"switch.peblar_ev_charger_opladen","heating":false,"insecure":false,"integrateddevice":false,"milliamps":false,"setMaxCurrent":"number.peblar_ev_charger_laadlimiet","status":"sensor.peblar_ev_charger_status","statusA":"no_ev_connected, invalid","statusB":"suspended ","statusC":"charging","uri":"***"},"deviceProduct":"Home Assistant Charger"}
],
"experimental": false,
"influx": {"database":"","insecure":false,"org":"","password":"","token":"","url":"","user":""},
"interval": 20,
"loadpoints": [
{"id":2,"name":"db:2","alwaysCharge":"off","batteryBoostLimit":75,"charger":"db:1","defaultMode":"","limitEnergy":0,"limitSoc":0,"maxCurrent":8,"minCurrent":6,"minSoc":0,"phasesConfigured":3,"planEnergy":25,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"2026-09-24T05:00:00Z","priority":0,"smartCostLimit":0.311,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"solarShare":1,"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Peblar","ui":{"maxTemp":100,"minTemp":0}}
],
"messenger": [
{"id":11,"name":"db:11","type":"template","config":{"template":"homeassistant","critical":"false","group":"evcc","insecure":false,"notify":"notify.mobile_app_oppo_nico","uri":"***"},"deviceProduct":"Home Assistant"}
],
"meter": [
{"id":5,"name":"db:5","type":"template","config":{"template":"homeassistant","capacity":15,"energy":"","insecure":false,"maxacpower":"0","maxsoc":95,"minsoc":15,"power":"sensor.solis_inverter_s6_battery_power_inverted","returnEnergy":"","soc":"sensor.home_solis_inverter_s6_battery_soc","uri":"***","usage":"battery"},"deviceProduct":"Home Assistant","deviceTitle":"Dyness"},
{"id":3,"name":"db:3","type":"template","config":{"template":"homeassistant","insecure":false,"maxacpower":"0","power":"sensor.elektriciteit_meter_vermogen","uri":"***","usage":"grid"},"deviceProduct":"Home Assistant"},
{"id":4,"name":"db:4","type":"template","config":{"template":"homeassistant","insecure":false,"maxacpower":"0","power":"sensor.home_solis_inverter_s6_inverter_ac_power","uri":"***","usage":"pv"},"deviceProduct":"Home Assistant","deviceTitle":"Solis S6"}
],
"mqtt": {"broker":"","caCert":"","clientCert":"","clientID":"","clientKey":"","insecure":false,"password":"","topic":"evcc","user":""},
"residualPower": 100,
"shm": {"deviceId":"","deviceSerial":"","vendorId":""},
"site": {"aux":null,"battery":["db:5"],"consumer":null,"curtail":null,"ext":null,"grid":"db:3","pv":["db:4"],"title":"Smart charging"},
"tariff": [
{"id":8,"name":"db:8","type":"template","config":{"template":"energypriceforecast-co2","horizon":"120","region":"BE"},"deviceProduct":"Energy Price Forecast EU CO₂"},
{"id":9,"name":"db:9","type":"template","config":{"template":"forecast-solar","az":50,"dec":45,"interval":"1h","kwp":7.4,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Solar Forecast"},
{"id":10,"name":"db:10","type":"template","config":{"template":"open-meteo-temperature","interval":"1h","lat":"***","lon":"***"},"deviceProduct":"Open-Meteo Temperature"},
{"id":7,"name":"db:7","type":"template","config":{"template":"nordpool","average":false,"charges":0.015,"currency":"EUR","formula":"(price - charges)","region":"BE"},"deviceProduct":"Nordpool Spot prices"},
{"id":6,"name":"db:6","type":"template","config":{"template":"nordpool","average":false,"charges":0.115,"currency":"EUR","formula":"((price * 1.05 ) + charges) * (1 + tax)","region":"BE","tax":0.06},"deviceProduct":"Nordpool Spot prices"}
],
"tariffRefs": {"co2":"db:8","feedIn":"db:7","grid":"db:6","planner":"","solar":["db:9"],"temperature":"db:10"},
"vehicle": [
{"id":12,"name":"db:12","type":"template","config":{"template":"myskoda","apikey":"***","autodetectdisabled":false,"cache":"15m","capacity":80,"climaterdisabled":false,"icon":"car","priority":0,"sandbox":false,"title":"Skoda Enyaq ","vin":"***","wakeupdisabled":false},"deviceProduct":"Škoda MyŠkoda (Public API)"}
]
}System State{
"apiReady": true,
"authProviders": {"HomeAssistant (homeassistant.local)":{"id":"http://192.168.70.22:7070-24e9d385","authenticated":true}},
"aux": [],
"battery": {
"capacity": 15,
"devices": [{"name":"db:5","capacity":15,"controllable":false,"power":199,"soc":40,"title":"Dyness"}],
"power": 199,
"soc": 40
},
"batteryDischargeControl": false,
"batteryGridChargeActive": false,
"batteryGridDischarge": false,
"batteryGridDischargeActive": false,
"batteryMode": "unknown",
"bufferSoc": 75,
"bufferStartSoc": 0,
"config": "/config/evcc.yaml",
"currency": "EUR",
"database": "/data/evcc.db",
"deviceColors": [],
"eebus": {"config":{"certificate":{"private":"***","public":"-----BEGIN CERTIFICATE-----
MIIBvjCCAWOgAwIBAgIRAaejDrbjFbNHVugL/hvY3RIwCgYIKoZIzj0EAwIwPjEL
MAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0MxCTAHBgNVBAsTADEVMBMGA1UEAwwM
RVZDQ19IRU1TXzAxMB4XDTI2MDkxNDIwNTIzNloXDTM2MDkxMTIwNTIzNlowPjEL
MAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0MxCTAHBgNVBAsTADEVMBMGA1UEAwwM
RVZDQ19IRU1TXzAxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEMUYCZdi8tRwO
shMgRG/RuW86EPtL4T+8Igj69NEFmRRvy3toukYGxq8scLVItvHsdkCahFojLxh+
4aeIXgmkx6NCMEAwDgYDVR0PAQH/BAQDAgeAMA8GA1UdEwEB/wQFMAMBAf8wHQYD
VR0OBBYEFIVsUlBi4BO2tMSqAnRZYiiouuBCMAoGCCqGSM49BAMCA0kAMEYCIQDi
akNsc896b0183WIy6CjZW1zqBTvrlrkN+QhtClCXiQIhAOWx05a/3TwoawYgfZE1
SuWcb0j6TQ1jco41d+3vuDDX
-----END CERTIFICATE-----
"},"port":4712,"shipid":"EVCC-3638626536353164"},"status":{"qr":"SHIP;SKI:856c525062e013b6b4c4aa0274596228a8bae042;ID:EVCC-3638626536353164;BRAND:EVCC;TYPE:EnergyManagementSystem;MODEL:HEMS;SERIAL:EVCC-3638626536353164;CAT:2;FPH256:1BAB2115E611DA940C231C4689092935CF31B7158051C077F7BFCBAFDEE8740A;SPSEC:ED0DD0B9E6D530AFF702C413A43F70EA;ENDSHIP;","ski":"856c525062e013b6b4c4aa0274596228a8bae042"}},
"experimental": false,
"ext": [],
"forecast": {
"co2": [[1790200800,1790201700,144.35],[1790201700,1790202600,144.35],[1790202600,1790203500,144.35],[1790203500,1790204400,144.35],[1790204400,1790205300,215.03],[1790205300,1790206200,215.03],[1790206200,1790207100,215.03],[1790207100,1790208000,215.03],[1790208000,1790208900,222.79],[1790208900,1790209800,222.79],[1790209800,1790210700,222.79],[1790210700,1790211600,222.79],[1790211600,1790212500,238.27],[1790212500,1790213400,238.27],[1790213400,1790214300,238.27],[1790214300,1790215200,238.27],[1790215200,1790216100,288.92],[1790216100,1790217000,288.92],[1790217000,1790217900,288.92],[1790217900,1790218800,288.92],[1790218800,1790219700,299.43],[1790219700,1790220600,299.43],[1790220600,1790221500,299.43],[1790221500,1790222400,299.43],[1790222400,1790223300,312.03],[1790223300,1790224200,312.03],[1790224200,1790225100,312.03],[1790225100,1790226000,312.03],[1790226000,1790226900,311.54],[1790226900,1790227800,311.54],[1790227800,1790228700,311.54],[1790228700,1790229600,311.54],[1790229600,1790230500,313.5],[1790230500,1790231400,313.5],[1790231400,1790232300,313.5],[1790232300,1790233200,313.5],[1790233200,1790234100,306.17],[1790234100,1790235000,306.17],[1790235000,1790235900,306.17],[1790235900,1790236800,306.17],[1790236800,1790237700,285.36],[1790237700,1790238600,285.36],[1790238600,1790239500,285.36],[1790239500,1790240400,285.36],[1790240400,1790241300,222.62],[1790241300,1790242200,222.62],[1790242200,1790243100,222.62],[1790243100,1790244000,222.62],[1790244000,1790244900,252.01],[1790244900,1790245800,252.01],[1790245800,1790246700,252.01],[1790246700,1790247600,252.01],[1790247600,1790248500,315.41],[1790248500,1790249400,315.41],[1790249400,1790250300,315.41],[1790250300,1790251200,315.41],[1790251200,1790252100,316.18],[1790252100,1790253000,316.18],[1790253000,1790253900,316.18],[1790253900,1790254800,316.18],[1790254800,1790255700,316.61],[1790255700,1790256600,316.61],[1790256600,1790257500,316.61],[1790257500,1790258400,316.61],[1790258400,1790259300,301.93],[1790259300,1790260200,301.93],[1790260200,1790261100,301.93],[1790261100,1790262000,301.93],[1790262000,1790262900,333.49],[1790262900,1790263800,333.49],[1790263800,1790264700,333.49],[1790264700,1790265600,333.49],[1790265600,1790266500,359.44],[1790266500,1790267400,359.44],[1790267400,1790268300,359.44],[1790268300,1790269200,359.44],[1790269200,1790270100,356.91],[1790270100,1790271000,356.91],[1790271000,1790271900,356.91],[1790271900,1790272800,356.91],[1790272800,1790273700,404.66],[1790273700,1790274600,404.66],[1790274600,1790275500,404.66],[1790275500,1790276400,404.66],[1790276400,1790277300,410.13],[1790277300,1790278200,410.13],[1790278200,1790279100,410.13],[1790279100,1790280000,410.13],[1790280000,1790280900,377.27],[1790280900,1790281800,377.27],[1790281800,1790282700,377.27],[1790282700,1790283600,377.27],[1790283600,1790284500,387.71],[1790284500,1790285400,387.71],[1790285400,1790286300,387.71],[1790286300,1790287200,387.71],[1790287200,1790288100,314.92],[1790288100,1790289000,314.92],[1790289000,1790289900,314.92],[1790289900,1790290800,314.92],[1790290800,1790291700,318.06],[1790291700,1790292600,318.06],[1790292600,1790293500,318.06],[1790293500,1790294400,318.06],[1790294400,1790295300,306.77],[1790295300,1790296200,306.77],[1790296200,1790297100,306.77],[1790297100,1790298000,306.77],[1790298000,1790298900,294.57],[1790298900,1790299800,294.57],[1790299800,1790300700,294.57],[1790300700,1790301600,294.57],[1790301600,1790302500,291.32],[1790302500,1790303400,291.32],[1790303400,1790304300,291.32],[1790304300,1790305200,291.32],[1790305200,1790306100,303.58],[1790306100,1790307000,303.58],[1790307000,1790307900,303.58],[1790307900,1790308800,303.58],[1790308800,1790309700,305.32],[1790309700,1790310600,305.32],[1790310600,1790311500,305.32],[1790311500,1790312400,305.32],[1790312400,1790313300,320],[1790313300,1790314200,320],[1790314200,1790315100,320],[1790315100,1790316000,320],[1790316000,1790316900,238.56],[1790316900,1790317800,238.56],[1790317800,1790318700,238.56],[1790318700,1790319600,238.56],[1790319600,1790320500,179.79],[1790320500,1790321400,179.79],[1790321400,1790322300,179.79],[1790322300,1790323200,179.79],[1790323200,1790324100,115.82],[1790324100,1790325000,115.82],[1790325000,1790325900,115.82],[1790325900,1790326800,115.82],[1790326800,1790327700,84.54],[1790327700,1790328600,84.54],[1790328600,1790329500,84.54],[1790329500,1790330400,84.54],[1790330400,1790331300,78.26],[1790331300,1790332200,78.26],[1790332200,1790333100,78.26],[1790333100,1790334000,78.26],[1790334000,1790334900,77.4],[1790334900,1790335800,77.4],[1790335800,1790336700,77.4],[1790336700,1790337600,77.4],[1790337600,1790338500,76.91],[1790338500,1790339400,76.91],[1790339400,1790340300,76.91],[1790340300,1790341200,76.91],[1790341200,1790342100,77.15],[1790342100,1790343000,77.15],[1790343000,1790343900,77.15],[1790343900,1790344800,77.15],[1790344800,1790345700,110.94],[1790345700,1790346600,110.94],[1790346600,1790347500,110.94],[1790347500,1790348400,110.94],[1790348400,1790349300,211.63],[1790349300,1790350200,211.63],[1790350200,1790351100,211.63],[1790351100,1790352000,211.63],[1790352000,1790352900,349.85],[1790352900,1790353800,349.85],[1790353800,1790354700,349.85],[1790354700,1790355600,349.85],[1790355600,1790356500,376.11],[1790356500,1790357400,376.11],[1790357400,1790358300,376.11],[1790358300,1790359200,376.11],[1790359200,1790360100,420.54],[1790360100,1790361000,420.54],[1790361000,1790361900,420.54],[1790361900,1790362800,420.54],[1790362800,1790363700,430.58],[1790363700,1790364600,430.58],[1790364600,1790365500,430.58],[1790365500,1790366400,430.58],[1790366400,1790367300,423.83],[1790367300,1790368200,423.83],[1790368200,1790369100,423.83],[1790369100,1790370000,423.83],[1790370000,1790370900,448.52],[1790370900,1790371800,448.52],[1790371800,1790372700,448.52],[1790372700,1790373600,448.52],[1790373600,1790374500,427.67],[1790374500,1790375400,427.67],[1790375400,1790376300,427.67],[1790376300,1790377200,427.67],[1790377200,1790378100,422.65],[1790378100,1790379000,422.65],[1790379000,1790379900,422.65],[1790379900,1790380800,422.65],[1790380800,1790381700,416.66],[1790381700,1790382600,416.66],[1790382600,1790383500,416.66],[1790383500,1790384400,416.66],[1790384400,1790385300,417.21],[1790385300,1790386200,417.21],[1790386200,1790387100,417.21],[1790387100,1790388000,417.21],[1790388000,1790388900,375.62],[1790388900,1790389800,375.62],[1790389800,1790390700,375.62],[1790390700,1790391600,375.62],[1790391600,1790392500,350.45],[1790392500,1790393400,350.45],[1790393400,1790394300,350.45],[1790394300,1790395200,350.45],[1790395200,1790396100,287.28],[1790396100,1790397000,287.28],[1790397000,1790397900,287.28],[1790397900,1790398800,287.28],[1790398800,1790399700,219.05],[1790399700,1790400600,219.05],[1790400600,1790401500,219.05],[1790401500,1790402400,219.05],[1790402400,1790403300,185.19],[1790403300,1790404200,185.19],[1790404200,1790405100,185.19],[1790405100,1790406000,185.19],[1790406000,1790406900,144.08],[1790406900,1790407800,144.08],[1790407800,1790408700,144.08],[1790408700,1790409600,144.08],[1790409600,1790410500,125.65],[1790410500,1790411400,125.65],[1790411400,1790412300,125.65],[1790412300,1790413200,125.65],[1790413200,1790414100,150.05],[1790414100,1790415000,150.05],[1790415000,1790415900,150.05],[1790415900,1790416800,150.05],[1790416800,1790417700,191.85],[1790417700,1790418600,191.85],[1790418600,1790419500,191.85],[1790419500,1790420400,191.85],[1790420400,1790421300,206.23],[1790421300,1790422200,206.23],[1790422200,1790423100,206.23],[1790423100,1790424000,206.23],[1790424000,1790424900,231.63],[1790424900,1790425800,231.63],[1790425800,1790426700,231.63],[1790426700,1790427600,231.63],[1790427600,1790428500,269.4],[1790428500,1790429400,269.4],[1790429400,1790430300,269.4],[1790430300,1790431200,269.4],[1790431200,1790432100,297.69],[1790432100,1790433000,297.69],[1790433000,1790433900,297.69],[1790433900,1790434800,297.69],[1790434800,1790435700,326.63],[1790435700,1790436600,326.63],[1790436600,1790437500,326.63],[1790437500,1790438400,326.63],[1790438400,1790439300,346.41],[1790439300,1790440200,346.41],[1790440200,1790441100,346.41],[1790441100,1790442000,346.41],[1790442000,1790442900,371.2],[1790442900,1790443800,371.2],[1790443800,1790444700,371.2],[1790444700,1790445600,371.2],[1790445600,1790446500,381.89],[1790446500,1790447400,381.89],[1790447400,1790448300,381.89],[1790448300,1790449200,381.89],[1790449200,1790450100,387.38],[1790450100,1790451000,387.38],[1790451000,1790451900,387.38],[1790451900,1790452800,387.38],[1790452800,1790453700,386.97],[1790453700,1790454600,386.97],[1790454600,1790455500,386.97],[1790455500,1790456400,386.97],[1790456400,1790457300,417],[1790457300,1790458200,417],[1790458200,1790459100,417],[1790459100,1790460000,417],[1790460000,1790460900,408.55],[1790460900,1790461800,408.55],[1790461800,1790462700,408.55],[1790462700,1790463600,408.55],[1790463600,1790464500,416.37],[1790464500,1790465400,416.37],[1790465400,1790466300,416.37],[1790466300,1790467200,416.37],[1790467200,1790468100,410.72],[1790468100,1790469000,410.72],[1790469000,1790469900,410.72],[1790469900,1790470800,410.72],[1790470800,1790471700,418.89],[1790471700,1790472600,418.89],[1790472600,1790473500,418.89],[1790473500,1790474400,418.89],[1790474400,1790475300,411.24],[1790475300,1790476200,411.24],[1790476200,1790477100,411.24],[1790477100,1790478000,411.24],[1790478000,1790478900,403.22],[1790478900,1790479800,403.22],[1790479800,1790480700,403.22],[1790480700,1790481600,403.22],[1790481600,1790482500,402.72],[1790482500,1790483400,402.72],[1790483400,1790484300,402.72],[1790484300,1790485200,402.72],[1790485200,1790486100,366.22],[1790486100,1790487000,366.22],[1790487000,1790487900,366.22],[1790487900,1790488800,366.22],[1790488800,1790489700,302.88],[1790489700,1790490600,302.88],[1790490600,1790491500,302.88],[1790491500,1790492400,302.88],[1790492400,1790493300,299.14],[1790493300,1790494200,299.14],[1790494200,1790495100,299.14],[1790495100,1790496000,299.14],[1790496000,1790496900,253.86],[1790496900,1790497800,253.86],[1790497800,1790498700,253.86],[1790498700,1790499600,253.86],[1790499600,1790500500,233.31],[1790500500,1790501400,233.31],[1790501400,1790502300,233.31],[1790502300,1790503200,233.31],[1790503200,1790504100,246.4],[1790504100,1790505000,246.4],[1790505000,1790505900,246.4],[1790505900,1790506800,246.4],[1790506800,1790507700,309.8],[1790507700,1790508600,309.8],[1790508600,1790509500,309.8],[1790509500,1790510400,309.8],[1790510400,1790511300,313.25],[1790511300,1790512200,313.25],[1790512200,1790513100,313.25],[1790513100,1790514000,313.25],[1790514000,1790514900,308.81],[1790514900,1790515800,308.81],[1790515800,1790516700,308.81],[1790516700,1790517600,308.81],[1790517600,1790518500,312.55],[1790518500,1790519400,312.55],[1790519400,1790520300,312.55],[1790520300,1790521200,312.55],[1790521200,1790522100,337.93],[1790522100,1790523000,337.93],[1790523000,1790523900,337.93],[1790523900,1790524800,337.93],[1790524800,1790525700,348.69],[1790525700,1790526600,348.69],[1790526600,1790527500,348.69],[1790527500,1790528400,348.69],[1790528400,1790529300,357.04],[1790529300,1790530200,357.04],[1790530200,1790531100,357.04],[1790531100,1790532000,357.04],[1790532000,1790532900,383.57],[1790532900,1790533800,383.57],[1790533800,1790534700,383.57],[1790534700,1790535600,383.57],[1790535600,1790536500,379.39],[1790536500,1790537400,379.39],[1790537400,1790538300,379.39],[1790538300,1790539200,379.39],[1790539200,1790540100,379.17],[1790540100,1790541000,379.17],[1790541000,1790541900,379.17],[1790541900,1790542800,379.17],[1790542800,1790543700,408.41],[1790543700,1790544600,408.41],[1790544600,1790545500,408.41],[1790545500,1790546400,408.41],[1790546400,1790547300,399.91],[1790547300,1790548200,399.91],[1790548200,1790549100,399.91],[1790549100,1790550000,399.91]],
"feedin": [[1790114400,1790115300,0.17953000000000002],[1790115300,1790116200,0.17362],[1790116200,1790117100,0.17421999999999999],[1790117100,1790118000,0.16308],[1790118000,1790118900,0.16499999999999998],[1790118900,1790119800,0.15996],[1790119800,1790120700,0.15868],[1790120700,1790121600,0.16438999999999998],[1790121600,1790122500,0.15952],[1790122500,1790123400,0.15613],[1790123400,1790124300,0.15863],[1790124300,1790125200,0.16226000000000002],[1790125200,1790126100,0.15515],[1790126100,1790127000,0.15769],[1790127000,1790127900,0.15748],[1790127900,1790128800,0.15483999999999998],[1790128800,1790129700,0.15255000000000002],[1790129700,1790130600,0.15699999999999997],[1790130600,1790131500,0.15758],[1790131500,1790132400,0.15555999999999998],[1790132400,1790133300,0.15376],[1790133300,1790134200,0.16398000000000001],[1790134200,1790135100,0.17228],[1790135100,1790136000,0.18475000000000003],[1790136000,1790136900,0.18395],[1790136900,1790137800,0.20479000000000003],[1790137800,1790138700,0.22842],[1790138700,1790139600,0.23635999999999996],[1790139600,1790140500,0.24606],[1790140500,1790141400,0.25989],[1790141400,1790142300,0.27163],[1790142300,1790143200,0.241],[1790143200,1790144100,0.25151999999999997],[1790144100,1790145000,0.22549999999999998],[1790145000,1790145900,0.20931],[1790145900,1790146800,0.17412],[1790146800,1790147700,0.19927],[1790147700,1790148600,0.17887999999999998],[1790148600,1790149500,0.15582000000000001],[1790149500,1790150400,0.13146000000000002],[1790150400,1790151300,0.15123999999999999],[1790151300,1790152200,0.1331],[1790152200,1790153100,0.11994999999999999],[1790153100,1790154000,0.11642999999999999],[1790154000,1790154900,0.12641999999999998],[1790154900,1790155800,0.11499],[1790155800,1790156700,0.08779],[1790156700,1790157600,0.0513],[1 |
Replies: 2 comments 2 replies
|
The thresholds can only be respected during surplus charging, since then, evcc controls the charge power. During fast charging, this is not possible. But in case your battery supports it, you can enable locking the battery during fast charging. |
|
Thanks for the help. |
The thresholds can only be respected during surplus charging, since then, evcc controls the charge power. During fast charging, this is not possible. But in case your battery supports it, you can enable locking the battery during fast charging.