📡 Setup evcc — Solar-Aware EV Charging Control
Deploy evcc on Ubuntu with Docker — an open-source EV charging controller that optimizes charging around your solar production and electricity prices, on port 7070. Starts in demo mode.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/evcc/evcc-ubuntu.sh
chmod +x evcc-ubuntu.sh
sudo bash evcc-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/evcc/evcc-ubuntu.sh
2 Make it Executable
chmod +x evcc-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts evcc on port 7070 with the --demo flag, so it runs with simulated data and you can explore the interface. Its data lives in a mounted volume. For real use you provide an evcc.yaml.
sudo bash evcc-ubuntu.sh
4 Open the Web UI (Demo) and Plan Your Config
Open evcc to explore the demo dashboard, then replace the --demo flag with an evcc.yaml configuration describing your wallbox, PV system, and vehicle to control real charging:
http://<your-server-ip>:7070
Ports Used
| Port | Purpose |
|---|---|
| 7070 | Web UI (host = container) |
| --demo | Starts in demo mode with simulated data |
| evcc.yaml | Replace the demo flag with your own config for real hardware |