fix: update living room dashboard (#74)

This commit is contained in:
Rasmus Wejlgaard 2026-04-26 14:09:09 +01:00 committed by GitHub
parent af2f462c1c
commit 10bb940f87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"datasource": {
@ -98,16 +98,28 @@
},
"fieldConfig": {
"defaults": {
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
"color": {
"mode": "thresholds"
},
"scaleDistribution": {
"type": "linear"
}
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "yellow",
"value": 1000
},
{
"color": "red",
"value": 2000
}
]
},
"unit": "watt"
},
"overrides": []
},
@ -117,72 +129,36 @@
"x": 5,
"y": 0
},
"id": 8,
"id": 14,
"options": {
"calculate": false,
"calculation": {
"yBuckets": {
"mode": "size",
"scale": {
"type": "linear"
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"value": ""
}
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"cellGap": 0,
"color": {
"exponent": 0.5,
"fill": "dark-orange",
"max": 80,
"min": 35,
"mode": "scheme",
"reverse": false,
"scale": "exponential",
"scheme": "RdYlGn",
"steps": 3
},
"exemplars": {
"color": "rgba(255,0,255,0.7)"
},
"filterValues": {
"le": 1e-09
},
"legend": {
"show": false
},
"rowsFrame": {
"layout": "auto"
},
"tooltip": {
"mode": "single",
"showColorScale": false,
"yHistogram": false
},
"yAxis": {
"axisLabel": "Temp",
"axisPlacement": "left",
"decimals": 1,
"max": "100",
"min": 0,
"reverse": false,
"unit": "celsius"
}
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"editorMode": "code",
"exemplar": false,
"expr": "sum(smartctl_device_temperature) by (device)",
"instant": false,
"interval": "10m",
"legendFormat": "{{device}}",
"expr": "octopus_electricity_demand_watts",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Drive Temperature",
"type": "heatmap"
"title": "Watts",
"type": "stat"
},
{
"datasource": {
@ -228,13 +204,14 @@
"fields": "",
"values": false
},
"sort": "desc",
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"editorMode": "code",
@ -250,7 +227,6 @@
},
"editorMode": "code",
"expr": "node_filesystem_size_bytes{server=\"london-b\",mountpoint=\"/hdd\"} - node_filesystem_avail_bytes{server=\"london-b\",mountpoint=\"/hdd\"}",
"hide": false,
"legendFormat": "Used",
"range": true,
"refId": "B"
@ -310,7 +286,7 @@
"textMode": "name",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"editorMode": "code",
@ -329,7 +305,6 @@
"editorMode": "code",
"exemplar": false,
"expr": "node_zfs_zpool_state{server=\"london-b\",zpool=\"hdd\", state=\"degraded\"} > 0",
"hide": false,
"instant": true,
"legendFormat": "Degraded",
"range": false,
@ -343,7 +318,6 @@
"editorMode": "code",
"exemplar": false,
"expr": "node_zfs_zpool_state{server=\"london-b\",zpool=\"hdd\", state=\"faulted\"} > 0",
"hide": false,
"instant": true,
"legendFormat": "Faulted",
"range": false,
@ -357,7 +331,6 @@
"editorMode": "code",
"exemplar": false,
"expr": "node_zfs_zpool_state{server=\"london-b\",zpool=\"hdd\", state=\"offline\"} > 0",
"hide": false,
"instant": true,
"legendFormat": "Offline",
"range": false,
@ -371,7 +344,6 @@
"editorMode": "code",
"exemplar": false,
"expr": "node_zfs_zpool_state{server=\"london-b\",zpool=\"hdd\", state=\"removed\"} > 0",
"hide": false,
"instant": true,
"legendFormat": "Removed",
"range": false,
@ -385,7 +357,6 @@
"editorMode": "code",
"exemplar": false,
"expr": "node_zfs_zpool_state{server=\"london-b\",zpool=\"hdd\", state=\"suspended\"} > 0",
"hide": false,
"instant": true,
"legendFormat": "Suspended",
"range": false,
@ -399,7 +370,6 @@
"editorMode": "code",
"exemplar": false,
"expr": "node_zfs_zpool_state{server=\"london-b\",zpool=\"hdd\", state=\"unavail\"} > 0",
"hide": false,
"instant": true,
"legendFormat": "Unavailable",
"range": false,
@ -478,7 +448,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"datasource": {
@ -503,38 +473,19 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
"mode": "thresholds"
},
"custom": {
"axisPlacement": "auto",
"fillOpacity": 70,
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineWidth": 0,
"spanNulls": false
},
"decimals": 0,
"mappings": [],
"max": 1,
"min": 0,
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"unit": "currencyGBP"
},
"overrides": []
},
@ -544,36 +495,36 @@
"x": 5,
"y": 5
},
"id": 11,
"id": 15,
"options": {
"alignValue": "left",
"legend": {
"displayMode": "list",
"placement": "bottom",
"showLegend": true
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"mergeValues": false,
"rowHeight": 0.9,
"showValue": "auto",
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_smart_status",
"interval": "10m",
"legendFormat": "{{device}}",
"expr": "octopus_account_balance_pence / 100 * -1",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Drive Health",
"type": "state-timeline"
"title": "Octopus Account Bill",
"type": "stat"
},
{
"datasource": {
@ -624,7 +575,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"datasource": {
@ -690,7 +641,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"datasource": {
@ -723,6 +674,9 @@
"type": "auto"
},
"filterable": false,
"footer": {
"reducers": []
},
"inspect": false
},
"mappings": [
@ -821,17 +775,9 @@
"id": 12,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"disableTextWrap": false,
@ -970,7 +916,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.1.0",
"pluginVersion": "12.4.2",
"targets": [
{
"disableTextWrap": false,
@ -993,7 +939,7 @@
],
"preload": false,
"refresh": "30s",
"schemaVersion": 41,
"schemaVersion": 42,
"tags": [],
"templating": {
"list": []
@ -1007,5 +953,7 @@
},
"timezone": "browser",
"title": "Living Room Display",
"uid": "a68bd259-c836-4fad-b33e-98f1a52a5eb9"
"uid": "a68bd259-c836-4fad-b33e-98f1a52a5eb9",
"version": 19,
"weekStart": ""
}