-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathzeroinput.conf
More file actions
241 lines (241 loc) · 7.72 KB
/
Copy pathzeroinput.conf
File metadata and controls
241 lines (241 loc) · 7.72 KB
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
{
"_version": "2.2",
"_starter_help": "REFERENCE config showing every available device class and inverter type. Copy what you need into your real zeroinput.conf and delete the rest. Ports, serials and power values are EXAMPLES - replace them with your own.",
"vzlogger_log_file": "/tmp/vz/vzlogger.fifo",
"vzlogger_log_file_help": "data pipe from vzlogger, set as log in /etc/vzlogger.conf, 'verbosity': 15 required, use mkfifo to create it before vzlogger starts!",
"persistent_vz_file": "/var/log/vzlogger.log",
"persistent_vz_file_help": "the persisting log file",
"_chargers_doc": "MPPT chargers + temperature sensors (READ side). key = port path (or virtual port for the aggregator). mppt_type: eSmart3 | victron | victron_agg | temp_sensor | epever | renogy | morningstar. The Modbus types (epever/renogy/morningstar) take an optional 'unit' (Modbus slave address, default 1). A line shared with an inverter (e.g. eSmart reads while a Soyosource sends on the same wire) appears here as a charger AND separately under inverters with the same port.",
"_chargers_modbus_doc": "epever: Tracer-AN / Tracer-BN, 115200 8N1, Modbus RTU input registers from 0x3100. renogy: Rover / Rover Elite / Adventurer / Wanderer, 9600 8N1, holding registers from 0x0100. morningstar: TriStar MPPT 45/60, 9600 8N1, RAM registers with V_PU/I_PU fixed-point scaling. NOTE: Morningstar EIA-485 is only on the TS-MPPT-60/M; the TS-MPPT-45 is RS-232 only and cannot share an RS485 bus. LIMITATION: one Modbus charger per port entry (key = port path). Several Modbus chargers on one physical RS485 bus (multi-drop via distinct unit addresses) is electrically possible but not yet supported by the config structure - give each Modbus charger its own port.",
"chargers": {
"/dev/ttyUSB0": {
"name": "esmart 60",
"mppt_type": "eSmart3",
"pvp": 2350,
"temp_display": "out"
},
"/dev/ttyUSB1": {
"name": "esmart 40",
"mppt_type": "eSmart3",
"pvp": 1690,
"temp_display": "bat"
},
"/dev/ttyUSB2": {
"name": "VE 150/35",
"mppt_type": "victron",
"pvp": 1720
},
"/dev/ttyUSB3": {
"name": "Tracer AN",
"mppt_type": "epever",
"pvp": 1300,
"unit": 1
},
"/dev/ttyUSB4": {
"name": "Rover Elite",
"mppt_type": "renogy",
"pvp": 800,
"unit": 1
},
"/dev/ttyUSB5": {
"name": "TriStar 60",
"mppt_type": "morningstar",
"pvp": 3000,
"unit": 1
},
"/dev/ttyUSB6": {
"name": "Aggregator",
"mppt_type": "victron_agg",
"devices": {
"HQ2529K6QK4": {
"name": "K4",
"pvp": 780,
"type": "mppt"
},
"HQ2529AVWNQ": {
"name": "NQ",
"pvp": 780,
"type": "mppt"
},
"T1": {
"name": "Box",
"pvp": 0,
"type": "temp"
},
"T2": {
"name": "Inv2",
"pvp": 0,
"type": "temp"
}
}
}
},
"_inverters_doc": "Inverters / feed-in units (WRITE side). key = free id. type: soyosource | victron_mk3. port: serial path; one SENDER per port, multiple identical units share it via count (one shared packet). stage: LIST of stages the unit runs in - [1,2] both, [1] base only, [2] stage-2 only; a bare number n means [n]; stage 2 does NOT auto-include 1; an empty list [] disables the unit. max_power/min_power: PER SINGLE UNIT in W. count: identical units on the port. NOTE on GTN-2000: use its BATTERY-mode rating (1600 W), not the higher solar-mode figure, as max_power. Only soyosource and victron_mk3 are supported - PV string / micro / off-grid inverters (Growatt, Hoymiles, APsystems, Deye) cannot do an active watt setpoint at 1 s rate and are intentionally unsupported.",
"inverters": {
"base": {
"name": "soyo base",
"type": "soyosource",
"port": "/dev/ttyUSB7",
"stage": [
1,
2
],
"count": 1,
"max_power": 900,
"min_power": 10
},
"soyo_grp": {
"name": "soyo x2",
"type": "soyosource",
"port": "/dev/ttyUSB8",
"stage": [
2
],
"count": 2,
"max_power": 900,
"min_power": 10
},
"soyo_2k": {
"name": "GTN-2000",
"type": "soyosource",
"port": "/dev/ttyUSB9",
"stage": [
2
],
"count": 1,
"max_power": 1600,
"min_power": 10
},
"mp2": {
"name": "MultiPlus II",
"type": "victron_mk3",
"port": "/dev/ttyUSB10",
"stage": [
2
],
"count": 1,
"max_power": 2400,
"min_power": 200,
"mk3_ess_sign": 1
}
},
"webconfig_port": 8081,
"webconfig_port_help": "[port] webconfig HTTP server, 0 = disabled",
"max_input_power": 4200,
"max_input_power_help": "[W] maximum power of all inverters combined, used as battery discharge and timer ceiling",
"max_bat_discharge": 2700,
"max_bat_discharge_help": "[W] maximum power taken from the battery",
"single_inverter_threshold": 666,
"single_inverter_threshold_help": "[W] stage advances from 1 to 2 above this value (history-smoothed)",
"multi_inverter_wait": 180,
"multi_inverter_wait_help": "[s] wait before switching back to a lower stage",
"discharge_timer": false,
"discharge_timer_help": "true / false, use the timer file",
"discharge_t_file": "timer.txt",
"discharge_t_file_help": "location of the timer file, relative or /absolute path",
"PV_to_AC_efficiency": 89,
"PV_to_AC_efficiency_help": "[%] efficiency of transforming DC from PV to AC",
"bat_voltage_const": 0.35,
"bat_voltage_const_help": "[V/kW] voltage correction by battery load/charge power, 0 = disable",
"cell_count": 16,
"cell_count_help": "number of LiFePO4 cells in series (16 = 51.2V nominal, 15 = 48V, 8 = 24V/28V). All battery voltage thresholds scale with this; 16 reproduces the original behaviour exactly.",
"heat_temp_low": 60,
"heat_temp_low_help": "[°C] heat protection: below this sensor temperature the full max_input_power is allowed",
"heat_temp_high": 80,
"heat_temp_high_help": "[°C] heat protection: at/above this sensor temperature power_demand is capped to zero (inverter off), linear in between. Select the trigger sensor (heat_protect) on one charger in the chargers tab. No sensor selected = disabled.",
"free_power_export": true,
"free_power_export_help": "true / false, export energy when battery voltage exceeds 54.5V",
"zero_shifting": -1,
"zero_shifting_help": "shift the power meters zero level, +x = export, -x = import, 0 = automatic",
"load_prediction": true,
"load_prediction_help": "true / false, use load prediction for cyclic loads",
"predictor_log": true,
"predictor_log_help": "true / false, write predictor log to /tmp/predictor.log",
"min_spread_w": 90,
"min_spread_w_help": "W: minimum spread between LOW and HIGH centroid for prediction to activate",
"_alarms_doc": "optional. per-device temperature alarms keyed by device name (eSmart3: int_hi/int_lo/ext_hi/ext_lo; temp_sensor: ext_hi/ext_lo). each alarm: <name>_cmd shell command, <name>_interval repeat seconds (default 300).",
"alarms": {
"esmart 60": {
"int_hi": 60,
"int_hi_cmd": "echo hot",
"int_hi_interval": 300,
"ext_hi": 55,
"ext_hi_cmd": "echo out hot"
},
"Box": {
"ext_hi": 45,
"ext_hi_cmd": "echo box hot",
"ext_lo": 2,
"ext_lo_cmd": "echo box cold"
}
},
"vz_channels": [
[
null,
"power_demand",
"soyosend",
-1
],
[
null,
"zero_shift",
"zero_shift_w",
-1
],
[
null,
"bat_voltage",
"bat_v",
1
],
[
"combined",
"PPV",
"pv_w",
-1
],
[
"esmart 60",
"PPV",
"pv_w0",
-1
],
[
"esmart 60",
"int_temp",
"int_temp1",
1
],
[
"esmart 60",
"ext_temp",
"out_temp",
1
],
[
"esmart 40",
"PPV",
"pv_w1",
-1
],
[
"esmart 40",
"int_temp",
"int_temp0",
1
],
[
"esmart 40",
"ext_temp",
"bat_temp",
1
],
[
"VE 150/35",
"PPV",
"pv_w2",
-1
]
],
"vz_channels_help": "volkszaehler channel mapping: [device, key, vz_channel, factor]. device null = direct variable (power_demand, zero_shift, bat_voltage)"
}