-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
255 lines (40 loc) · 13.2 KB
/
config.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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
allow_all_imports: true
hass_is_global: false
apps:
solis_flux_times:
energy_monitor: 'solis_daily_grid_energy_used' # entity id of daily household energy monitor (kWh) - in 'sensor' domain
history_days: 7 # duration of stored forecast and energy use history (default is 7)
#daily_consumption_kwh: 12 # fixed estimate of daily household energy use (kWh) (if uncommented, overrides use of 'energy_monitor')
forecast_remaining: 'solcast_pv_forecast_forecast_remaining_today' # entity id of Solcast remaining energy today (kWh) - in 'sensor' domain
forecast_tomorrow: 'solcast_pv_forecast_forecast_tomorrow' # entity id of Solcast tomorrow prediction (kWh) - in 'sensor' domain
#forecast_multiplier: 1.0 # fixed multiplication factor for solar forecast values (if uncommented, overrides use of 'forecast_tomorrow')
cron_before: 10 # minutes (default 20) before start of periods below to set charging/discharging times based on target levels
solis_control:
solis_key_secret: !secret solis_key_secret
solis_key_id: !secret solis_key_id
solis_user_name: !secret solis_user_name
solis_password: !secret solis_password
solis_station_id: !secret solis_station_id
battery_capacity: 7.1 # in kWh - nominal stored energy of battery at 100% SOC (eg 2 * Pylontech US3000C with Nominal Capacity of 3.55 kWh each)
battery_max_current: 74 # in amps (eg 2 * Pylontech US3000C with Recommend Charge Current of 37A each)
inverter_max_current: 62.5 # in amps - see inverter datasheet specs for 'Max. charge / discharge current' (eg 62.5A or 100A)
energy_amp_hour: 0.05 # default .05 - energy (in kWh) stored/released for each hour and amp of current
charge_period: # Octopus Flux Cheap period in morning when energy can be imported from the grid at low rates
start: "02:01" # HH:MM string
end: "04:59" # HH:MM string
current: 50 # charge current setting in amps
sync: 'random' # if 'start', charging is tied to start of period or if 'end' it is tied to the end (otherwise it starts randomly)
charge_period2: # 2nd period when energy can be imported from the grid = potential top up at medium rates to avoid importing during peak period
start: "14:15"
end: "15:45"
current: 50 # charge current setting in amps
sync: 'start' # if 'start', charging is tied to start of period or if 'end' it is tied to the end (otherwise it starts randomly)
discharge_period: # Octopus Flux Peak period in evening when energy can be exported to the grid at high rates
start: "16:01"
end: "18:59"
current: 50 # discharge current setting in amps
sync: 'random' # if 'start', discharging is tied to start of period or if 'end' it is tied to the end (otherwise it starts randomly)
kwh_requirement: 0 # zero means no discharging takes place, -1 means no action is taken (preserves existing settings)
#solis_s3_username: !secret solis_s3_username
#solis_s3_password: !secret solis_s3_password
#solis_s3_ip: !secret solis_s3_ip