-
Notifications
You must be signed in to change notification settings - Fork 47
/
battery control dashboard raw config.txt
312 lines (312 loc) · 10.4 KB
/
battery control dashboard raw config.txt
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
title: Home
views:
- title: Energy Now
path: energy-now
badges: []
cards:
- type: custom:apexcharts-card
header:
title: Load Usage
show_states: true
colorize_states: true
apex_config:
plotOptions:
pie:
donut:
labels:
total:
show: true
chart_type: donut
series:
- entity: sensor.other_power
- entity: sensor.tumble_dryer_electric_consumption_w
- entity: sensor.av_rack_electric_consumption_w
- entity: sensor.boiling_tap_electric_consumption_w
- entity: sensor.car_charge_power
- entity: sensor.server_rack_electric_consumption_w_2
- entity: sensor.lights_power
- entity: sensor.eden_fan_energy_power_2
- entity: sensor.hot_tub_power
- entity: sensor.tsmart_power_w
- type: custom:tesla-style-solar-power-card
name: My Flows
grid_consumption_entity: sensor.givtcp_XX1234X567_import_power
house_consumption_entity: sensor.givtcp_XX1234X567_load_power
generation_yield_entity: sensor.givtcp_XX1234X567_pv_power
battery_consumption_entity: sensor.givtcp_XX1234X567_discharge_power
grid_to_house_entity: sensor.givtcp_XX1234X567_grid_to_house
grid_to_battery_entity: sensor.givtcp_XX1234X567_grid_to_battery
generation_to_grid_entity: sensor.givtcp_XX1234X567_solar_to_grid
generation_to_battery_entity: sensor.givtcp_XX1234X567_solar_to_battery
generation_to_house_entity: sensor.givtcp_XX1234X567_solar_to_house
battery_to_house_entity: sensor.givtcp_XX1234X567_battery_to_house
battery_to_grid_entity: sensor.givtcp_XX1234X567_battery_to_grid
battery_extra_entity: sensor.givtcp_XX1234X567_soc
appliance1_consumption_entity: sensor.car_charge_power
appliance1_extra_entity: sensor.etron_state_of_charge
grid_entity: sensor.givtcp_XX1234X567_grid_power
house_entity: sensor.givtcp_XX1234X567_load_power
generation_entity: sensor.givtcp_XX1234X567_pv_power
battery_entity: sensor.givtcp_XX1234X567_battery_power
show_w_not_kw: 1
hide_inactive_lines: 1
change_house_bubble_color_with_flow: 1
- type: gauge
entity: sensor.electric_cost_today
min: 0
max: 20
needle: false
- type: gauge
entity: sensor.gas_cost_today
min: 0
max: 20
- type: entities
entities:
- entity: sensor.givtcp_XX1234X567_night_cost
- entity: sensor.givtcp_XX1234X567_night_energy_kwh
- entity: sensor.givtcp_XX1234X567_day_cost
- entity: sensor.givtcp_XX1234X567_day_energy_kwh
- entity: sensor.givtcp_XX1234X567_import_ppkwh_today
- type: custom:apexcharts-card
header:
title: Load Usage
show_states: true
colorize_states: true
apex_config:
plotOptions:
pie:
donut:
labels:
total:
show: true
chart_type: donut
series:
- entity: sensor.givtcp_XX1234X567_day_energy_kwh
- entity: sensor.givtcp_XX1234X567_night_energy_kwh
- entity: sensor.givtcp_XX1234X567_pv_energy_today_kwh
- type: history-graph
entities:
- entity: sensor.givtcp_XX1234X567_battery_value
- entity: sensor.givtcp_XX1234X567_battery_ppkwh
hours_to_show: 24
- panel: false
path: energy
title: Energy
badges: []
cards:
- type: history-graph
entities:
- entity: sensor.givtcp_XX1234X567_battery_power
- entity: sensor.givtcp_XX1234X567_load_power
- entity: sensor.givtcp_XX1234X567_grid_power
- entity: sensor.givtcp_XX1234X567_pv_power
hours_to_show: 24
refresh_interval: 0
title: Energy Usage
- type: history-graph
entities:
- entity: sensor.givtcp_XX1234X567_soc
- entity: number.givtcp_XX1234X567_target_soc
hours_to_show: 24
refresh_interval: 0
title: Battery State
- type: custom:apexcharts-card
header:
show: true
title: Import/Export
show_states: true
colorize_states: true
graph_span: 24h
span:
end: hour
experimental:
color_threshold: true
series:
- entity: sensor.givtcp_XX1234X567_grid_power
type: column
group_by:
func: avg
duration: 30min
color_threshold:
- value: -2
color: red
opacity: 1
- value: 2
color: green
- type: custom:apexcharts-card
header:
title: Load Usage
show_states: true
colorize_states: true
graph_span: 24h
span:
end: hour
apex_config:
chart:
stacked: 'true'
series:
- entity: sensor.givtcp_XX1234X567_grid_to_battery
type: column
color: blue
group_by:
func: avg
duration: 30min
- entity: sensor.lights_power
type: column
color: yellow
group_by:
func: avg
duration: 30min
- entity: sensor.server_rack_electric_consumption_w_2
type: column
group_by:
func: avg
duration: 30min
- entity: sensor.tumble_dryer_electric_consumption_w
type: column
group_by:
func: avg
duration: 30min
- entity: sensor.av_rack_electric_consumption_w
type: column
group_by:
func: avg
duration: 30min
- entity: sensor.boiling_tap_power_stable
type: column
group_by:
func: avg
duration: 30min
- entity: sensor.car_charge_power
type: column
group_by:
func: avg
duration: 30min
- entity: sensor.hot_tub_power
type: column
color: brown
group_by:
func: avg
duration: 30min
- entity: sensor.other_power
type: column
color: grey
group_by:
func: avg
duration: 30min
- entity: sensor.tsmart_power_w
type: column
color: orange
group_by:
func: avg
duration: 30min
- type: history-graph
entities:
- entity: sensor.energy_production_tomorrow
- entity: sensor.givtcp_XX1234X567_pv_energy_today_kwh
refresh_interval: 0
title: Forecast vs Actual PV
hours_to_show: 72
- type: history-graph
entities:
- entity: sensor.givtcp_XX1234X567_pv_power
- entity: sensor.givtcp_XX1234X567_pv_power_string_1
- entity: sensor.givtcp_XX1234X567_pv_power_string_2
hours_to_show: 12
- type: custom:apexcharts-card
header:
show: true
title: Daily cost
show_states: true
colorize_states: true
graph_span: 28d
span:
end: day
apex_config:
chart:
stacked: 'true'
series:
- entity: sensor.givtcp_XX1234X567_day_cost
type: column
color: red
group_by:
func: max
duration: 24h
- entity: sensor.givtcp_XX1234X567_night_cost
type: column
color: orange
group_by:
func: max
duration: 24h
- type: custom:apexcharts-card
header:
show: true
title: Daily Load
show_states: true
colorize_states: true
graph_span: 28d
span:
end: hour
apex_config:
chart:
stacked: 'true'
series:
- entity: sensor.givtcp_XX1234X567_day_energy_kwh
type: column
color: red
group_by:
func: last
duration: 24h
- entity: sensor.givtcp_XX1234X567_night_energy_kwh
type: column
color: orange
group_by:
func: last
duration: 24h
- entity: sensor.givtcp_XX1234X567_pv_energy_today_kwh
type: column
color: green
group_by:
func: last
duration: 24h
- type: history-graph
entities:
- entity: sensor.givtcp_XX1234X567_load_energy_today_kwh
- theme: Backend-selected
title: GivEnergy Control
path: givenergy-control
badges: []
cards:
- type: entities
entities:
- entity: select.givtcp_XX1234X567_mode
- entity: sensor.givtcp_XX1234X567_soc
- entity: number.givtcp_XX1234X567_target_soc
- entity: number.givtcp_XX1234X567_battery_charge_rate
- entity: switch.givtcp_XX1234X567_enable_charge_schedule
- entity: select.givtcp_XX1234X567_charge_start_time_slot_1
- entity: select.givtcp_XX1234X567_charge_end_time_slot_1
- entity: switch.givtcp_XX1234X567_enable_discharge
- entity: number.givtcp_XX1234X567_battery_discharge_rate
- entity: number.givtcp_XX1234X567_battery_power_reserve
- entity: switch.givtcp_XX1234X567_enable_discharge_schedule
- entity: select.givtcp_XX1234X567_discharge_start_time_slot_1
- entity: select.givtcp_XX1234X567_discharge_end_time_slot_1
- entity: select.givtcp_XX1234X567_discharge_start_time_slot_2
- entity: select.givtcp_XX1234X567_discharge_end_time_slot_2
title: Battery Control
show_header_toggle: false
state_color: true
header:
type: graph
entity: sensor.givtcp_XX1234X567_soc
hours_to_show: 24
- type: entities
entities:
- entity: select.givtcp_XX1234X567_temp_pause_charge
- entity: select.givtcp_XX1234X567_temp_pause_discharge
- entity: select.givtcp_XX1234X567_force_charge
- entity: select.givtcp_XX1234X567_force_export
title: Battery Boost Control
show_header_toggle: false
state_color: true