forked from evcc-io/evcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
evcc.dist.yaml
231 lines (223 loc) · 6.01 KB
/
evcc.dist.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
uri: 0.0.0.0:7070 # uri for ui
interval: 10s # control cycle interval
# mqtt message broker
mqtt:
broker: localhost:1883
# user:
# password:
# influx database (v1)
influx:
url: http://localhost:8086
database: evcc
# user:
# password:
# additional menu entries
menu:
# - title: "Verlauf"
# subtitle: "Bezugs- und Einspeiseleistung"
# img: "http://..."
# link: "http://..."
# iframe: "http://..."
# push messages
messaging:
events:
start: # charge start event
title: Charge started
msg: ${loadpoint} started charging in "${mode}" mode
stop: # charge stop event
title: Charge finished
msg: ${loadpoint} finished charging. Charged ${energy:%.1f}kWh in ${duration}.
services:
- type: pushover
app: # app id
recipients:
- # list of recipient ids
- type: telegram
token: # bot id
chats:
- # list of chat ids
# meters
meters:
- name: grid
type: default
power: # power reading
type: mqtt # use mqtt
topic: mbmd/sdm1-1/Power # mqtt topic
timeout: 10s # don't use older values
- name: pv
type: default
power:
type: mqtt
topic: mbmd/sdm1-2/Power
timeout: 10s # don't use older values
- name: battery
type: default
power:
type: mqtt
topic: mbmd/sma1-1/Power
timeout: 10s # don't use older values
- name: charge
type: default
power:
type: script # use script
cmd: /bin/sh -c "echo 0" # actual command
timeout: 3s # kill script after 3 seconds
- name: sma
type: sma # SMA Home Manager 2.0 or SMA Energy Meter 30
serial: 1234567890 # Serial number of the device, if this is defined uri is not needed!
uri: 192.168.1.4 # IP address of the device, if this is defined serial is not needed!
- name: sdm
type: modbus
model: sdm
uri: rs485.fritz.box:23
rtu: true # rs485 device connected using ethernet adapter
id: 2
power: Power # default values, optionally override
energy: Sum # default values, optionally override
- name: e3dc-battery
type: default
power:
type: modbus
uri: e3dc.fritz.box:502
id: 1
register: # manual register configuration
address: 40070
type: holding
decode: int32
scale: -1 # reverse direction
chargers:
- name: wallbe
type: wallbe # Wallbe charger
uri: 192.168.0.8:502 # ModBus address
# legacy: true # enable for older Wallbes with Phoenix EV-CC-AC1-M3-CBC-RCM controller
- name: phoenix
type: phoenix-emcp # Charger with Phoenix Contact controller
uri: 192.168.0.8:502 # ModBus address
id: 1
- name: simpleevse-tcp
type: simpleevse # Charger with Phoenix Contact controller
uri: 192.168.0.8:502 # TCP ModBus address
- name: simpleevse-rtu
type: simpleevse # Charger with Phoenix Contact controller
device: /dev/usb1 # RS485 ModBus device
- name: evsewifi
type: evsewifi # Charger with Phoenix Contact controller
uri: http://192.168.1.4 # SimpleEVSE-Wifi address
- name: nrg-1
type: nrgkick-connect # NRGKick Connect charger
ip: 192.168.1.4 # IP
macaddress: 00:99:22 # MAC address
password: # password
# - name: nrg-2
# type: nrgkick-bluetooth # NRGKick charger with Bluetooth
# macaddress: 00:99:22 # MAC address
# pin: # pin
- name: go-e
type: go-e # go-eCharger
uri: http://192.168.1.4 # either go-e local address
token: 4711c # or go-e cloud API token
cache: 10s # go-e cloud API cache duration
- name: keba
type: keba # KEBA charger
uri: 192.168.1.4:7090 # KEBA address
rfid:
tag: 765765348 # RFID tag, see `evcc charger` to show tag
- name: mcc
type: mcc # Mobile Charger Connect (Audi, Bentley, Porsche)
uri: https://192.168.1.4 # Mobile Charger Connect address
password: # home user password
- name: configurable
type: default # Configurable charger
status: # charger status A..F
type: mqtt
topic: some/topic1
enabled: # charger enabled state (true/false or 0/1)
type: mqtt
topic: some/topic2
enable: # set charger enabled state
type: script
cmd: /bin/sh -c "echo ${enable}"
maxcurrent: # set charger max current
type: script
cmd: /bin/sh -c "echo ${maxcurrent}"
vehicles:
- name: default
type: default
title: Default
capacity: 50 # kWh
charge:
type: script # use script
cmd: /bin/sh -c "echo 50" # actual command
timeout: 3s # kill script after 3 seconds
cache: 5m
- name: audi
type: audi
title: Q55 TFSIe
capacity: 10 # kWh
user: # user
password: # password
vin: WAUZZZ...
cache: 5m
- name: bmw
type: bmw
title: i3
capacity: 65 # kWh
user: # user
password: # password
vin: WBMW...
cache: 5m
# - name: tesla
# type: tesla
# title: Model S
# capacity: 90 # kWh
# clientid: # client id
# clientsecret: # client secret
# email: # email
# password: # password
# vin: WTSLA...
# cache: 5m
# - name: nissan
# type: nissan
# title: Leaf
# capacity: 60 # kWh
# user: # user
# password: # password
# region: NE # carwings region, leave empty for Europe
# cache: 5m
# - name: renault
# type: renault
# title: Zoe
# capacity: 60 # kWh
# user: # user
# password: # password
# region: de_DE # gigya region
# vin: WREN...
# cache: 5m
# - name: porsche
# type: porsche
# title: Taycan
# capacity: 83 # kWh
# user: # user
# password: # password
# vin: WP...
# cache: 5m
loadpoints:
- name: main # name for logging
vehicle: audi
charger: wallbe # charger
meters:
grid: grid # grid meter
pv: pv # pv meter
battery: battery # battery meter
charge: charge # charge meter
enable: # pv mode enable behavior
delay: 1m # threshold must be exceeded for this long
threshold: 0 # minimum export power (W). If zero, export must exceeds minimum charge power to enable
disable: # pv mode disable behavior
delay: 5m # threshold must be exceeded for this long
threshold: 200 # maximum import power (W)
guardduration: 10m # switch charger contactor not more often than this (default 10m)
mincurrent: 6 # minimum charge current (default 6A)
maxcurrent: 16 # maximum charge current (default 16A)
phases: 3 # ev phases (default 3)
sensitivity: 1 # current raise/lower step size (default 10A)