Loading restarts after reboot from update
Description
Hi, If i Set manuell stop loading After the sun goes down and at 3 in the Morning My Backup restarts the lcx Container The car is still connected. then loading Starts at min pv instead of stop.
Is this a bug or config error?
I Set the the last state should saved. But After restart of the Server it starts.
Steps to Reproduce
Press stop car still connected Restart Server Car load but it should Not loading
Thank you
Version
v0.316.2
System
linux/amd64, CEST +02:00
Thanks for the report. The charge mode is persisted and restored on startup (core/loadpoint.go), unless the loadpoint has a default mode configured. In that case the configured default wins after every restart. A vehicle-specific mode or an onIdentify mode also overrides the restored one once the connected car is identified.
To tell which applies here, please provide:
- your loadpoint and vehicle configuration (
evcc.yamlor the UI settings, secrets removed), in particular any defaultmodeand any vehicle mode /onIdentifysetting - which mode you set before the restart ("Off"/stop, or something else) and which mode is shown after it
- the log from startup after the restart (ideally with
log: debug, or at leastlp-1: debug)
🤖 Generated with Claude Code
Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.
I've now solved this by switching the vehicle to “Smart” mode without continuous charging. This setting stays the same even after a restart.
However, the downside is that whenever I plug in the vehicle, I always have to manually switch it to “Smart + Min PV.”
Is there another way to solve this?
I’d like it to default to “Min + PV” whenever I plug in the vehicle. But if I manually switch it to “PV” or “Off,” I want that setting to remain in effect as long as the car is plugged in—regardless of whether the VM restarts or not.