Skip to content
EN | DE

White Label

You can ship your evcc instance under your own brand: with your logo, your contact details and your colour scheme. This page is aimed at installers and vendors who deliver preconfigured devices or hosted installations to their customers.

Beyond logo and name you can also adjust colours and fonts to match your brand. EVCC_CUSTOM_CSS points to a CSS file that is loaded in addition to the standard styles. The UI makes heavy use of CSS custom properties for colours and fonts. Most visual adjustments work by overriding these properties instead of styling individual elements. The available properties are defined in app.css.

This example changes the primary colour and loads a different font from Google Fonts:

custom.css
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap");
:root {
--evcc-dark-green: #22d3ee;
--evcc-darker-green: #0891b2;
--bs-body-font-family: "Space Grotesk", sans-serif;
}

With this file loaded, the interface looks like this:

Adjusted primary colour and font
Adjusted primary colour and font

A few things to keep in mind:

  • There are no compatibility guarantees. Properties and markup may change with any release, so check your styles after each update.
  • Test your styles in light and dark mode.
  • Check for sufficient contrast, e.g. text on your primary colour.
VariableEffect
EVCC_CUSTOM_BRANDBrand name in the navigation menu
EVCC_CUSTOM_LOGO_LIGHTLogo for light mode
EVCC_CUSTOM_LOGO_DARKLogo for dark mode
EVCC_CUSTOM_WEBSITEWebsite link in the Version dialog
EVCC_CUSTOM_EMAILSupport email address
EVCC_CUSTOM_PHONESupport phone number

EVCC_CUSTOM_BRAND sets your brand name. It replaces the evcc entry in the navigation menu.

Navigation menu with custom brand name
Navigation menu with custom brand name

EVCC_CUSTOM_LOGO_LIGHT and EVCC_CUSTOM_LOGO_DARK replace the evcc logo with your own (svg or png). The two variants must always be configured together. Use svg if possible, it stays sharp at any size. The logo is displayed at 64 px height with the width scaling accordingly, so a landscape format works best. Clicking the brand name in the menu opens the Version dialog with your logo. EVCC_CUSTOM_WEBSITE, EVCC_CUSTOM_EMAIL and EVCC_CUSTOM_PHONE add your website, support email address and phone number to this dialog.

Version dialog with custom logo and contact details
Version dialog with custom logo and contact details

Under Need Help? → Report a problem users can report bugs and ask for help. By default this opens a prefilled GitHub discussion or GitHub issue. With EVCC_CUSTOM_EMAIL configured, the page switches to an email flow instead: users describe their problem and send it to your support address via their email client (mailto:).

Problem report via email
Problem report via email

For technical reasons the email doesn’t include debug details (configuration, logs, state). If you need them, ask your users to download the debug file on the same page and attach it to their email.

The help dialog also shows a Contact us email button instead of the GitHub discussions link.

Each setting is an environment variable. The same settings are also available as CLI flags, e.g. --custom-brand for EVCC_CUSTOM_BRAND.

You can set them directly on the command line, in a systemd override file or in your Docker compose file:

Terminal window
EVCC_CUSTOM_BRAND="G1GA HEMS" \
EVCC_CUSTOM_LOGO_LIGHT=logo-light.svg \
EVCC_CUSTOM_LOGO_DARK=logo-dark.svg \
EVCC_CUSTOM_WEBSITE=https://example.com/hems \
EVCC_CUSTOM_EMAIL=support@example.com \
EVCC_CUSTOM_PHONE="+49 123 456789" \
EVCC_CUSTOM_CSS=custom.css \
evcc

All other configuration can also be provided via environment variables: EVCC_ followed by the evcc.yaml parameter name in uppercase, e.g. EVCC_NETWORK_HOST or EVCC_DATABASE_DSN.

To ship a complete SD card image with your branding, fork the evcc-io/images repository. The userpatches/customize-image.sh script configures evcc during the image build. In its EVCC SETUP section it writes the systemd override file, so this is where your Environment="EVCC_CUSTOM_..." lines go.

Shipping or selling the official binary or Docker image to your customers is perfectly fine. Make sure you follow the sponsorship conditions and the license. Instances that use sponsorship-required integrations each need their own sponsor token.