Configuration examples for EVCC

Configuration examples for the EVCC EV Charge Controller.
EVCC supports a growing list of chargers, meters and vehicles. See below for detailed configuration.
Additional devices can be configured using the generic
device type and related plugins.
Contributing
If you want to contribute configurations to this repository please open a Pull Request ("PR"). PRs should contain:
Chargers
Meters
Vehicles
- Audi (eTron etc)
- BMW (i3)
- Ford (Kuga, Mustang, etc)
- Generic
- Generic (Script)
- Generic EV without SoC (Javascript)
- Hyundai (Kona, Ioniq)
- Kia (e-Niro, e-Soul, etc)
- Nissan (Leaf)
- NIU E-Scooter
- Peugeot, Citroen, Opel
- Porsche
- Renault (Zoe)
- Tesla
- VW (e-Up, e-Golf, etc)
- VW ID (ID.3, ID.4, but also e-Golf, e-Up)
Details
Meters
Discovergy
- type: discovergy
user: demo@discovergy.com
password: demo
meter: 1ESY1161229886
E3DC (Battery Meter)
- type: custom
power:
source: modbus
uri: e3dc.fritz.box:502
id: 1
register:
address: 40069
type: holding
decode: int32s
scale: -1
soc:
source: modbus
uri: e3dc.fritz.box:502
id: 1
register:
address: 40082
type: holding
decode: uint16
E3DC (Grid Meter)
- type: custom
power:
source: modbus
uri: e3dc.fritz.box:502
id: 1
register:
address: 40073
type: holding
decode: int32s
E3DC (PV Meter)
- type: custom
power:
source: modbus
uri: e3dc.fritz.box:502
id: 1
register:
address: 40067
type: holding
decode: int32s
Eastron SDM Modbus Meter (RTU)
- type: modbus
model: sdm
device: /dev/ttyUSB0
baudrate: 9600
comset: 8N1
id: 1
energy: Sum
Eastron SDM Modbus Meter (RTU-over-TCP)
- type: modbus
model: sdm
uri: 192.0.2.2:502
rtu: true
id: 1
energy: Sum
Fronius Solar API V1 (Battery Meter/ HTTP)
- type: custom
power:
source: http
uri: http://192.0.2.2/solar_api/v1/GetPowerFlowRealtimeData.fcgi
jq: if .Body.Data.Site.P_Akku == null then 0 else .Body.Data.Site.P_Akku end
soc:
source: http
uri: http://192.0.2.2/solar_api/v1/GetPowerFlowRealtimeData.fcgi
jq: .Body.Data.Inverters."1".SOC
Fronius Solar API V1 (Grid Meter/ HTTP)
- type: custom
power:
source: http
uri: http://192.0.2.2/solar_api/v1/GetPowerFlowRealtimeData.fcgi
jq: if .Body.Data.Site.P_Grid == null then 0 else .Body.Data.Site.P_Grid end
Fronius Solar API V1 (PV Meter/ HTTP)
- type: custom
power:
source: http
uri: http://192.0.2.2/solar_api/v1/GetPowerFlowRealtimeData.fcgi
jq: if .Body.Data.Site.P_PV == null then 0 else .Body.Data.Site.P_PV end
Fronius Symo GEN24 Plus (Battery Meter)
- type: custom
power:
source: calc
add:
- source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
value: 160:3:DCW
scale: -1
- source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
value: 160:4:DCW
soc:
source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
value: ChargeState
Fronius Symo GEN24 Plus (Grid Meter)
- type: modbus
model: sunspec
uri: 192.0.2.2:502
id: 200
power: 213:W
Fronius Symo GEN24 Plus (PV Meter)
- type: custom
power:
source: calc
add:
- source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
value: 160:1:DCW
- source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
value: 160:2:DCW
Generic (MQTT)
- type: custom
power:
source: mqtt
topic: mbmd/sdm1-1/Power
timeout: 10s
Generic (Script)
- type: custom
power:
source: script
cmd: /bin/sh -c "echo 0"
timeout: 3s
Generic SunSpec 3-phase meter via inverter (Grid Meter)
- type: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
power: 203:W
Generic SunSpec battery inverter (Battery Meter)
- type: modbus
uri: 192.0.2.2:502
id: 1
soc: ChargeState
Generic SunSpec PV inverter (PV Meter)
- type: modbus
uri: 192.0.2.2:502
id: 1
Kostal Energy Meter via inverter (Grid Meter)
- type: custom
power:
source: modbus
uri: 192.0.2.2:1502
id: 71
register:
address: 252
type: holding
decode: float32s
Kostal Hybrid Inverter (Battery Meter)
- type: modbus
uri: 192.0.2.2:1502
id: 71
power: 802:W
soc: 802:SoC
Kostal Inverter (PV Meter)
- type: modbus
uri: 192.0.2.2:1502
id: 71
Kostal Smart Energy Meter (Grid Meter)
- type: modbus
uri: 192.0.2.2:502
id: 71
Multiple DC MPP strings combined (PV Meter)
- type: custom
power:
source: calc
add:
- source: modbus
model: sunspec
value: 160:1:DCW
uri: 192.0.2.2:502
id: 1
- source: modbus
model: sunspec
value: 160:2:DCW
uri: 192.0.2.2:502
id: 1
Multiple PV inverters combined (PV Meter)
- type: custom
power:
source: calc
add:
- source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
- source: modbus
model: sunspec
uri: 192.0.2.3:502
id: 1
SMA Sunny Home Manager / Energy Meter (Speedwire)
- type: sma
uri: 192.0.2.2
SMA Sunny Island / Sunny Boy Storage (Battery Meter)
- type: modbus
uri: 192.0.2.2:502
id: 126
soc: ChargeState
SMA SunnyBoy / TriPower / other PV-inverter (PV Meter)
- type: modbus
uri: 192.0.2.2:502
id: 126
SolarEdge (Grid Meter)
- type: custom
power:
source: modbus
uri: 192.0.2.2:502
id: 1
register:
address: 40206
type: holding
decode: int16
scale: -1
SolarEdge Hybrid Inverter (PV Meter)
- type: custom
power:
source: calc
add:
- source: modbus
model: sunspec
uri: 192.0.2.2:502
id: 1
value: 103:DCW
- source: modbus
uri: 192.0.2.2:502
id: 1
register:
address: 62836
type: holding
decode: float32s
SolarEdge StorEdge (Battery Meter)
- type: custom
power:
source: modbus
uri: 192.0.2.2:502
id: 1
register:
address: 62836
type: holding
decode: float32s
scale: -1
soc:
source: modbus
uri: 192.0.2.2:502
id: 1
register:
address: 62852
type: holding
decode: float32s
Solarlog (Grid Meter)
- type: custom
power:
source: modbus
uri: 192.0.2.2:502
id: 1
register:
address: 3518
type: input
decode: uint32s
Solarlog (PV Meter)
- type: custom
power:
source: modbus
uri: 192.0.2.2:502
id: 1
register:
address: 3502
type: input
decode: uint32s
Sonnenbatterie Eco/10 (Battery Meter/ HTTP)
- type: custom
power:
source: http
uri: http://192.0.2.2:8080/api/v1/status
jq: .Pac_total_W
soc:
source: http
uri: http://192.0.2.2:8080/api/v1/status
jq: .USOC
Sonnenbatterie Eco/10 (Grid Meter/ HTTP)
- type: custom
power:
source: http
uri: http://192.0.2.2:8080/api/v1/status
jq: .GridFeedIn_W
scale: -1
Sonnenbatterie Eco/10 (PV Meter/ HTTP)
- type: custom
power:
source: http
uri: http://192.0.2.2:8080/api/v1/status
jq: .Production_W
Tesla Powerwall (Battery Meter)
- type: tesla
uri: http://192.0.2.2/
usage: battery
Tesla Powerwall (Grid Meter)
- type: tesla
uri: http://192.0.2.2/
usage: grid
Tesla Powerwall (PV Meter)
- type: tesla
uri: http://192.0.2.2/
usage: pv
vzlogger (HTTP)
- type: custom
power:
source: http
uri: http://demo.volkszaehler.org/api/data/<uuid>.json?from=now
jq: .data.tuples[0][1]
vzlogger (Push Server/ Websocket)
- type: custom
power:
source: ws
uri: ws://192.0.2.2:8082/socket
jq: .data | select(.uuid=="<uuid>") .tuples[0][1]
timeout: 30s
scale: 1
vzlogger (split import/export channels)
- type: custom
power:
source: calc
add:
- source: http
uri: http://demo.volkszaehler.org/api/data/<import-uuid>.json?from=now
jq: .data.tuples[0][1]
- source: http
uri: http://demo.volkszaehler.org/api/data/<export-uuid>.json?from=now
jq: .data.tuples[0][1]
scale: -1
Chargers
EVSE DIN (Modbus RTU)
- type: simpleevse
device: /dev/ttyUSB0
EVSE DIN (Modbus/TCP)
- type: simpleevse
uri: 192.0.2.2:502
EVSE-Wifi
- type: evsewifi
uri: http://192.0.2.2
FritzDECT
- type: fritzdect
uri: https://fritz.box
user: xxxxxxxxxx
password: yyyyyyyyyy
ain: '007788992233'
standbypower: 15
Generic
- type: custom
status:
source: ...
enabled:
source: ...
enable:
source: ...
maxcurrent:
source: ...
Generic (MQTT)
- type: custom
status:
source: mqtt
topic: some/topic1
enabled:
source: mqtt
topic: some/topic2
enable:
source: script
cmd: /bin/sh -c "echo ${enable}"
maxcurrent:
source: script
cmd: /bin/sh -c "echo ${maxcurrent}"
go-eCharger
- type: go-e
uri: http://192.0.2.2
go-eCharger (Cloud)
- type: go-e
token: 4711c
cache: 10s
i-CHARGE CION (Modbus RTU-over-TCP)
- type: custom
status:
source: modbus
uri: 192.0.2.2:502
rtu: true
id: 1
register:
address: 139
type: holding
decode: uint16
enabled:
source: modbus
uri: 192.0.2.2:502
rtu: true
id: 1
register:
address: 100
type: holding
decode: uint16
enable:
source: modbus
uri: 192.0.2.2:502
rtu: true
id: 1
register:
address: 100
type: writesingle
decode: uint16
maxcurrent:
source: modbus
uri: 192.0.2.2:502
rtu: true
id: 1
register:
address: 127
type: writesingle
decode: uint16
KEBA Connect
- type: keba
uri: 192.0.2.2
rfid:
tag: 765765348
Mobile Charger Connect (Audi, Bentley, Porsche)
- type: mcc
uri: https://192.0.2.2
password:
NRGKick BT (Bluetooth)
- type: nrgkick-bluetooth
mac: 00:1E:C0:XX:XX:XX
pin: 1234
NRGKick Connect
- type: nrgkick-connect
uri: http://192.0.2.2
mac: 00:1E:C0:XX:XX:XX
password:
openWB (MQTT)
- type: openwb
broker: 192.0.2.2
id: 1
Phoenix EM-CP-PP-ETH Controller (Modbus/TCP)
- type: phoenix-em-eth
uri: 192.168.0.8:502
meter:
power: true
energy: true
currents: true
Phoenix EV-ETH Controller (Modbus/TCP)
- type: phoenix-ev-eth
uri: 192.168.0.8:502
meter:
power: true
energy: true
currents: true
Phoenix EV-SER Controller (Modbus RTU)
- type: phoenix-ev-ser
device: /dev/ttyUSB0
baudrate: 9600
comset: 8N1
id: 1
Shelly
- type: shelly
uri: http://192.168.xxx.xxx
channel: 0
standbypower: 15
Tasmota
- type: tasmota
uri: http://192.168.xxx.xxx
standbypower: 15
TinkerForge WARP Charger
- type: warp
broker: 192.0.2.2:1883
topic: warp
useMeter: true
timeout: 30s
TP-LINK Smart Plug
- type: tplink
uri: 192.0.2.2
standbypower: 15
Wallbe (Eco, Pro)
- type: wallbe
uri: 192.168.0.8:502
Wallbe (pre 2019 EV-CC-AC1 controller)
- type: wallbe
uri: 192.168.0.8:502
legacy: true
Vehicles
Audi (eTron etc)
- type: audi
title: eTron
capacity: 14
user:
password:
vin: WAUZZZ...
BMW (i3)
- type: bmw
title: i3
capacity: 65
user:
password:
vin: WBMW...
Ford (Kuga, Mustang, etc)
- type: ford
title: Kuga
capacity: 10
user:
password:
vin: WF0FXX...
Generic
- type: custom
title: Mein Auto
capacity: 50
charge:
source: ...
Generic (Script)
- type: custom
title: Auto
capacity: 50
charge:
source: script
cmd: /bin/sh -c "echo 50"
timeout: 3s
cache: 5m
Generic EV without SoC (Javascript)
- type: custom
title: My electric vehicle
capacity: 10
charge:
source: js
script: 95 // vehicle SoC in %
Hyundai (Kona, Ioniq)
- type: hyundai
title: Kona
capacity: 64
user:
password:
Kia (e-Niro, e-Soul, etc)
- type: kia
title: e-Niro
capacity: 64
user:
password:
Nissan (Leaf)
- type: nissan
title: Leaf
capacity: 60
user:
password:
NIU E-Scooter
- type: niu
title: NIU E-Scooter
capacity: 4
user: xxxxxxx
password: xxxxxx
serial: NXXXXXXXXXXXXXXX
Porsche
- type: porsche
title: Taycan
capacity: 83
user:
password:
vin: WP...
Renault (Zoe)
- type: renault
title: Zoe
capacity: 60
user:
password:
vin: WREN...
PSA (Peugeot)
- type: peugeot
title: e-208
capacity: 50
user: xxx@mail.de
password:
clientid:
clientsecret:
The clientid and clientsecret needs to be extracted once by using the Peugeot apk: https://github.com/flobz/psa_car_controller
Tesla
- type: tesla
title: Model S
capacity: 90
user:
password:
vin: WTSLA...
VW (e-Up, e-Golf, etc)
- type: vw
title: Golf
capacity: 10
user:
password:
vin: WVWZZZ...
VW ID (ID.3, ID.4, but also e-Golf, e-Up)
- type: id
title: ID.3
capacity: 50
user:
password:
vin: WVWZZZ...