Skip to content
EN | DE

Smart switches

evcc supports smart sockets and controllable switches. They work similarly to chargers but without power control — evcc only switches the socket on or off. If enough surplus or cheap energy is available, the socket is switched automatically.

Setup

Recommended: Set up your smart switches via the web interface under Configuration → Charging & Heating.

Alternative: You can also set up your switches via the configuration file.

Modes

Depending on the application there are two modes, implicitly chosen via the standbypower parameter.

Charging mode (default)

Suitable for sockets that control battery-powered vehicles (e-motorcycles, e-bikes, tool batteries …). The measured power at the switch is treated as charging power. If it falls below standbypower (default 15 W), evcc treats the device as charged. This mode is active whenever standbypower is not negative.

chargers:
- name: e_bike_outlet
type: template
template: tasmota
host: 192.0.2.1
standbypower: 50

Static mode

Suitable for general consumers such as heat pumps, air conditioners or heaters. Activated by a negative standbypower value.

chargers:
- name: my_sg_ready
type: template
template: shelly
host: 192.0.2.2
standbypower: -5000

Supported devices