-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathservices.yml
336 lines (325 loc) · 8.48 KB
/
services.yml
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
# When defining services do not include Connected, Mgmt/ProcessName, Mgmt/ProcessVersion, Mgmt/Connection, DeviceInstance, DeviceName,
# ProductName or FirmwareVersion these are all handled automatically by the driver
# For product id see https://gist.github.com/seidler2547/52f3e91cbcbf2fa257ae79371bb78588
# https://github.com/victronenergy/venus/wiki/dbus#temperatures
temperature:
ProductId:
default: 41314 # Generic Temperature Input
CustomName:
default: "My Temperature Sensor"
persist: true
TemperatureType:
description: "Battery, Fridge or Generic"
persist: true
default: 2
min: 0
max: 2
Status:
description: "0=Ok; 1=Disconnected; 2=Short circuited; 3=Reverse polarity; 4=Unknown"
default: 0
min: 0
max: 4
Temperature:
description: "C"
Pressure:
description: "hPa"
Humidity:
description: "%"
# https://github.com/victronenergy/venus/wiki/dbus#tank-levels
tank:
ProductId:
default: 41313 # Generic Tank Input
CustomName:
default: "My Tank Sensor"
persist: true
Status:
description: "0=Ok; 1=Disconnected; 2=Short circuited; 3=Unknown"
default: 0
min: 0
max: 3
FluidType:
description: |
0=Fuel; 1=Fresh water; 2=Waste water; 3=Live well; 4=Oil; 5=Black water (sewage)
6=Gasoline; 7=Diesel; 8=Liquid Petroleum Gas (LPG); 9=Liquid Natural Gas (LNG)
10=Hydraulic oil; 11=Raw water
persist: true
default: 1
min: 0
max: 11
Capacity:
description: "m3"
persist: true
default: 0.1
#min: 0
#max: 9999
Level:
description: "0 to 100%"
Remaining:
description: "m3"
# https://github.com/victronenergy/venus/wiki/dbus#pv-inverters
pvinverter:
ProductId:
default: 45069 # 0xB00D, 0xB00D, 45069 = ET340, 45068 = ET112, ESS Demo mode uses 45058
CustomName:
default: "My PV Inverter"
persist: true
ErrorCode: # https://www.victronenergy.com/live/mppt-error-codes
description: "0=No Error"
default: 0 # not showing in in console???
Position:
description: "0=AC input 1; 1=AC output; 2=AC input 2"
persist: true
default: 0
min: 0
max: 2
StatusCode: # not used by ESS demo mode pvinverter
description: "0=Startup 0; 1=Startup 1; 2=Startup 2; 3=Startup 3; 4=Startup 4; 5=Startup 5; 6=Startup 6; 7=Running; 8=Standby; 9=Boot loading; 10=Error"
default: 7
min: 0
max: 10
AllowedRoles:
default: ["grid", "pvinverter", "genset", "acload"]
Role:
description: "grid, pvinverter, genset, acload"
persist: true
default: "pvinverter"
# PhaseConfig:
# description: "0=3P.n; 1=3P.l; 2=2P; 3=1P; 4=3P"
# persist: true
# default: 0
# min: 0
# max: 4
# DeviceType:
# description: "???"
# persist: true
# default: 71 # valued used by pvinverter in ESS demo mode
# Serial:
# description: "device serial number"
# persist: true
# default: ""
Ac/MaxPower: # Max rated power (in Watts) of the inverter
description: "W"
persist: true
default: 0
format: "{} W"
Ac/Energy/Forward: # Total produced energy over all phases
description: "kWh"
format: "{} kWh"
Ac/Current:
format: "{} A"
description: "A"
Ac/Power: # Total power of all phases, preferably real power
format: "{} W"
description: "W"
Ac/L1/Voltage:
description: "V AC"
format: "{} V"
Ac/L1/Current:
description: "A AC"
format: "{} A"
Ac/L1/Power:
description: "W"
format: "{} W"
Ac/L1/Energy/Forward:
description: "kWh"
format: "{} kWh"
Ac/L2/Voltage:
format: "{} V"
description: "V AC"
Ac/L2/Current:
format: "{} A"
description: "A"
Ac/L2/Power:
description: "W"
format: "{} W"
Ac/L2/Energy/Forward:
description: "kWh"
format: "{} kWh"
Ac/L3/Voltage:
format: "{} V"
description: "V AC"
Ac/L3/Current:
format: "{} A"
description: "A AC"
Ac/L3/Power:
format: "{} W"
description: "W"
Ac/L3/Energy/Forward:
format: "{} kWh"
description: "kWh"
# https://github.com/victronenergy/venus/wiki/dbus#grid-and-genset-meter
grid:
ProductId:
default: 65535 # 0xFFFF
CustomName:
default: "My Grid Meter"
persist: true
ErrorCode: # https://www.victronenergy.com/live/mppt-error-codes
description: "0=No Error"
default: 0
DeviceType: # ?
description: ""
persist: true
default: 0
min: 0
max: 2
# AllowedRoles:
# default: '["grid", "pvinverter", "genset", "acload"]'
# Role:
# description: "grid, pvinverter, genset, acload"
# persist: true
# default: "grid"
# PhaseConfig:
# description: "0=3P.n; 1=3P.l; 2=2P; 3=1P; 4=3P"
# persist: true
# default: 0
# min: 0
# max: 4
Ac/Energy/Forward: # Total bought energy over all phases
description: "kWh"
format: "{} kWh"
Ac/Energy/Reverse: # Total sold energy over all phases
description: "kWh"
format: "{} kWh"
Ac/Power: # Total power of all phases, preferably real power
description: "W"
format: "{} W"
Ac/Current:
description: "A AC"
format: "{} A"
Ac/L1/Current:
description: "A AC"
format: "{} A"
Ac/L1/Energy/Forward:
description: "kWh"
format: "{} kWh"
Ac/L1/Energy/Reverse:
description: "kWh"
format: "{} kWh"
Ac/L1/Power:
description: "W"
format: "{} W"
Ac/L1/Voltage:
description: "V AC"
format: "{} V"
Ac/L2/Current:
description: "A AC"
format: "{} A"
Ac/L2/Energy/Forward:
description: "kWh"
format: "{} kWh"
Ac/L2/Energy/Reverse:
description: "kWh"
format: "{} kWh"
Ac/L2/Power:
description: "W"
format: "{} W"
Ac/L2/Voltage:
description: "V AC"
format: "{} V"
Ac/L3/Current:
description: "A AC"
format: "{} A"
Ac/L3/Energy/Forward:
description: "kWh"
format: "{} kWh"
Ac/L3/Energy/Reverse:
description: "kWh"
format: "{} kWh"
Ac/L3/Power:
description: "W"
format: "{} W"
Ac/L3/Voltage:
description: "V AC"
format: "{} V"
# https://github.com/victronenergy/venus/wiki/dbus#gps
gps:
ProductId:
default: 65535 # 0xFFFF
CustomName:
default: "My GPS Sensor"
persist: true
Position/Longitude:
description: "Decimal degrees"
Position/Latitude:
description: "Decimal degrees"
Course:
description: "Degrees"
Speed:
description: "m/s"
Fix:
description: "0 = no fix, 1 = GPS Fix"
Altitude:
description: "m"
NrOfSatellites:
description: "Count"
# https://github.com/victronenergy/venus/wiki/dbus#evcharger
evcharger:
ProductId:
default: 65535 # 0xFFFF
CustomName:
default: "My EV Charger"
persist: true
Ac/Energy/Forward:
description: "Ac Engergy Forward wh"
format: "{:.2f}W"
Ac/L1/Power:
description: "L1 Power used (W)"
format: "{} W"
Ac/L2/Power:
description: "L3 Power used (W)"
format: "{} W"
Ac/L3/Power:
description: "L3 Power used (W)"
format: "{} W"
Ac/Power:
description: "AC Power (W)"
format: "{} W"
AutoStart:
description: "0=Charger autostart disabled, 1=Charger autostart enabled"
default: 0
persist: true
ChargingTime:
description: "Total charging time (seconds)"
default: 0
format: "{} s"
Current:
description: "Charging current actual (A)"
default: 0
EnableDisplay:
description: "Control via display; 0=control disabled, 1=control enabled"
default: 1
persist: true
MaxCurrent:
description: "Max current (A)"
default: 0
persist: true
Mode:
description: "0=Manual, 1=Auto"
default: 0
min: 0
max: 2
persist: true
Model:
description: "Model, e.g. AC22E or AC22NS (for No Screen)"
default: "AC22NS"
Position: # 0=AC input 1;1=AC output;2=AC input 2
persist: true
default: 0
min: 0
max: 2
Role:
description: "Role"
SetCurrent: # Set charge current (manual mode)
description: "Charging current (A)"
persist: true
default: 0
StartStop: # Start/stop charging (manual mode)
description: "Start Stop"
default: 0
persist: true
Status:
description: "0=disconnected, 1=connected, 2=charging, 3=charged,4=waiting for sun, 5=waiting for RFID, 6=waiting for start, 7=low SOC, 8=ground test error, 9=welded contacts error, 10=CP input test error (shorted), 11=residual current detected, 12=undervoltage detected, 13=overvoltage detected, 14=overheating detected, 15-19=reserved, 20=charging limit"
default: 1
min: 0
max: 20