forked from lagerbeer/kegcop_home_assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.yaml
840 lines (825 loc) · 26.8 KB
/
dashboard.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
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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
title: Home
views:
- theme: Backend-selected
title: Beer Board
path: beer-board
icon: mdi:keg
badges: []
cards:
- type: custom:bar-card
entities:
- entity: sensor.keg_1_percent
name: Keg 1
icon: mdi:keg
- entity: sensor.keg_2_percent
name: Keg 2
icon: mdi:keg
- entity: sensor.keg_3_percent
name: Keg 3
icon: mdi:keg
height: 30px
- entity: sensor.keg_4_percent
name: Keg 4
icon: mdi:keg
- entity: sensor.keg_5_percent
name: Keg 5
icon: mdi:keg
- entity: sensor.keg_6_percent
name: Keg 6
icon: mdi:keg
height: 30px
direction: up
width: 50px
height: 200px
animation:
state: 'on'
positions:
icon: 'on'
indicator: inside
name: inside
title: Kegs 1 2 3 4 5 6
severity:
- color: Red
to: '49'
from: '0'
- color: Orange
from: '50'
to: '80'
- color: Green
from: '81'
to: '100'
icon: mdi-beer
unit_of_measurement: Percent
columns: '6'
entity_row: true
style: |-
.card-header {
font-size: 18px;
}
bar-card-value, bar-card-name {
font-size: 12px;
transform-origin: 0 0;
transform: rotate(270deg);
text-shadow: 1px 1px #0008;
white-space: nowrap;
}
bar-card-value {
margin-right: auto;
margin-left: 6px;
margin-bottom: auto;
margin-top: auto;
}
bar-card-name {
margin-right: auto;
margin-left: 0px;
margin-bottom: -130px;
margin-top: 130px;
right: 20px;
}
bar-card-currentbar, bar-card-backgroundbar {
border-radius: 12px;
border: 1px solid #DDD9;
}
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- sensor.beer_flow_meters_lower_chamber_temp
name: Lower tmp
show:
labels: true
color_thresholds:
- value: 32
color: '#f39c12'
- value: 45
color: '#d35400'
- value: 70
color: '#c0392b'
- type: custom:mini-graph-card
entities:
- sensor.beer_flow_meters_upper_chamber_temp
name: Upper tmp
show:
labels: true
color_thresholds:
- value: 34
color: green
- value: 45
color: blue
- value: 70
color: red
- type: custom:mini-graph-card
entities:
- sensor.beer_flow_meters_keg_temp
name: Keg tmp
show:
labels: true
color_thresholds:
- value: 34
color: green
- value: 45
color: blue
- value: 70
color: red
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
entities:
- sensor.garage_freezer
name: Kezer T
show:
labels: true
color_thresholds:
- value: 34
color: green
- value: 45
color: blue
- value: 70
color: red
- type: custom:mini-graph-card
entities:
- sensor.garage_fridge
name: Fermentor
show:
labels: true
color_thresholds:
- value: 34
color: green
- value: 45
color: blue
- value: 70
color: red
- type: custom:mini-graph-card
entities:
- sensor.garage_frz_d967_temperature
name: Garage
show:
labels: true
color_thresholds:
- value: 34
color: green
- value: 45
color: blue
- value: 70
color: red
- theme: Backend-selected
title: Keg Configuration
path: test-board
icon: mdi:glass-mug-variant
badges: []
cards:
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.keg_1_last_pour_date
name: last pour date
- entity: sensor.keg_1_last_pour
name: Last Pour Pulses
- entity: sensor.keg_1_totals
name: Current Keg Total Pulses
- entity: sensor.keg_1_last_pour_oz
name: Last Pour oz
- entity: input_number.box1
name: Pulse Per oz Calibration
theme: Fluent Green
title: Keg 1 Control Panel
show_header_toggle: true
state_color: true
- type: entities
entities:
- entity: sensor.keg_1_remaining
name: Remaining Gallons
- entity: sensor.keg_1_percent
name: Percent remaining in Keg
- entity: sensor.keg_1_gallons
name: Gallons used
theme: Fluent Orange
- type: entities
entities:
- entity: input_number.keg_1_size
- entity: input_datetime.keg_1_dt
name: New Keg Date
theme: Fluent Red
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.keg_2_last_pour_date
name: last pour date
- entity: sensor.keg_2_last_pour
name: Last Pour Pulses
- entity: sensor.keg_2_totals
name: Current Keg Total Pulses
- entity: sensor.keg_2_last_pour_oz
name: Last Pour oz
- entity: input_number.box2
name: Pulse Per oz Calibration
theme: Fluent Green
title: Keg 2 Control Panel
show_header_toggle: true
state_color: true
- type: entities
entities:
- entity: sensor.keg_2_remaining
name: Remaining Gallons
- entity: sensor.keg_2_percent
name: Percent remaining in Keg
- entity: sensor.keg_2_gallons
name: Gallons used
theme: Fluent Orange
- type: entities
entities:
- entity: input_number.keg_2_size
- entity: input_datetime.keg_2_dt
name: New Keg Date
theme: Fluent Red
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.keg_3_last_pour_date
name: last pour date
- entity: sensor.keg_3_last_pour
name: Last Pour Pulses
- entity: sensor.keg_3_totals
name: Current Keg Total Pulses
- entity: sensor.keg_3_last_pour_oz
name: Last Pour oz
- entity: input_number.box3
name: Pulse Per oz Calibration
theme: Fluent Green
title: Keg 3 Control Panel
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: sensor.keg_3_remaining
name: Remaining Gallons
- entity: sensor.keg_3_percent
name: Percent remaining in Keg
- entity: sensor.keg_3_gallons
name: Gallons used
theme: Fluent Orange
- type: entities
entities:
- entity: input_number.keg_3_size
- entity: input_datetime.keg_3_dt
name: New Keg Date
theme: Fluent Red
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.keg_4_last_pour_date
name: last pour date
- entity: sensor.keg_4_last_pour
name: Last Pour Pulses
- entity: sensor.keg_4_totals
name: Current Keg Total Pulses
- entity: sensor.keg_4_last_pour_oz
name: Last Pour oz
- entity: input_number.box4
name: Pulse Per oz Calibration
theme: Fluent Green
title: Keg 4 Control Panel
show_header_toggle: true
state_color: true
- type: entities
entities:
- entity: sensor.keg_4_remaining
name: Remaining Gallons
- entity: sensor.keg_4_percent
name: Percent remaining in Keg
- entity: sensor.keg_4_gallons
name: Gallons used
theme: Fluent Orange
- type: entities
entities:
- entity: input_number.keg_4_size
- entity: input_datetime.keg_4_dt
name: New Keg Date
theme: Fluent Red
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.keg_5_last_pour_date
name: last pour date
- entity: sensor.keg_5_last_pour
name: Last Pour Pulses
- entity: sensor.keg_5_totals
name: Current Keg Total Pulses
- entity: sensor.keg_5_last_pour_oz
name: Last Pour oz
- entity: input_number.box5
name: Pulse Per oz Calibration
theme: Fluent Green
title: Keg 5 Control Panel
show_header_toggle: true
state_color: true
- type: entities
entities:
- entity: sensor.keg_5_remaining
name: Remaining Gallons
- entity: sensor.keg_5_percent
name: Percent remaining in Keg
- entity: sensor.keg_5_gallons
name: Gallons used
theme: Fluent Orange
- type: entities
entities:
- entity: input_number.keg_5_size
- entity: input_datetime.keg_5_dt
name: New Keg Date
theme: Fluent Red
- type: vertical-stack
cards:
- type: entities
entities:
- entity: sensor.keg_6_last_pour_date
name: last pour date
- entity: sensor.keg_6_last_pour
name: Last Pour Pulses
- entity: sensor.keg_6_totals
name: Current Keg Total Pulses
- entity: sensor.keg_6_last_pour_oz
name: Last Pour oz
- entity: input_number.box6
name: Pulse Per oz Calibration
theme: Fluent Green
title: Keg 6 Control Panel
show_header_toggle: true
state_color: true
- type: entities
entities:
- entity: sensor.keg_6_remaining
name: Remaining Gallons
- entity: sensor.keg_6_percent
name: Percent remaining in Keg
- entity: sensor.keg_6_gallons
name: Gallons used
theme: Fluent Orange
- type: entities
entities:
- entity: input_number.keg_6_size
- entity: input_datetime.keg_6_dt
name: New Keg Date
theme: Fluent Red
- title: test
path: test
badges: []
cards:
- type: custom:bar-card
positions:
indicator: 'off'
value: inside
title: 'off'
name: outside
icon: inside
animation:
state: 'on'
direction: up
height: 200px
width: 62px
columns: 6
stack: horizontal
min: 0
max: 100
entities:
- entity: sensor.keg_1_percent
name: Keg 1
icon: mdi:keg
height: 30px
- entity: sensor.keg_2_percent
name: Keg 1
icon: mdi:keg
height: 30px
- entity: sensor.keg_3_percent
name: Keg 1
icon: mdi:keg
height: 30px
- entity: sensor.keg_4_percent
name: Keg 1
icon: mdi:keg
height: 30px
- entity: sensor.keg_5_percent
name: Keg 1
icon: mdi:keg
height: 30px
- entity: sensor.keg_6_percent
name: Keg 1
icon: mdi:keg
severity:
- color: rgb(231,211,78)
from: '0'
to: '5'
- color: rgb(242,214,69)
from: '5'
to: '10'
- color: rgb(253,217,60)
from: '10'
to: '15'
- color: rgb(247,206,58)
from: '15'
to: '20'
- color: rgb(240,194,55)
from: '20'
to: '25'
- color: rgb(234,183,53)
from: '25'
to: '30'
- color: rgb(227,171,50)
from: '30'
to: '35'
- color: rgb(221,160,48)
from: '35'
to: '40'
- color: rgb(214,148,45)
from: '40'
to: '45'
- color: rgb(208,137,43)
from: '45'
to: '50'
- color: rgb(201,125,40)
from: '50'
to: '55'
- color: rgb(195,114,38)
from: '55'
to: '60'
- color: rgb(188,102,35)
from: '60'
to: '65'
- color: rgb(182,91,33)
from: '65'
to: '70'
- color: rgb(175,79,30)
from: '70'
to: '75'
- color: rgb(169,68,28)
from: '75'
to: '80'
- color: rgb(162,56,25)
from: '80'
to: '85'
- color: rgb(155,45,23)
from: '85'
to: '90'
- color: rgb(148,33,20)
from: '90'
to: '95'
- color: rgb(141,22,18)
from: '95'
to: '97'
- color: rgb(134,11,15)
from: '97'
to: '98'
- color: rgb(127,0,12)
from: '98'
to: '100'
style: |
ha-card {
margin-top: 10px;
margin-bottom: -10px;
padding-top: 10px;
border-top: 5px solid #222222;
}
bar-card-card {
margin-right: 0px;
font-size: 13px;
}
bar-card-value {
color: #222222;
color: #9da5b4;
}
bar-card-iconbar {
width: 20px;
color: #333;
margin-top: 65px;
}
bar-card-name {
margin: 4px 0;
color: #9da5b4;
color: #dadadb;
}
.value-direction-up {
#color: #dadadb;
margin-top: -125px;
}
bar-card-backgroundbar {
filter: brightness(.45);
}
bar-card-backgroundbar {
background: linear-gradient(to bottom, green 5%, yellow 15%, orange 35%, red 85%);
}
bar-card-currentbar {
background: linear-gradient(to bottom, green 5%, yellow 15%, orange 35%, red 85%);
clip-path: polygon(0 0, var(--bar-percent) 0, var(--bar-percent) 100%, 0 100%);
}
- title: Kegerator Volumes
type: custom:bar-card
columns: 2
entity_row: true
entities:
- entity: sensor.keg_1_percent
name: Keg 1
icon: mdi:keg
height: 30px
- entity: sensor.keg_2_percent
name: Keg 2
icon: mdi:keg
height: 30px
- entity: sensor.keg_3_percent
name: Keg 3
icon: mdi:keg
height: 30px
- entity: sensor.keg_4_percent
name: Keg 4
icon: mdi:keg
height: 30px
- entity: sensor.keg_5_percent
name: Keg 5
icon: mdi:keg
height: 30px
- entity: sensor.keg_6_percent
name: Keg 6
icon: mdi:keg
height: 30px
severity:
- to: '60'
color: rgb(26,204,147,0.33)
from: '0'
- from: '61'
to: '80'
color: rgb(255,140,0,0.60)
- from: '81'
to: '100'
color: rgb(26,204,147,0.33)
positions:
indicator: 'off'
style: |-
bar-card-title {
text-shadow: 1px 1px 5px black;
}
- type: vertical-stack
title: kreezer Temps
cards:
- type: markdown
content: >
**Uptime:** {{ states("sensor.glances_server_uptime") }}
<b>Important Processes:</b>
* **Name:** {{
states.sensor.glances_server_cpu_process_glances.attributes.name
}} **Stratus**: {% if
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'R' %} <font color="green">Running</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'S' %} <font color="orange">Interruptible sleep</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'D' %} <font color="red">Uninterruptible sleep</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'Z' %} <font color="red">Defunct process</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'T' %} <font color="red">Traced by job control signal</font>{%
elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 't' %} <font color="red">Stopped by debugger</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'X' %} <font color="red">Dead</font>{% else %} <font
color="red">Not Running</font> {% endif %}
<b>PID: </b>{{
states.sensor.glances_server_cpu_process_glances.attributes.pid }}
<b>User:</b> {{
states.sensor.glances_server_cpu_process_glances.attributes.username
}}
- type: horizontal-stack
cards:
- type: gauge
entity: sensor.beer_flow_meters_lower_chamber_temp
min: 0
max: 90
name: 'lwr chamber '
severity:
green: 39
yellow: 50
red: 60
unit: F
needle: true
- type: gauge
entity: sensor.beer_flow_meters_keg_temp
min: 0
max: 90
name: keg temp
severity:
green: 35
yellow: 45
red: 55
unit: F
needle: true
- type: gauge
entity: sensor.beer_flow_meters_upper_chamber_temp
min: 0
max: 90
name: 'upr chamber '
severity:
green: 35
yellow: 45
red: 55
unit: F
needle: true
- type: custom:bar-card
entities:
- entity: sensor.keg_1_percent
name: Keg 1
icon: mdi:keg
- entity: sensor.keg_2_percent
name: Keg 2
icon: mdi:keg
- entity: sensor.keg_3_percent
name: Keg 3
icon: mdi:keg
height: 30px
direction: up
width: 90px
height: 200px
animation:
state: 'on'
positions:
icon: 'on'
indicator: inside
name: inside
title: Kegs 1 2 3
severity:
- color: Red
to: '49'
from: '0'
- color: Orange
from: '50'
to: '80'
- color: Green
from: '81'
to: '100'
icon: mdi-beer
unit_of_measurement: Percent
columns: '3'
entity_row: true
style: |-
.card-header {
font-size: 18px;
}
bar-card-value, bar-card-name {
font-size: 12px;
transform-origin: 0 0;
transform: rotate(270deg);
text-shadow: 1px 1px #0008;
white-space: nowrap;
}
bar-card-value {
margin-right: auto;
margin-left: 10px;
margin-bottom: auto;
margin-top: auto;
}
bar-card-name {
margin-right: auto;
margin-left: 0px;
margin-bottom: -130px;
margin-top: 130px;
right: 20px;
}
bar-card-currentbar, bar-card-backgroundbar {
border-radius: 12px;
border: 1px solid #DDD9;
}
- type: vertical-stack
title: Beer Taps 4 - 5 - 6
cards:
- type: markdown
content: >
**Uptime:** {{ states("sensor.glances_server_uptime") }}
<b>Important Processes:</b>
* **Name:** {{
states.sensor.glances_server_cpu_process_glances.attributes.name
}} **Stratus**: {% if
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'R' %} <font color="green">Running</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'S' %} <font color="orange">Interruptible sleep</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'D' %} <font color="red">Uninterruptible sleep</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'Z' %} <font color="red">Defunct process</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'T' %} <font color="red">Traced by job control signal</font>{%
elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 't' %} <font color="red">Stopped by debugger</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'X' %} <font color="red">Dead</font>{% else %} <font
color="red">Not Running</font> {% endif %}
<b>PID: </b>{{
states.sensor.glances_server_cpu_process_glances.attributes.pid }}
<b>User:</b> {{
states.sensor.glances_server_cpu_process_glances.attributes.username
}}
- type: horizontal-stack
cards:
- type: gauge
min: 0
max: 100
entity: sensor.keg_4_percent
name: Keg 4
severity:
green: 50
yellow: 30
red: 0
unit: '%'
needle: true
- type: gauge
entity: sensor.keg_5_percent
min: 0
max: 100
name: Keg 5
severity:
green: 50
yellow: 30
red: 0
unit: '%'
needle: true
- type: gauge
min: 0
max: 100
severity:
green: 50
yellow: 30
red: 0
entity: sensor.keg_6_percent
name: 'Keg 6 '
unit: '%'
needle: true
- type: vertical-stack
title: Beer Taps 1 - 2 - 3
cards:
- type: markdown
content: >
**Uptime:** {{ states("sensor.glances_server_uptime") }}
<b>Important Processes:</b>
* **Name:** {{
states.sensor.glances_server_cpu_process_glances.attributes.name
}} **Stratus**: {% if
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'R' %} <font color="green">Running</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'S' %} <font color="orange">Interruptible sleep</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'D' %} <font color="red">Uninterruptible sleep</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'Z' %} <font color="red">Defunct process</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'T' %} <font color="red">Traced by job control signal</font>{%
elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 't' %} <font color="red">Stopped by debugger</font>{% elif
states.sensor.glances_server_cpu_process_glances.attributes['status']
== 'X' %} <font color="red">Dead</font>{% else %} <font
color="red">Not Running</font> {% endif %}
<b>PID: </b>{{
states.sensor.glances_server_cpu_process_glances.attributes.pid }}
<b>User:</b> {{
states.sensor.glances_server_cpu_process_glances.attributes.username
}}
- type: horizontal-stack
cards:
- type: gauge
min: 0
max: 100
entity: sensor.keg_1_percent
name: Keg 1
unit: '%'
needle: true
severity:
green: 50
yellow: 30
red: 0
- type: gauge
entity: sensor.keg_2_percent
min: 0
max: 100
name: Keg 2
severity:
green: 50
yellow: 30
red: 0
unit: '%'
needle: true
- type: gauge
min: 0
max: 100
severity:
green: 50
yellow: 30
red: 0
entity: sensor.keg_3_percent
name: Keg 3
unit: '%'
needle: true