no supporter feture fork of evcc.io
Find a file
2023-08-31 21:10:27 +02:00
.github Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
api Fix panic when charge status is empty string 2023-08-24 21:47:46 +02:00
assets chore: optimize bundle size (#9464) 2023-08-20 20:02:44 +02:00
charger Fix usage of maximum backoff intervall (#9652) 2023-08-31 18:39:19 +02:00
cmd Mqtt: fix panic 2023-08-18 08:37:14 +02:00
core Quickly recover from logic error by expiring pv timer (#9624) 2023-08-30 20:32:08 +02:00
detect chore: use gridx consts 2023-06-11 11:29:52 +02:00
docker/bin Update entrypoint.sh (#6306) 2023-02-18 21:30:26 +01:00
docs chore: add some docs 2022-11-05 17:35:25 +01:00
hems Add smartCostLimit to site (#6732) 2023-03-19 17:45:34 +01:00
i18n Translations update from Hosted Weblate (#9518) 2023-08-27 13:15:14 +02:00
meter Fix usage of maximum backoff intervall (#9652) 2023-08-31 18:39:19 +02:00
mock Add dedicated co2 tariff (#8089) 2023-05-31 09:19:36 +02:00
packaging chore: prevent toml double quotes 2023-06-09 17:45:25 +02:00
patch Add support for Elli chargers (#4207) 2022-09-30 10:52:17 +02:00
provider Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
push Simplify template handling and trim trailing spaces (#7144) 2023-04-01 10:32:49 +02:00
server Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
tariff Add carbonintensity.org.uk (National Grid ESO) CO2 forecasting (#9387) 2023-08-31 21:10:27 +02:00
templates Senec: make HTTPS default and remove orphan docs (#9612) 2023-08-30 15:04:30 +02:00
tests config: fix icon select test 2023-08-17 22:12:55 +02:00
util Docs: localize documentation templates (#9508) 2023-08-28 12:03:27 +02:00
vehicle Porsche: disable forced token refresh (#9554) 2023-08-27 21:37:43 +02:00
.dockerignore chore: ignore zipped images 2022-10-17 20:11:28 +02:00
.editorconfig Revert undesired markdown changes 2021-02-24 11:53:00 +01:00
.eslintrc.js Replace storybook with histoire (#5154) 2022-11-14 17:24:32 +01:00
.gitignore Docs: localize documentation templates (#9508) 2023-08-28 12:03:27 +02:00
.golangci.yml Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
.goreleaser-nightly.yml chore: trim local build information (#9246) 2023-08-04 17:13:23 +02:00
.goreleaser.yml chore: trim local build information (#9246) 2023-08-04 17:13:23 +02:00
.prettierrc.js chore: upgrade npm dependencies (#8882) 2023-07-09 19:49:09 +02:00
Dockerfile chore: fix potential copy issue 2023-08-22 21:28:19 +02:00
evcc.dist.yaml Add carbonintensity.org.uk (National Grid ESO) CO2 forecasting (#9387) 2023-08-31 21:10:27 +02:00
go.mod Add struct validation 2023-08-20 10:28:07 +02:00
go.sum Add Schneider EVlink (#9436) 2023-08-19 13:07:47 +02:00
histoire.config.js Add option to show current price and co2 info (#6048) 2023-02-06 21:57:00 +01:00
icon.png Implement basic hardware detection (#435) 2020-11-21 17:13:59 +01:00
jest.config.js Visualisation of Site Energy Flow (#1148) 2021-08-04 14:53:51 +02:00
LICENSE Update license 2021-01-25 17:27:08 +01:00
main.go chore: add fallback certificates in case os doesn't have any 2023-08-19 11:40:44 +02:00
Makefile Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
package-lock.json chore: optimize bundle size (#9464) 2023-08-20 20:02:44 +02:00
package.json chore: optimize bundle size (#9464) 2023-08-20 20:02:44 +02:00
playwright.config.js Sessions: filter, monthly sums, paging (#8278) 2023-06-14 08:57:09 +02:00
README.md Require Go 1.21 (#9244) 2023-08-17 21:41:44 +02:00
schema.json Add battery settings UI (#7802) 2023-05-08 18:11:31 +02:00
tools.go chore: upgrade unmaintained alvaroles/enumer (#4092) 2022-08-10 17:30:36 +02:00
vite.config.js chore: upgrade npm dependencies (#8664) 2023-06-29 11:25:12 +02:00
vitest.config.js Add Target Charge Plan Visualisation (#5860) 2023-01-29 21:53:37 +01:00

evcc 🚘☀️

Build Status Code Quality Translation Open in Visual Studio Code OSS hosting by cloudsmith Latest Version

evcc is an extensible EV Charge Controller with PV integration implemented in Go. Featured in PV magazine.

Screenshot

Features

  • simple and clean user interface
  • wide range of supported chargers:
    • ABL eMH1, Alfen (Eve), Bender (CC612/613), cFos (PowerBrain), Daheimladen, Ebee (Wallbox), Ensto (Chago Wallbox), EVSEWifi/ smartWB, Garo (GLB, GLB+, LS4), go-eCharger, HardyBarth (eCB1, cPH1, cPH2), Heidelberg (Energy Control), Innogy (eBox), Juice (Charger Me), KEBA/BMW, Menneckes (Amedio, Amtron Premium/Xtra, Amtron ChargeConrol), NRGkick, openWB (includes Pro), Optec (Mobility One), PC Electric (includes Garo), Siemens, TechniSat (Technivolt), Tinkerforge Warp Charger, Ubitricity (Heinz), Vestel, Wallbe, Webasto (Live), Mobile Charger Connect and many more
    • experimental EEBus support (Elli, PMCC)
    • experimental OCPP support
    • Build-your-own: Phoenix Contact (includes ESL Walli), EVSE DIN
    • Smart-Home outlets: FritzDECT, Shelly, Tasmota, TP-Link
  • wide range of supported meters for grid, pv, battery and charger:
    • ModBus: Eastron SDM, MPM3PM, ORNO WE, SBC ALE3 and many more, see https://github.com/volkszaehler/mbmd#supported-devices for a complete list
    • Integrated systems: SMA Sunny Home Manager and Energy Meter, KOSTAL Smart Energy Meter (KSEM, EMxx)
    • Sunspec-compatible inverter or home battery devices: Fronius, SMA, SolarEdge, KOSTAL, STECA, E3DC, ...
    • and various others: Discovergy, Tesla PowerWall, LG ESS HOME, OpenEMS (FENECON)
  • vehicle integration (state of charge, remote charge, battery and preconditioning status):
    • Audi, BMW, Citroën, Dacia, Fiat, Ford, Hyundai, Jaguar, Kia, Landrover, Mercedes, Mini, Nissan, Opel, Peugeot, Porsche, Renault, Seat, Smart, Skoda, Tesla, Volkswagen, Volvo, ...
    • Services: OVMS, Tronity
    • Scooters: Niu, Silence
  • plugins for integrating with any charger/ meter/ vehicle:
    • Modbus, HTTP, MQTT, Javascript, WebSockets and shell scripts
  • status notifications using Telegram, PushOver and many more
  • logging using InfluxDB and Grafana
  • granular charge power control down to mA steps with supported chargers (labeled by e.g. smartWB as OLC)
  • REST and MQTT APIs for integration with home automation systems
  • Add-ons for HomeAssistant and OpenHAB (not maintained by the evcc core team)

Getting Started

You'll find everything you need in our documentation (German).

Contribute

To build evcc from source, Go 1.21 and Node 18 are required.

Build and run go backend. The UI becomes available at http://127.0.0.1:7070/

make install-ui
make ui
make install
make
./evcc

UI development

For frontend development start the Vue toolchain in dev-mode. Open http://127.0.0.1:7071/ to get to the livelreloading development server. It pulls its data from port 7070 (see above).

npm install
npm run start

Integration tests

We use Playwright for end-to-end integration tests. They start a local evcc instance with different configuration yamls and prefilled databases. To run them, you have to do a local build first.

make ui build
npm run playwright

Simulating device state

Since we dont want to run tests agains real devices or cloud services we've build a simple simulator that lets you emulated meters, vehicles and loadpoints. The simulators web interface runs on http://localhost:7072.

npm run simulator

Run an evcc instance that uses simulator data. This configuration runs with a very high refresh interval to seed up testing.

make ui build
./evcc --config tests/simulator.evcc.yaml

Code formatting

We use linters (golangci-lint, Prettier) to keep a coherent source code formatting. It's recommended to use the format-on-save feature of your editor. For VSCode use the Go, Prettier and Veture extension. You can manually reformat your code by running:

make lint
make lint-ui

Changing templates

evcc supports a massive amount of different devices. To keep our documentation and website in sync with the latest software the core project (this repo) generates meta-data that's pushed to the docs and evcc.io repository. Make sure to update this meta-data every time you make changes to a templates.

make docs

If you miss one of the above steps Gitub Actions will likely trigger a Porcelain error.

Adding or modifying translations

evcc already includes many translations for the UI. Weblate Hosted is used to maintain all languages. Feel free to add more languages or verify and edit existing translations. Weblate will automatically push all modifications on a regular base to the evcc repository.

Weblate Hosted Languages

https://hosted.weblate.org/projects/evcc/evcc/

Sponsorship

evcc believes in open source software. We're committed to provide best in class EV charging experience. Maintaining evcc consumes time and effort. With the vast amount of different devices to support, we depend on community and vendor support to keep evcc alive.

While evcc is open source, we would also like to encourage vendors to provide open source hardware devices, public documentation and support open source projects like ours that provide additional value to otherwise closed hardware. Where this is not the case, evcc requires "sponsor token" to finance ongoing development and support of evcc.

The personal sponsor token requires a Github Sponsorship and can be requested at sponsor.evcc.io.