evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Setting to install stable updates automatically

Open ghaeprv opened this issue 4 weeks ago • 3 comments

Is your feature request related to a problem? Please describe. evcc ships stable releases often, and each one has to be installed by hand. On installs where the About dialog shows "Update now", I still have to open the UI, notice the new version and click. On others I have to log in to the host. A box that runs unattended (in my case a Raspberry Pi with the APT package) falls behind for weeks, including on fixes for my own devices.

Describe the solution you'd like An opt-in setting under Configuration, for installs that already have the built-in updater:

  • Automatic updates: off (default) / stable releases only
  • Update time: a time of day, e.g. 03:00
  • Skip while charging: do not update while a loadpoint is charging or a plan is active; try again at the next update time

Notifications through the configured messaging:

  • When a new version is available: "evcc 0.xxx.0 is available. It will be installed automatically at 03:00." with a link to the release notes. This gives me time to read the notes and turn the setting off if needed.
  • After the installation: "evcc was updated to 0.xxx.0." (or the reason it was skipped or failed).

🤖 Generated with Claude Code

ghaeprv avatar Nov 07 '26 16:11 ghaeprv

Feature request for an opt-in auto-update. The existing updater lives in server/updater/ (run.go, watch.go, github.go, gokrazy.go), and core/site.go references it. A setting under Configuration, a scheduled time and a charging check would build on that, but it needs a design decision first: the APT package installs are not covered by the built-in updater, and unattended updates carry risk (rollback, timing, messaging). No similar issue was found in the last 3 months.

🤖 Generated with Claude Code

github-actions[bot] avatar Nov 07 '26 16:11 github-actions[bot]

I don't think we want self-updating. It's a security and BC risk.

andig avatar Nov 07 '26 16:11 andig

Maybe just an update via button manually would be good instead of apt update (it's not very difficult but more end user friendly)

maduuto avatar Nov 07 '26 20:11 maduuto