selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

evcc logo

Self-host evcc

0.319.0

PV surplus EV charging controller with home energy smarts

ReleaseOpen CoreMIT
sudo docker run -d --name evcc -p 7070:7070 -p 8887:8887 -v /home/user/.evcc:/root/.evcc -v /home/user/evcc.yaml:/etc/evcc.yaml --restart unless-stopped evcc/evcc:latest
Updated4 days ago
LanguageGo
Setup difficultyEasy
MobileResponsive
ThemeDark mode
Stars
7 609
Ports
7070 (Web UI and API), 8887 (OCPP server), 9522 (SMA Sunny Home Manager (udp)), 7090 (KEBA chargers (udp)), 4712 (EEBUS)
Docker
evcc/evcc
Main view with the house energy flowCharging plan with departure time and targetHome battery viewSolar forecast viewList of charging sessionsSavings overview

What is evcc?

evcc alternatives

Should you self-host evcc?

evcc scores 75/100 on selfhost.directory (how scoring works) and ranks #6 of 104 in Home Automation. It has 7 609 GitHub stars, +271 in the last 30 days.

It shipped 43 stable releases in the past year. The latest, 0.319.0, came out on 8 November 2026. New versions land roughly every 4 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Home Assistant (92/100, 92 279 stars). It scores higher overall, so compare the two before you pick. See evcc vs Home Assistant side by side.

Features

  • Charging plans and forecasts
  • Dynamic electricity tariffs
  • Extensible device plugins
  • Grid operator curtailment (§14a / §9)
  • Heat pump and heater control
  • Home battery coordination
  • Load management
  • MQTT API
  • Remote AccessSponsor token required.
  • REST API
  • Solar surplus charging
  • Status notifications

evcc README

evcc 🚘☀️

Build Statuspage Translation Docker Pulls OSS hosting by cloudsmith Latest Version
Built with Depot

evcc is an extensible EV Charge Controller and home energy management system.

Screenshot

How to install evcc

Install evcc with Docker

sudo docker run -d --name evcc \
-p 7070:7070 \
-p 8887:8887 \
-v /home/user/.evcc:/root/.evcc \
-v /home/user/evcc.yaml:/etc/evcc.yaml \
--restart unless-stopped \
evcc/evcc:latest

How to configure evcc

  • sponsortokenevcc.yaml section for the sponsor token required by some devices/features.
  • telemetryevcc.yaml section for telemetry / statistical data sharing.
  • titlesite section: display name of the installation shown in the UI.
  • meterssite section: assigns configured meters to grid, pv, battery, aux, consumer and ext roles; at least one grid or pv entry is required.
  • curtailerssite section: curtailment devices that limit grid export on grid-operator request (§ 9 EEG).

evcc releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How can I backup and restore my configuration?

The web interface offers a backup function; manually, copying evcc.yaml (usually /etc/evcc.yaml) and the database file (usually /var/lib/evcc/evcc.db) is enough.

Does evcc control charging and discharging of my home battery?

Normally the battery system decides; evcc uses its readings for control and can request specific modes on systems that support active battery control, but it does not continuously regulate battery power.

Can I use multiple chargers?

Multiple chargers can be added and controlled at the same time, but load management across them was stated as not supported yet and in development.

Can I use evcc without integrating the solar inverter?

Yes - with a grid meter and a controllable charger all essential functions, including solar surplus charging, work; you only lose some visualisations and the solar-share statistics.

Can I try out evcc without all the components (solar system, charger, …)?

Yes, evcc ships demo meters and demo chargers you can configure to explore the UI and behaviour.

I don't have solar panels, can I still use evcc effectively?

Yes, for example to charge according to a dynamic electricity tariff, to start/stop a charger remotely, or to cap the charge level - but those use cases all require a grid connection meter.

Can I use evcc without a grid meter?

The grid meter is described as the core of evcc; without it you can only charge based on current solar production, not true surplus, and residualPower can be used to reserve power for the house.

Should I configure evcc via the web interface or with the configuration file?

The web interface is recommended: settings are saved automatically in the database. The traditional evcc.yaml file is still supported and both can be used side by side, though some newer features are UI-only.

More in Home Automation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…