forked from freakent/dbus-mqtt-devices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.yml
246 lines (239 loc) · 5.69 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
# https://github.com/victronenergy/venus/wiki/dbus#temperatures
temperature:
ProductId:
default: 65535 # 0xFFFF
CustomName:
default: "My Temperature Sensor"
persist: true
TemperatureType:
description: "Battery, Fridge or Generic"
persist: true
default: 2
min: 0
max: 2
Temperature:
description: "C"
Pressure:
description: "hPa"
Humidity:
description: "%"
# https://github.com/victronenergy/venus/wiki/dbus#tank-levels
tank:
ProductId:
default: 65535 # 0xFFFF
CustomName:
default: "My Tank Sensor"
persist: true
FluidType:
description: "0=Fuel; 1=Fresh water; 2=Waste water; 3=Live well; 4=Oil; 5=Black water (sewage)"
persist: true
default: 1
min: 0
max: 5
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 # 45069 = ET340, 45068 = ET112, 0xB00D, 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"