-
Notifications
You must be signed in to change notification settings - Fork 0
/
Server Stats & Uptime Card
334 lines (334 loc) · 9.48 KB
/
Server Stats & Uptime Card
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
type: custom:stack-in-card
keep:
outer_padding: true
border-radius: true
box_shadow: false
background: false
margin: false
cards:
- type: custom:mushroom-title-card
title: ' 🖥 JayNAS'
icon: mdi:ab-testing
- type: custom:stack-in-card
mode: vertical
cards:
- type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-person-card
entity: binary_sensor.jaynas
name: Remote Status
use_entity_picture: true
layout: horizontal
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:mushroom-person-card
entity: sensor.jaynas_uptime
name: Uptime
use_entity_picture: true
layout: horizontal
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-entity-card
entity: binary_sensor.jaynas_update_available
use_entity_picture: true
name: Updates
layout: horizontal
icon_color: green
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:mushroom-entity-card
entity: binary_sensor.jaynas_reboot_pending
name: Reboot pending
use_entity_picture: true
layout: horizontal
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-entity-card
entity: switch.docker_transmission
icon_color: green
fill_container: false
tap_action:
action: toggle
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:mushroom-entity-card
entity: sensor.docker_containers_running
use_entity_picture: true
name: Containers Running
layout: horizontal
icon_color: grey
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-entity-card
entity: switch.docker_frigate
icon_color: green
fill_container: false
tap_action:
action: toggle
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:mushroom-entity-card
entity: script.reboot_ad410_doorbell
icon_color: green
name: Reboot Doorbell
fill_container: false
tap_action:
action: more-info
card_mod:
style: |
ha-card:active {
transform: scale(0.975);
transition: 0s;
}
- type: custom:stack-in-card
mode: vertical
cards:
- type: custom:bar-card
entities:
- entity: sensor.processor_temperature
severity:
- from: '0'
to: '59'
color: Green
- from: '60'
to: '110'
color: Red
- entity: sensor.processor_use_percent
- entity: sensor.memory_use_percent
title: null
direction: right
height: 23
positions:
icon: inside
indicator: 'off'
name: inside
minmax: 'off'
value: inside
severity:
- from: '80'
to: '100'
color: Red
- from: '70'
to: '79'
color: Orange
- from: '0'
to: '69'
color: Green
- type: custom:bar-card
entities:
- entity: sensor.jaynas_sda
- entity: sensor.jaynas_sdd
- entity: sensor.jaynas_sdc
- entity: sensor.jaynas_sdb
- entity: sensor.jaynas_sde
- entity: sensor.jaynas_sdf
direction: right
height: 23
positions:
icon: inside
indicator: 'off'
name: inside
minmax: 'off'
value: inside
severity:
- from: '0'
to: '39'
color: Green
- from: '40'
to: '42'
color: Orange
- from: '43'
to: '110'
color: Red
max: '55'
title: 'HDD Temps:'
columns: '2'
entity_row: false
- type: custom:stack-in-card
mode: vertical
cards:
- type: custom:bar-card
entities:
- entity: sensor.disk_use
max: '206.91'
severity:
- from: '0'
to: '150'
color: Green
- from: '151'
to: '190'
color: Orange
- from: '191'
to: '210'
color: Red
- entity: sensor.disk_use_files
max: '34.239'
severity:
- from: '0'
to: '28'
color: Green
- from: '28'
to: '31'
color: Orange
- from: '32'
to: '50'
color: Red
direction: right
height: 23
positions:
icon: inside
indicator: 'off'
name: inside
minmax: 'off'
value: inside
severity:
- from: '0'
to: '75'
color: Green
- from: '76'
to: '90'
color: Orange
- from: '91'
to: '100'
color: Red
max: '100'
title: 'Filesystems:'
columns: '1'
entity_row: false
- type: custom:bar-card
entities:
- entity: sensor.jaynas_srv_dev_disk_by_label_hdd01
- entity: sensor.jaynas_srv_dev_disk_by_label_hdd02
- entity: sensor.jaynas_srv_dev_disk_by_label_hdd03
- entity: sensor.jaynas_srv_dev_disk_by_label_hdd04
- entity: sensor.jaynas_srv_dev_disk_by_label_hdd05
- entity: sensor.jaynas_srv_dev_disk_by_label_timemachinery
direction: right
height: 23
positions:
icon: inside
indicator: 'off'
name: inside
minmax: 'off'
value: inside
severity:
- from: '0'
to: '75'
color: Green
- from: '76'
to: '90'
color: Orange
- from: '91'
to: '100'
color: Red
max: '100'
title: ''
columns: '1'
entity_row: false
- type: custom:bar-card
title: ''
height: 23
columns: '2'
entities:
- entity: sensor.home_assistant_v2_db_size
severity:
- from: '0'
to: '800'
color: green
icon: mdi:check
- from: '801'
to: '1000'
color: orange
icon: mdi:alert
- from: '1001'
to: '10000000'
icon: mdi:alert-decagram
color: red
max: '1000'
decimal: '0'
name: HA DB
positions:
icon: inside
emanicon: inside
- entity: sensor.frigate_storage_space
icon: mdi:cctv
color: green
name: Frigate
severity:
- from: '0'
to: '35'
color: green
icon: mdi:check
- from: '36'
to: '40'
color: orange
icon: mdi:alert
- from: '41'
to: '1000000'
icon: mdi:alert-decagram
color: red
max: '50'
positions:
icon: inside
- type: custom:stack-in-card
mode: vertical
cards:
- type: statistic
entity: sensor.jaynas_server_today_energy
period:
calendar:
period: day
stat_type: change
name: JayNAS Server TODAY
- type: custom:stack-in-card
mode: vertical
cards:
- type: vertical-stack
cards:
- cardOptions: null
entities:
- sensor.speedtest_download
- sensor.speedtest_upload
name: NETWORK SPEED
height: 80
align_state: null
type: custom:mini-graph-card
hours_to_show: 168