monitoring: make split climate and ups panels value-only

This commit is contained in:
Brad Stein 2026-04-13 04:27:13 -03:00
parent 4d10919ead
commit 2ae886ec74
3 changed files with 48 additions and 20 deletions

View File

@ -1747,10 +1747,11 @@ def build_overview():
{"h": 2, "w": 6, "x": 0, "y": 7},
unit="none",
decimals=1,
text_mode="name_and_value",
text_mode="value",
orientation="horizontal",
wide_layout=True,
graph_mode="none",
value_size=30,
targets=[
{"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_DB, "legendFormat": "Draw", "instant": True},
{"refId": "B", "expr": ANANKE_UPS_RUNTIME_DB, "legendFormat": "Runtime", "instant": True},
@ -1770,10 +1771,11 @@ def build_overview():
{"h": 3, "w": 6, "x": 0, "y": 9},
unit="none",
decimals=1,
text_mode="name_and_value",
text_mode="value",
orientation="horizontal",
wide_layout=True,
graph_mode="none",
value_size=30,
targets=[
{"refId": "A", "expr": ANANKE_UPS_DRAW_WATTS_TETHYS, "legendFormat": "Draw", "instant": True},
{"refId": "B", "expr": ANANKE_UPS_RUNTIME_TETHYS, "legendFormat": "Runtime", "instant": True},
@ -1809,10 +1811,11 @@ def build_overview():
None,
{"h": 3, "w": 6, "x": 0, "y": 12},
unit="none",
text_mode="name_and_value",
text_mode="value",
orientation="horizontal",
wide_layout=True,
graph_mode="none",
value_size=30,
targets=[
{"refId": "A", "expr": CLIMATE_TEMP_MAX, "legendFormat": "°C", "instant": True},
{"refId": "B", "expr": CLIMATE_TEMP_FAHRENHEIT_MAX, "legendFormat": "°F", "instant": True},
@ -1831,10 +1834,11 @@ def build_overview():
None,
{"h": 3, "w": 6, "x": 0, "y": 15},
unit="none",
text_mode="name_and_value",
text_mode="value",
orientation="horizontal",
wide_layout=True,
graph_mode="none",
value_size=30,
targets=[
{"refId": "A", "expr": CLIMATE_HUMIDITY_MAX, "legendFormat": "%RH", "instant": True},
{"refId": "B", "expr": CLIMATE_PRESSURE_CURRENT, "legendFormat": "kPa", "instant": True},

View File

@ -1161,9 +1161,12 @@
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{
@ -1264,9 +1267,12 @@
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{
@ -1420,9 +1426,12 @@
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{
@ -1522,9 +1531,12 @@
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{

View File

@ -1170,9 +1170,12 @@ data:
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{
@ -1273,9 +1276,12 @@ data:
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{
@ -1429,9 +1435,12 @@ data:
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{
@ -1531,9 +1540,12 @@ data:
"fields": "",
"values": false
},
"textMode": "name_and_value",
"textMode": "value",
"orientation": "horizontal",
"wideLayout": true
"wideLayout": true,
"text": {
"valueSize": 30
}
},
"links": [
{